Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.GasSolubility_blood.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.001844/0.001844, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.002226/0.002226, allocations: 216.6 kB / 22.25 MB, free: 5.242 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.429/1.429, allocations: 230.6 MB / 256 MB, free: 7.812 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.1418/0.1418, allocations: 23.89 MB / 336.3 MB, free: 11.05 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_blood,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.GasSolubility_blood") translateModel(Chemical.Obsolete.Examples.GasSolubility_blood,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.GasSolubility_blood") [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.002062/0.002062, allocations: 67.89 kB / 471.6 MB, free: 7.039 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3164/0.3184, allocations: 59.86 MB / 0.519 GB, free: 9.734 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility_blood): time 0.007473/0.3259, allocations: 6.267 MB / 0.5251 GB, free: 5.574 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0247/0.3506, allocations: 19.19 MB / 0.5439 GB, free: 8.516 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001288/0.3519, allocations: 29.34 kB / 0.5439 GB, free: 8.496 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001441/0.3533, allocations: 405.8 kB / 0.5443 GB, free: 8.293 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005522/0.3589, allocations: 1.627 MB / 0.5459 GB, free: 7.336 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008965/0.3678, allocations: 2.854 MB / 0.5487 GB, free: 5.66 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003247/0.3711, allocations: 1.826 MB / 0.5504 GB, free: 4.707 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001291/0.3724, allocations: 0.7602 MB / 0.5512 GB, free: 4.152 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001307/0.3737, allocations: 0.8708 MB / 0.552 GB, free: 3.746 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001354/0.375, allocations: 0.8537 MB / 0.5529 GB, free: 3.27 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002199/0.3752, allocations: 156.8 kB / 0.553 GB, free: 3.266 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00908/0.3843, allocations: 2.202 MB / 0.5552 GB, free: 2.539 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006745/0.385, allocations: 364.9 kB / 0.5555 GB, free: 2.246 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001351/0.3863, allocations: 0.6649 MB / 0.5562 GB, free: 1.848 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01189/0.3982, allocations: 4.246 MB / 0.5603 GB, free: 15.22 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.3982, allocations: 1.156 kB / 0.5603 GB, free: 15.22 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.3982, allocations: 0 / 0.5603 GB, free: 15.22 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.37e-05/0.3983, allocations: 0 / 0.5603 GB, free: 15.22 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 314 * Number of variables: 314 Notification: Performance of Generate backend data structure: time 0.004358/0.4026, allocations: 2.052 MB / 0.5623 GB, free: 13.33 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.4027, allocations: 12.03 kB / 0.5623 GB, free: 13.32 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001688/0.4044, allocations: 387.3 kB / 0.5627 GB, free: 12.94 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001491/0.4059, allocations: 0.6886 MB / 0.5634 GB, free: 12.23 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.005e-05/0.4059, allocations: 94.84 kB / 0.5635 GB, free: 12.13 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002478/0.4062, allocations: 132.3 kB / 0.5636 GB, free: 12 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002852/0.409, allocations: 1.783 MB / 0.5653 GB, free: 10.18 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.98e-05/0.4091, allocations: 0 / 0.5653 GB, free: 10.18 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001249/0.4092, allocations: 52 kB / 0.5654 GB, free: 10.13 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.656e-05/0.4092, allocations: 28 kB / 0.5654 GB, free: 10.1 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003697/0.4129, allocations: 2.496 MB / 0.5678 GB, free: 7.598 MB / 414.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.008681/0.4216, allocations: 4.176 MB / 0.5719 GB, free: 3.352 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003536/0.4251, allocations: 1.847 MB / 0.5737 GB, free: 1.504 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000806/0.4259, allocations: 0.4899 MB / 0.5742 GB, free: 1.008 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006853/0.4328, allocations: 2.696 MB / 0.5768 GB, free: 14.29 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.037e-05/0.4328, allocations: 43.22 kB / 0.5769 GB, free: 14.23 MB / 430.1 MB Notification: Performance of pre-optimization done (n=72): time 2.635e-06/0.4328, allocations: 0 / 0.5769 GB, free: 14.23 MB / 430.1 MB Notification: Performance of matching and sorting (n=89): time 0.014/0.4468, allocations: 3.23 MB / 0.58 GB, free: 10.97 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.014e-05/0.4469, allocations: 60.41 kB / 0.5801 GB, free: 10.9 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001592/0.4485, allocations: 1.282 MB / 0.5813 GB, free: 9.602 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.131e-05/0.4486, allocations: 41.7 kB / 0.5814 GB, free: 9.555 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005324/0.4491, allocations: 0.71 MB / 0.5821 GB, free: 8.836 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003041/0.4494, allocations: 333.2 kB / 0.5824 GB, free: 8.508 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004275/0.4498, allocations: 295.4 kB / 0.5827 GB, free: 8.215 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001847/0.45, allocations: 353.9 kB / 0.583 GB, free: 7.863 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008235/0.4508, allocations: 0.5231 MB / 0.5835 GB, free: 7.34 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001283/0.4521, allocations: 1.004 MB / 0.5845 GB, free: 6.129 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002039/0.4541, allocations: 1.453 MB / 0.5859 GB, free: 4.453 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.13e-05/0.4542, allocations: 8 kB / 0.5859 GB, free: 4.445 MB / 430.1 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.004753/0.4589, allocations: 1.928 MB / 0.5878 GB, free: 2.508 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.79e-05/0.4589, allocations: 12 kB / 0.5878 GB, free: 2.496 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.613e-05/0.459, allocations: 16 kB / 0.5878 GB, free: 2.48 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001843/0.4608, allocations: 253.5 kB / 0.5881 GB, free: 2.227 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001079/0.4619, allocations: 351.5 kB / 0.5884 GB, free: 1.883 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005615/0.4675, allocations: 3.585 MB / 0.5919 GB, free: 14.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001044/0.4685, allocations: 44.06 kB / 0.592 GB, free: 14.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001392/0.4687, allocations: 83.98 kB / 0.592 GB, free: 13.97 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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 (179): * Single equations (assignments): 177 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0005071/0.4692, allocations: 297.3 kB / 0.5923 GB, free: 13.67 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002154/0.4694, allocations: 103.3 kB / 0.5924 GB, free: 13.57 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003816/0.4732, allocations: 1.244 MB / 0.5936 GB, free: 12.31 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.268e-06/0.4732, allocations: 8 kB / 0.5936 GB, free: 12.3 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.4732, allocations: 0 / 0.5936 GB, free: 12.3 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.33e-05/0.4732, allocations: 15.86 kB / 0.5937 GB, free: 12.29 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001336/0.4746, allocations: 0.812 MB / 0.5944 GB, free: 11.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.4746, allocations: 0 / 0.5944 GB, free: 11.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006529/0.4752, allocations: 179.7 kB / 0.5946 GB, free: 11.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001795/0.477, allocations: 237.6 kB / 0.5948 GB, free: 11.01 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.69e-05/0.4771, allocations: 27.98 kB / 0.5949 GB, free: 10.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0051/0.4822, allocations: 3.484 MB / 0.5983 GB, free: 7.301 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.4822, allocations: 0 / 0.5983 GB, free: 7.301 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004124/0.4863, allocations: 1.584 MB / 0.5998 GB, free: 5.684 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003149/0.4866, allocations: 99.38 kB / 0.5999 GB, free: 5.586 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001423/0.4868, allocations: 19.94 kB / 0.5999 GB, free: 5.566 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004966/0.4873, allocations: 20 kB / 0.6 GB, free: 5.547 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001736/0.4875, allocations: 80.86 kB / 0.6 GB, free: 5.469 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.11e-05/0.4875, allocations: 35.98 kB / 0.6001 GB, free: 5.434 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001049/0.4886, allocations: 0.8856 MB / 0.6009 GB, free: 4.551 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4886, allocations: 3.938 kB / 0.6009 GB, free: 4.547 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002493/0.4911, allocations: 0.8491 MB / 0.6018 GB, free: 3.695 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (blood_plasma.temperature,CO2_unbound_plasma.logn,O2_unbound_plasma.logn,water.logn,others.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 (93): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,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.002021/0.4931, allocations: 1.035 MB / 0.6028 GB, free: 2.652 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002609/0.4957, allocations: 1.355 MB / 0.6041 GB, free: 1.27 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.4957, allocations: 0 / 0.6041 GB, free: 1.27 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001043/0.4968, allocations: 0.645 MB / 0.6047 GB, free: 0.6016 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001214/0.498, allocations: 241.1 kB / 0.605 GB, free: 380 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003691/0.5017, allocations: 2.138 MB / 0.607 GB, free: 14.19 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005321/0.5022, allocations: 0.4922 MB / 0.6075 GB, free: 13.66 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0008756/0.5031, allocations: 247.1 kB / 0.6078 GB, free: 13.43 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003676/0.5034, allocations: 170.8 kB / 0.6079 GB, free: 13.26 MB / 462.1 MB Notification: Performance of SimCode: time 8.91e-07/0.5034, allocations: 0 / 0.6079 GB, free: 13.26 MB / 462.1 MB Notification: Performance of Templates: time 0.04725/0.5507, allocations: 30.27 MB / 0.6375 GB, free: 15.19 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Obsolete.Examples.GasSolubility_blood.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.GasSolubility_blood.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.GasSolubility_blood.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.GasSolubility_blood.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.GasSolubility_blood.sim & ./Chemical_Chemical.Obsolete.Examples.GasSolubility_blood -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.GasSolubility_blood.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.837812898680568] Failed to read output from testmodel.py, exit status != 0: 0.5599305778741837 0.574467396 0.17302973200000002 Calling exit ...