Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.001391/0.001391, allocations: 108.9 kB / 16.46 MB, free: 6.508 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.002262/0.002262, allocations: 216.2 kB / 19.43 MB, free: 3.648 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.492/1.492, allocations: 230.6 MB / 252.8 MB, free: 9.094 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.1527/0.1527, allocations: 23.89 MB / 332.7 MB, free: 12.32 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/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_master_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_master_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.002113/0.002113, allocations: 71.89 kB / 466.6 MB, free: 9.504 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3999/0.402, allocations: 59.83 MB / 0.5141 GB, free: 9.148 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Obsolete.mo:14335:7-14335: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 master/Obsolete.mo:14335:7-14335: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.05009/0.4521, allocations: 30.48 MB / 0.5438 GB, free: 10.37 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03825/0.4903, allocations: 26.22 MB / 0.5694 GB, free: 2.219 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003078/0.4934, allocations: 35.69 kB / 0.5695 GB, free: 2.184 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002159/0.4956, allocations: 0.6046 MB / 0.5701 GB, free: 1.711 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008916/0.5045, allocations: 2.156 MB / 0.5722 GB, free: 15.61 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01316/0.5177, allocations: 3.546 MB / 0.5756 GB, free: 12.04 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01269/0.5303, allocations: 7.41 MB / 0.5829 GB, free: 4.602 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008698/0.539, allocations: 5.128 MB / 0.5879 GB, free: 15.4 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009153/0.5482, allocations: 4.959 MB / 0.5927 GB, free: 10.43 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01048/0.5587, allocations: 4.764 MB / 0.5974 GB, free: 5.652 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002845/0.5615, allocations: 0.6758 MB / 0.598 GB, free: 4.977 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01373/0.5753, allocations: 3.363 MB / 0.6013 GB, free: 1.609 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004441/0.5797, allocations: 1.808 MB / 0.6031 GB, free: 15.8 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008113/0.5878, allocations: 3.358 MB / 0.6063 GB, free: 12.42 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02439/0.6122, allocations: 11.62 MB / 0.6177 GB, free: 0.7656 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.375e-06/0.6122, allocations: 0 / 0.6177 GB, free: 0.7656 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.6122, allocations: 0 / 0.6177 GB, free: 0.7656 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003448/0.6125, allocations: 3.938 kB / 0.6177 GB, free: 0.7617 MB / 462.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.02383/0.6364, allocations: 7.32 MB / 0.6248 GB, free: 9.348 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.119e-05/0.6364, allocations: 8.031 kB / 0.6249 GB, free: 9.34 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007593/0.644, allocations: 1.241 MB / 0.6261 GB, free: 8.094 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008406/0.6524, allocations: 3.272 MB / 0.6293 GB, free: 4.746 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008987/0.6533, allocations: 0.6727 MB / 0.6299 GB, free: 4.004 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002687/0.656, allocations: 0.4963 MB / 0.6304 GB, free: 3.508 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02491/0.6809, allocations: 9.458 MB / 0.6396 GB, free: 9.945 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001848/0.6811, allocations: 0 / 0.6396 GB, free: 9.945 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001735/0.6829, allocations: 196 kB / 0.6398 GB, free: 9.754 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001311/0.683, allocations: 116 kB / 0.6399 GB, free: 9.641 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02862/0.7116, allocations: 12.73 MB / 0.6524 GB, free: 12.89 MB / 0.4981 GB 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.07218/0.7838, allocations: 30.62 MB / 0.6823 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07264/0.8564, allocations: 40.96 MB / 0.7223 GB, free: 2.02 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.3398/1.196, allocations: 4.715 MB / 0.7269 GB, free: 172.6 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04497/1.241, allocations: 21.23 MB / 0.7476 GB, free: 162.2 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.178e-05/1.241, allocations: 69.72 kB / 0.7477 GB, free: 162.2 MB / 0.5606 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005224/1.246, allocations: 1.269 MB / 0.7489 GB, free: 161.9 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=324): time 2.009e-05/1.246, allocations: 2.656 kB / 0.7489 GB, free: 161.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=376): time 0.1032/1.35, allocations: 24.41 MB / 0.7728 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.236e-05/1.35, allocations: 91.58 kB / 0.7728 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004491/1.354, allocations: 2.965 MB / 0.7757 GB, free: 149 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001212/1.355, allocations: 87.42 kB / 0.7758 GB, free: 149 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001362/1.357, allocations: 2.227 MB / 0.778 GB, free: 147.3 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.002174/1.359, allocations: 1.363 MB / 0.7793 GB, free: 146.2 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001956/1.361, allocations: 0.9851 MB / 0.7803 GB, free: 145.4 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.043e-05/1.361, allocations: 301.1 kB / 0.7806 GB, free: 145.1 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003905/1.365, allocations: 2.955 MB / 0.7835 GB, free: 142.1 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004557/1.369, allocations: 4.479 MB / 0.7878 GB, free: 137 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009535/1.379, allocations: 7.805 MB / 0.7955 GB, free: 128.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.434e-05/1.379, allocations: 18.69 kB / 0.7955 GB, free: 128.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=617) (initialization): time 0.05661/1.436, allocations: 13.82 MB / 0.809 GB, free: 114.9 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.952e-05/1.436, allocations: 24 kB / 0.809 GB, free: 114.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.259e-05/1.436, allocations: 51.94 kB / 0.809 GB, free: 114.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008816/1.445, allocations: 3.48 MB / 0.8124 GB, free: 111.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00563/1.45, allocations: 1.265 MB / 0.8137 GB, free: 110.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03156/1.482, allocations: 18.45 MB / 0.8317 GB, free: 91.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005048/1.487, allocations: 250.4 kB / 0.8319 GB, free: 91.17 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001266/1.488, allocations: 287.8 kB / 0.8322 GB, free: 90.89 MB / 0.5606 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.003662/1.492, allocations: 1.447 MB / 0.8336 GB, free: 89.43 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001622/1.493, allocations: 365.6 kB / 0.834 GB, free: 89.07 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03968/1.533, allocations: 9.623 MB / 0.8434 GB, free: 79.53 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.693e-05/1.533, allocations: 46.94 kB / 0.8434 GB, free: 79.48 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.122e-05/1.533, allocations: 6.625 kB / 0.8434 GB, free: 79.48 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001308/1.533, allocations: 26.61 kB / 0.8434 GB, free: 79.46 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04786/1.581, allocations: 15.43 MB / 0.8585 GB, free: 64.03 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.843e-05/1.581, allocations: 4 kB / 0.8585 GB, free: 64.03 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004681/1.586, allocations: 0.849 MB / 0.8593 GB, free: 63.18 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006191/1.592, allocations: 2.122 MB / 0.8614 GB, free: 61.09 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001254/1.593, allocations: 139.9 kB / 0.8615 GB, free: 60.96 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02161/1.615, allocations: 12.64 MB / 0.8739 GB, free: 47.94 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/1.615, allocations: 7.969 kB / 0.8739 GB, free: 47.93 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04124/1.656, allocations: 12.96 MB / 0.8865 GB, free: 34.91 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002474/1.659, allocations: 0.9514 MB / 0.8875 GB, free: 33.94 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00114/1.66, allocations: 91.97 kB / 0.8876 GB, free: 33.85 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003199/1.663, allocations: 163.8 kB / 0.8877 GB, free: 33.69 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001369/1.664, allocations: 454.6 kB / 0.8882 GB, free: 33.25 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005681/1.665, allocations: 147.9 kB / 0.8883 GB, free: 33.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002818/1.668, allocations: 1.985 MB / 0.8902 GB, free: 31.12 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.8e-07/1.668, allocations: 0 / 0.8902 GB, free: 31.12 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006954/1.675, allocations: 2.067 MB / 0.8922 GB, free: 29.05 MB / 0.5606 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.002934/1.678, allocations: 1.333 MB / 0.8936 GB, free: 27.91 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0132/1.691, allocations: 7.06 MB / 0.9004 GB, free: 20.82 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.727e-06/1.691, allocations: 4 kB / 0.9005 GB, free: 20.82 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.007721/1.699, allocations: 3.774 MB / 0.9041 GB, free: 17.02 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005736/1.704, allocations: 0.7725 MB / 0.9049 GB, free: 16.32 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02262/1.727, allocations: 10.96 MB / 0.9156 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003879/1.731, allocations: 3.307 MB / 0.9188 GB, free: 1.957 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00549/1.736, allocations: 1.574 MB / 0.9204 GB, free: 420 kB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00223/1.739, allocations: 462 kB / 0.9208 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of SimCode: time 1.282e-06/1.739, allocations: 0 / 0.9208 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of Templates: time 0.391/2.129, allocations: 92.58 MB / 1.011 GB, free: 156.8 MB / 0.5919 GB " [Timeout remaining time 658] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC.sim & ./Chemical_master_Chemical.Obsolete.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 9.608766175806522] Failed to read output from testmodel.py, exit status != 0: 2.1389464321546257 2.1466858859999998 1.53197566 Calling exit ...