Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.0009374/0.0009374, allocations: 80.48 kB / 19.93 MB, free: 4.629 MB / 18.57 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.001041/0.001041, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.8576/0.8576, allocations: 177.2 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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.08399/0.08399, allocations: 17.44 MB / 277.4 MB, free: 11.78 MB / 266.7 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.GasSolubility,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.GasSolubility") translateModel(Chemical.Obsolete.Examples.GasSolubility,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.GasSolubility") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 412.8 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.671e-05/2.827e-05, allocations: 3.125 kB / 412.8 MB, free: 12.45 MB / 330.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility): time 0.006289/0.006317, allocations: 9.07 MB / 421.9 MB, free: 6.637 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02272/0.02904, allocations: 28.97 MB / 450.9 MB, free: 2.117 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001586/0.03062, allocations: 35.78 kB / 450.9 MB, free: 2.098 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001439/0.03206, allocations: 0.6447 MB / 451.6 MB, free: 1.598 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006043/0.03811, allocations: 2.696 MB / 454.3 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009057/0.04716, allocations: 4.5 MB / 458.8 MB, free: 11.32 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003485/0.05065, allocations: 3.118 MB / 461.9 MB, free: 8.191 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001488/0.05214, allocations: 1.363 MB / 463.2 MB, free: 6.785 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002037/0.05417, allocations: 2.055 MB / 465.3 MB, free: 4.727 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001362/0.05553, allocations: 1.302 MB / 466.6 MB, free: 3.422 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003444/0.05588, allocations: 268 kB / 466.9 MB, free: 3.16 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007256/0.06313, allocations: 3.458 MB / 470.3 MB, free: 15.7 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005893/0.06372, allocations: 0.6119 MB / 470.9 MB, free: 15.08 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001158/0.06488, allocations: 0.9744 MB / 471.9 MB, free: 14.11 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01191/0.07679, allocations: 7.247 MB / 479.2 MB, free: 6.832 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.0768, allocations: 0 / 479.2 MB, free: 6.832 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.0768, allocations: 0 / 479.2 MB, free: 6.832 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.821e-05/0.07685, allocations: 0 / 479.2 MB, free: 6.832 MB / 378.7 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.004157/0.081, allocations: 3.204 MB / 482.4 MB, free: 3.574 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.08104, allocations: 12.03 kB / 482.4 MB, free: 3.562 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001455/0.0825, allocations: 0.5841 MB / 483 MB, free: 2.977 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001456/0.08395, allocations: 1.076 MB / 484 MB, free: 1.875 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.211e-05/0.08404, allocations: 164.6 kB / 484.2 MB, free: 1.711 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002411/0.08428, allocations: 220.3 kB / 484.4 MB, free: 1.496 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003004/0.08728, allocations: 2.814 MB / 487.2 MB, free: 14.6 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.234e-05/0.08731, allocations: 1.062 kB / 487.2 MB, free: 14.6 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001363/0.08745, allocations: 88.38 kB / 487.3 MB, free: 14.51 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.656e-05/0.08748, allocations: 55.94 kB / 487.4 MB, free: 14.46 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004082/0.09156, allocations: 3.792 MB / 491.2 MB, free: 10.65 MB / 394.7 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.008823/0.1004, allocations: 6.719 MB / 497.9 MB, free: 3.805 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003417/0.1038, allocations: 3.247 MB / 0.4894 GB, free: 0.5586 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009587/0.1048, allocations: 0.9191 MB / 0.4903 GB, free: 15.64 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006629/0.1114, allocations: 4.673 MB / 0.4948 GB, free: 10.93 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/0.1114, allocations: 43.88 kB / 0.4949 GB, free: 10.88 MB / 410.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003917/0.1118, allocations: 182.8 kB / 0.495 GB, free: 10.7 MB / 410.7 MB Notification: Performance of pre-optimization done (n=138): time 3.787e-06/0.1118, allocations: 0 / 0.495 GB, free: 10.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=170): time 0.01393/0.1257, allocations: 6.173 MB / 0.5011 GB, free: 4.496 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.605e-05/0.1258, allocations: 73.41 kB / 0.5011 GB, free: 4.414 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001339/0.1271, allocations: 1.634 MB / 0.5027 GB, free: 2.762 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.2e-05/0.1272, allocations: 57.64 kB / 0.5028 GB, free: 2.699 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004746/0.1277, allocations: 1.089 MB / 0.5039 GB, free: 1.598 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000341/0.128, allocations: 0.6042 MB / 0.5045 GB, free: 0.9883 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004214/0.1285, allocations: 484.8 kB / 0.5049 GB, free: 0.5078 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.645e-05/0.1285, allocations: 301.1 kB / 0.5052 GB, free: 216 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008864/0.1294, allocations: 0.8053 MB / 0.506 GB, free: 15.4 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001489/0.1309, allocations: 1.612 MB / 0.5076 GB, free: 13.42 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002231/0.1331, allocations: 2.421 MB / 0.5099 GB, free: 10.64 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.3e-05/0.1331, allocations: 8 kB / 0.5099 GB, free: 10.63 MB / 426.7 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.005013/0.1381, allocations: 3.148 MB / 0.513 GB, free: 7.465 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.793e-05/0.1382, allocations: 16 kB / 0.513 GB, free: 7.449 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.927e-05/0.1382, allocations: 27.94 kB / 0.513 GB, free: 7.422 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001684/0.1399, allocations: 483 kB / 0.5135 GB, free: 6.938 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001158/0.141, allocations: 0.5889 MB / 0.5141 GB, free: 6.348 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006164/0.1472, allocations: 7.15 MB / 0.5211 GB, free: 14.79 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001174/0.1484, allocations: 79.98 kB / 0.5211 GB, free: 14.71 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001727/0.1486, allocations: 144.1 kB / 0.5213 GB, free: 14.57 MB / 442.7 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.0006864/0.1492, allocations: 417.5 kB / 0.5217 GB, free: 14.15 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002771/0.1495, allocations: 174.9 kB / 0.5218 GB, free: 13.98 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00397/0.1535, allocations: 2.384 MB / 0.5242 GB, free: 11.59 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.046e-05/0.1535, allocations: 24 kB / 0.5242 GB, free: 11.56 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.1535, allocations: 0 / 0.5242 GB, free: 11.56 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.405e-05/0.1535, allocations: 11.91 kB / 0.5242 GB, free: 11.55 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001683/0.1552, allocations: 1.372 MB / 0.5255 GB, free: 10.11 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/0.1552, allocations: 4 kB / 0.5256 GB, free: 10.11 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006904/0.1559, allocations: 347.8 kB / 0.5259 GB, free: 9.77 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001564/0.1575, allocations: 458.9 kB / 0.5263 GB, free: 9.309 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001132/0.1576, allocations: 59.97 kB / 0.5264 GB, free: 9.25 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005535/0.1631, allocations: 6.961 MB / 0.5332 GB, free: 1.887 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.1631, allocations: 4.031 kB / 0.5332 GB, free: 1.883 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004718/0.1678, allocations: 2.984 MB / 0.5361 GB, free: 14.84 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003748/0.1682, allocations: 158.8 kB / 0.5362 GB, free: 14.69 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001397/0.1684, allocations: 40 kB / 0.5363 GB, free: 14.65 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004515/0.1688, allocations: 39.98 kB / 0.5363 GB, free: 14.61 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002218/0.169, allocations: 153.7 kB / 0.5365 GB, free: 14.46 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.702e-05/0.1691, allocations: 75.97 kB / 0.5365 GB, free: 14.39 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0008797/0.17, allocations: 1.076 MB / 0.5376 GB, free: 13.31 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.17, allocations: 0 / 0.5376 GB, free: 13.31 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002912/0.1729, allocations: 1.383 MB / 0.5389 GB, free: 11.92 MB / 458.7 MB 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.002348/0.1753, allocations: 1.594 MB / 0.5405 GB, free: 10.32 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003298/0.1785, allocations: 2.396 MB / 0.5428 GB, free: 7.871 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.1786, allocations: 0 / 0.5428 GB, free: 7.871 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00132/0.1799, allocations: 1.271 MB / 0.5441 GB, free: 6.551 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001277/0.1812, allocations: 364.3 kB / 0.5444 GB, free: 6.199 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004654/0.1858, allocations: 3.553 MB / 0.5479 GB, free: 2.586 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005652/0.1864, allocations: 0.8099 MB / 0.5487 GB, free: 1.734 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007875/0.1872, allocations: 371.5 kB / 0.549 GB, free: 1.371 MB / 458.7 MB Notification: Performance of SimCode: time 1.703e-06/0.1872, allocations: 4 kB / 0.549 GB, free: 1.367 MB / 458.7 MB Notification: Performance of Templates: time 0.1892/0.3763, allocations: 68.2 MB / 0.6156 GB, free: 138.1 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.GasSolubility.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.GasSolubility.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.GasSolubility.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.GasSolubility.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.GasSolubility.sim & ./Chemical_master_Chemical.Obsolete.Examples.GasSolubility -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.GasSolubility.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.148984791710973] Failed to read output from testmodel.py, exit status != 0: 0.5137160364538431 0.395807808 0.31677432699999997 Calling exit ...