Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001484/0.001484, allocations: 114 kB / 17.13 MB, free: 5.926 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001563/0.001563, allocations: 206.5 kB / 20.09 MB, free: 2.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.453/1.453, allocations: 230.6 MB / 253.5 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.1424/0.1424, allocations: 23.85 MB / 333.4 MB, free: 1.195 MB / 254.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Chemical.Obsolete.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC") translateModel(Chemical.Obsolete.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC") [Timeout 660] "Notification: Chemical requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002001/0.002001, allocations: 72.14 kB / 467.2 MB, free: 30.54 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1167, allocations: 59.81 MB / 0.5146 GB, free: 12.45 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Obsolete.mo:14337:7-14337:66:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Obsolete.mo:14337:7-14337:66:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"system\" component but an inner \"system\" component is not defined. For simulation drag Modelica.Fluid.System into your model to specify system properties. Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC): time 0.04554/0.1623, allocations: 30.27 MB / 0.5442 GB, free: 14.21 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.04614/0.2084, allocations: 26.22 MB / 0.5698 GB, free: 3.887 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003139/0.2115, allocations: 35.69 kB / 0.5698 GB, free: 3.852 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002781/0.2143, allocations: 0.6049 MB / 0.5704 GB, free: 3.242 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009499/0.2238, allocations: 2.157 MB / 0.5725 GB, free: 1.07 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01095/0.2348, allocations: 3.542 MB / 0.576 GB, free: 13.51 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.009886/0.2446, allocations: 7.406 MB / 0.5832 GB, free: 6.07 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007411/0.2521, allocations: 5.124 MB / 0.5882 GB, free: 0.8711 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2765/0.5286, allocations: 4.952 MB / 0.5931 GB, free: 24.33 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01002/0.5386, allocations: 4.762 MB / 0.5977 GB, free: 23.98 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00379/0.5424, allocations: 0.68 MB / 0.5984 GB, free: 23.98 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01382/0.5562, allocations: 3.364 MB / 0.6017 GB, free: 23.98 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004935/0.5611, allocations: 1.808 MB / 0.6034 GB, free: 23.79 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009132/0.5703, allocations: 3.346 MB / 0.6067 GB, free: 23.04 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02096/0.5912, allocations: 11.63 MB / 0.6181 GB, free: 19.95 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.5912, allocations: 6.688 kB / 0.6181 GB, free: 19.95 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.5912, allocations: 0 / 0.6181 GB, free: 19.95 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003491/0.5916, allocations: 0 / 0.6181 GB, free: 19.95 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1226 * Number of variables: 1226 Notification: Performance of Generate backend data structure: time 0.0231/0.6147, allocations: 7.31 MB / 0.6252 GB, free: 16.27 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/0.6147, allocations: 14.7 kB / 0.6252 GB, free: 16.26 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007469/0.6222, allocations: 1.242 MB / 0.6264 GB, free: 15.7 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00748/0.6297, allocations: 3.276 MB / 0.6296 GB, free: 13.93 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005456/0.6302, allocations: 0.6794 MB / 0.6303 GB, free: 13.4 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002972/0.6332, allocations: 0.4931 MB / 0.6308 GB, free: 13.23 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02089/0.6541, allocations: 9.456 MB / 0.64 GB, free: 3.875 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001594/0.6543, allocations: 0 / 0.64 GB, free: 3.875 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002237/0.6565, allocations: 196 kB / 0.6402 GB, free: 3.684 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.153e-05/0.6566, allocations: 116 kB / 0.6403 GB, free: 3.57 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02663/0.6832, allocations: 12.74 MB / 0.6528 GB, free: 6.836 MB / 462.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07254/0.7558, allocations: 30.62 MB / 0.6827 GB, free: 8.062 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.07207/0.8278, allocations: 40.97 MB / 0.7227 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01002/0.8378, allocations: 4.73 MB / 0.7273 GB, free: 7.922 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04274/0.8806, allocations: 21.2 MB / 0.748 GB, free: 1.996 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.58e-05/0.8807, allocations: 74.42 kB / 0.7481 GB, free: 1.922 MB / 0.545 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005505/0.8862, allocations: 1.272 MB / 0.7493 GB, free: 0.7031 MB / 0.545 GB Notification: Performance of pre-optimization done (n=324): time 1.659e-05/0.8862, allocations: 0 / 0.7493 GB, free: 0.7031 MB / 0.545 GB Notification: Performance of matching and sorting (n=376): time 0.1052/0.9913, allocations: 24.42 MB / 0.7732 GB, free: 8.391 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.457e-05/0.9914, allocations: 94.11 kB / 0.7732 GB, free: 8.289 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005034/0.9965, allocations: 2.955 MB / 0.7761 GB, free: 5.32 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.001506/0.998, allocations: 85.7 kB / 0.7762 GB, free: 5.23 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.002102/1, allocations: 2.226 MB / 0.7784 GB, free: 3 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.002481/1.003, allocations: 1.367 MB / 0.7797 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002009/1.005, allocations: 0.9808 MB / 0.7807 GB, free: 0.6602 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001553/1.005, allocations: 309.1 kB / 0.781 GB, free: 364 kB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005593/1.01, allocations: 2.955 MB / 0.7839 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007355/1.018, allocations: 4.482 MB / 0.7882 GB, free: 8.289 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01395/1.032, allocations: 7.802 MB / 0.7959 GB, free: 100 kB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.805e-05/1.032, allocations: 16 kB / 0.7959 GB, free: 84 kB / 0.5919 GB Notification: Performance of matching and sorting (n=617) (initialization): time 0.06383/1.096, allocations: 13.82 MB / 0.8094 GB, free: 2.707 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.233e-05/1.096, allocations: 24 kB / 0.8094 GB, free: 2.684 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001051/1.096, allocations: 48 kB / 0.8094 GB, free: 2.637 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2735/1.369, allocations: 3.471 MB / 0.8128 GB, free: 217.9 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006495/1.376, allocations: 1.266 MB / 0.8141 GB, free: 217.9 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03691/1.413, allocations: 18.45 MB / 0.8321 GB, free: 211.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005145/1.418, allocations: 250.3 kB / 0.8323 GB, free: 211.3 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001433/1.419, allocations: 281.5 kB / 0.8326 GB, free: 211.3 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 218 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (599): * Single equations (assignments): 596 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(9,4,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.004332/1.424, allocations: 1.454 MB / 0.834 GB, free: 210.8 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001548/1.425, allocations: 364.2 kB / 0.8343 GB, free: 210.8 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03889/1.464, allocations: 9.635 MB / 0.8438 GB, free: 208 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.298e-05/1.464, allocations: 43.16 kB / 0.8438 GB, free: 208 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-05/1.464, allocations: 7.75 kB / 0.8438 GB, free: 208 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001482/1.464, allocations: 19.92 kB / 0.8438 GB, free: 208 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04771/1.512, allocations: 15.42 MB / 0.8589 GB, free: 199.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.204e-05/1.512, allocations: 3.875 kB / 0.8589 GB, free: 199.2 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004681/1.517, allocations: 0.8443 MB / 0.8597 GB, free: 198.6 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00601/1.523, allocations: 2.133 MB / 0.8618 GB, free: 196.5 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001022/1.524, allocations: 138.5 kB / 0.8619 GB, free: 196.4 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02101/1.545, allocations: 12.64 MB / 0.8743 GB, free: 183.4 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/1.545, allocations: 7.938 kB / 0.8743 GB, free: 183.4 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04031/1.585, allocations: 12.96 MB / 0.8869 GB, free: 170.6 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002658/1.588, allocations: 0.9576 MB / 0.8879 GB, free: 169.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008916/1.589, allocations: 91.97 kB / 0.8879 GB, free: 169.6 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002659/1.591, allocations: 159.8 kB / 0.8881 GB, free: 169.5 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001005/1.592, allocations: 457 kB / 0.8885 GB, free: 169 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003195/1.593, allocations: 147.9 kB / 0.8887 GB, free: 168.9 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.002299/1.595, allocations: 1.991 MB / 0.8906 GB, free: 166.9 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/1.595, allocations: 0.9844 kB / 0.8906 GB, free: 166.9 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.007219/1.602, allocations: 2.066 MB / 0.8926 GB, free: 165 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 19 (solution.temperature,OxyRHm[1].logn,OxyRHm[2].logn,OxyRHm[3].logn,OxyRHm[4].logn,DeoxyRHm[1].logn,DeoxyRHm[2].logn,DeoxyRHm[3].logn,DeoxyRHm[4].logn,OxyTHm[1].logn,OxyTHm[2].logn,OxyTHm[3].logn,OxyTHm[4].logn,DeoxyTHm[1].logn,DeoxyTHm[2].logn,DeoxyTHm[3].logn,DeoxyTHm[4].logn,oxygen_unbound.logn,H2O.logn) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (408): * Single equations (assignments): 405 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (9,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002746/1.605, allocations: 1.335 MB / 0.8939 GB, free: 163.9 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01303/1.618, allocations: 7.063 MB / 0.9008 GB, free: 156.8 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 7.925e-06/1.618, allocations: 0 / 0.9008 GB, free: 156.8 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.007399/1.625, allocations: 3.771 MB / 0.9045 GB, free: 153 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004299/1.63, allocations: 0.7706 MB / 0.9053 GB, free: 152.4 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01779/1.647, allocations: 10.9 MB / 0.9159 GB, free: 141.4 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002021/1.649, allocations: 3.212 MB / 0.9191 GB, free: 138.2 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002127/1.651, allocations: 0.4924 MB / 0.9195 GB, free: 137.8 MB / 0.6075 GB Notification: Performance of SimCode: time 1.162e-06/1.651, allocations: 0 / 0.9195 GB, free: 137.8 MB / 0.6075 GB Notification: Performance of Templates: time 0.3963/2.048, allocations: 147.4 MB / 1.063 GB, free: 205.2 MB / 0.6075 GB " [Timeout remaining time 658] make -j1 -f Chemical_Chemical.Obsolete.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC.sim & ./Chemical_Chemical.Obsolete.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 15.288733360997867] Failed to read output from testmodel.py, exit status != 0: 2.0565537569927983 2.065481304 1.471646461 Calling exit ...