Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.GasSolubility.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.001505/0.001505, allocations: 102.5 kB / 16.45 MB, free: 6.449 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.001678/0.001678, allocations: 206.4 kB / 19.42 MB, free: 3.641 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.523/1.523, allocations: 230.6 MB / 252.8 MB, free: 9.004 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.1612/0.1612, allocations: 23.84 MB / 332.7 MB, free: 12.38 MB / 270.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.GasSolubility,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.GasSolubility") translateModel(Chemical.Obsolete.Examples.GasSolubility,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.GasSolubility") [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.003864/0.003864, allocations: 67.89 kB / 466.5 MB, free: 9.625 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4085/0.4124, allocations: 59.82 MB / 0.5139 GB, free: 9.129 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility): time 0.009979/0.4223, allocations: 10.4 MB / 0.5241 GB, free: 1.828 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0472/0.4695, allocations: 33.05 MB / 0.5564 GB, free: 9.668 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003673/0.4732, allocations: 35.22 kB / 0.5564 GB, free: 9.648 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003221/0.4764, allocations: 0.6885 MB / 0.5571 GB, free: 9.262 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01086/0.4873, allocations: 2.643 MB / 0.5597 GB, free: 7.27 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0152/0.5025, allocations: 4.318 MB / 0.5639 GB, free: 3.918 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005633/0.5081, allocations: 3.022 MB / 0.5668 GB, free: 2.117 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002446/0.5106, allocations: 1.369 MB / 0.5682 GB, free: 1.094 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002911/0.5135, allocations: 1.482 MB / 0.5696 GB, free: 416 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003577/0.5171, allocations: 1.634 MB / 0.5712 GB, free: 15.42 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009271/0.518, allocations: 263.5 kB / 0.5715 GB, free: 15.42 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01588/0.5339, allocations: 3.657 MB / 0.575 GB, free: 12.45 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001587/0.5354, allocations: 0.6115 MB / 0.5756 GB, free: 11.84 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003715/0.5392, allocations: 1.326 MB / 0.5769 GB, free: 10.5 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02656/0.5657, allocations: 6.836 MB / 0.5836 GB, free: 3.641 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.5657, allocations: 0 / 0.5836 GB, free: 3.641 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.5657, allocations: 0 / 0.5836 GB, free: 3.641 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.035e-05/0.5658, allocations: 0 / 0.5836 GB, free: 3.641 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 539 * Number of variables: 539 Notification: Performance of Generate backend data structure: time 0.007917/0.5737, allocations: 3.306 MB / 0.5868 GB, free: 268 kB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.504e-05/0.5738, allocations: 12.03 kB / 0.5868 GB, free: 256 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003065/0.5768, allocations: 0.5804 MB / 0.5874 GB, free: 15.67 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002616/0.5795, allocations: 1.147 MB / 0.5885 GB, free: 14.48 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001799/0.5796, allocations: 160.6 kB / 0.5887 GB, free: 14.32 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005495/0.5802, allocations: 224.3 kB / 0.5889 GB, free: 14.1 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005788/0.586, allocations: 2.791 MB / 0.5916 GB, free: 11.22 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.091e-05/0.586, allocations: 0 / 0.5916 GB, free: 11.22 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002477/0.5863, allocations: 88 kB / 0.5917 GB, free: 11.14 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.869e-05/0.5863, allocations: 52 kB / 0.5918 GB, free: 11.09 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006555/0.5929, allocations: 3.795 MB / 0.5955 GB, free: 7.273 MB / 446.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.01743/0.6103, allocations: 8.348 MB / 0.6036 GB, free: 14.61 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007027/0.6173, allocations: 3.845 MB / 0.6074 GB, free: 10.63 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001818/0.6191, allocations: 0.9162 MB / 0.6083 GB, free: 9.711 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01618/0.6353, allocations: 9.243 MB / 0.6173 GB, free: 15.39 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.136e-05/0.6354, allocations: 51.88 kB / 0.6173 GB, free: 15.33 MB / 478.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007716/0.6362, allocations: 182.6 kB / 0.6175 GB, free: 15.15 MB / 478.1 MB Notification: Performance of pre-optimization done (n=138): time 4.738e-06/0.6362, allocations: 0 / 0.6175 GB, free: 15.15 MB / 478.1 MB Notification: Performance of matching and sorting (n=170): time 0.03094/0.6671, allocations: 6.422 MB / 0.6238 GB, free: 8.645 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.713e-05/0.6672, allocations: 69.41 kB / 0.6238 GB, free: 8.562 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002511/0.6697, allocations: 1.664 MB / 0.6255 GB, free: 6.887 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003109/0.67, allocations: 57.7 kB / 0.6255 GB, free: 6.824 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001043/0.671, allocations: 1.073 MB / 0.6266 GB, free: 5.738 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008578/0.6719, allocations: 0.6159 MB / 0.6272 GB, free: 5.117 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008453/0.6727, allocations: 480.8 kB / 0.6276 GB, free: 4.641 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001659/0.6729, allocations: 305.1 kB / 0.6279 GB, free: 4.34 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001547/0.6745, allocations: 0.7936 MB / 0.6287 GB, free: 3.543 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00235/0.6768, allocations: 1.597 MB / 0.6303 GB, free: 1.578 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004058/0.6809, allocations: 2.417 MB / 0.6326 GB, free: 14.8 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.157e-05/0.6809, allocations: 8 kB / 0.6326 GB, free: 14.79 MB / 494.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.00951/0.6904, allocations: 3.128 MB / 0.6357 GB, free: 11.64 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.028e-05/0.6905, allocations: 16 kB / 0.6357 GB, free: 11.62 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-05/0.6905, allocations: 28 kB / 0.6357 GB, free: 11.6 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00408/0.6946, allocations: 491 kB / 0.6362 GB, free: 11.11 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002458/0.6971, allocations: 0.5811 MB / 0.6368 GB, free: 10.52 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01248/0.7096, allocations: 7.719 MB / 0.6443 GB, free: 2.258 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002305/0.7119, allocations: 83.94 kB / 0.6444 GB, free: 2.176 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000363/0.7122, allocations: 147.9 kB / 0.6445 GB, free: 2.031 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 117 * 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 (305): * Single equations (assignments): 301 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0009351/0.7132, allocations: 421 kB / 0.6449 GB, free: 1.609 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000487/0.7137, allocations: 178.8 kB / 0.6451 GB, free: 1.434 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00822/0.7219, allocations: 2.385 MB / 0.6474 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.539e-05/0.7219, allocations: 16 kB / 0.6474 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.999e-06/0.7219, allocations: 4 kB / 0.6474 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-05/0.7219, allocations: 11.91 kB / 0.6475 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003526/0.7255, allocations: 1.851 MB / 0.6493 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.898e-06/0.7255, allocations: 3.984 kB / 0.6493 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001453/0.7269, allocations: 351.8 kB / 0.6496 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003997/0.7309, allocations: 462.9 kB / 0.65 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003761/0.7313, allocations: 55.97 kB / 0.6501 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01133/0.7426, allocations: 7.539 MB / 0.6575 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.282e-06/0.7426, allocations: 4.031 kB / 0.6575 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009076/0.7517, allocations: 3.004 MB / 0.6604 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006826/0.7524, allocations: 239.9 kB / 0.6606 GB, free: 0.7812 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003/0.7527, allocations: 36 kB / 0.6607 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009768/0.7537, allocations: 36 kB / 0.6607 GB, free: 0.7109 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003933/0.7541, allocations: 153.7 kB / 0.6608 GB, free: 0.5586 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001624/0.7542, allocations: 71.97 kB / 0.6609 GB, free: 500 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001606/0.7558, allocations: 1.133 MB / 0.662 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7558, allocations: 3.938 kB / 0.662 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.005069/0.7609, allocations: 1.383 MB / 0.6634 GB, free: 13.96 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 9 (blood_plasma.temperature,red_cells.temperature,CO2_unbound_plasma.logn,O2_unbound_plasma.logn,CO2_unbound_erythrocyte.logn,O2_unbound_erythrocyte_NIST.logn,water_plasma.logn,water.logn,water_plasma1.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 (183): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003572/0.7645, allocations: 1.54 MB / 0.6649 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005228/0.7697, allocations: 2.388 MB / 0.6672 GB, free: 9.98 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.7697, allocations: 0 / 0.6672 GB, free: 9.98 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002284/0.772, allocations: 1.28 MB / 0.6685 GB, free: 8.648 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002119/0.7741, allocations: 359.7 kB / 0.6688 GB, free: 8.309 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006752/0.7809, allocations: 3.636 MB / 0.6723 GB, free: 4.621 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001204/0.7821, allocations: 1.382 MB / 0.6737 GB, free: 3.207 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.00177/0.7838, allocations: 439.8 kB / 0.6741 GB, free: 2.777 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007768/0.7846, allocations: 302.5 kB / 0.6744 GB, free: 2.48 MB / 0.5137 GB Notification: Performance of SimCode: time 9.92e-07/0.7846, allocations: 0 / 0.6744 GB, free: 2.48 MB / 0.5137 GB Notification: Performance of Templates: time 0.08135/0.866, allocations: 47.31 MB / 0.7206 GB, free: 3.316 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Obsolete.Examples.GasSolubility.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.GasSolubility.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.GasSolubility.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.GasSolubility.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.GasSolubility.sim & ./Chemical_Chemical.Obsolete.Examples.GasSolubility -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.GasSolubility.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.745655354112387] Failed to read output from testmodel.py, exit status != 0: 0.8805998936295509 1.108898119 0.539702261 Calling exit ...