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.001653/0.001653, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001617/0.001617, allocations: 223.4 kB / 23 MB, free: 4.914 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.434/1.434, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.1415/0.1415, allocations: 23.9 MB / 337.1 MB, free: 10.98 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.002118/0.002118, allocations: 67.91 kB / 472.4 MB, free: 7.035 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.306/0.3081, allocations: 59.86 MB / 0.5197 GB, free: 9.758 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility_blood): time 0.006872/0.315, allocations: 6.264 MB / 0.5259 GB, free: 5.602 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02365/0.3387, allocations: 19.19 MB / 0.5446 GB, free: 8.539 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001412/0.3401, allocations: 21.25 kB / 0.5446 GB, free: 8.527 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001378/0.3414, allocations: 410.4 kB / 0.545 GB, free: 8.32 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005748/0.3472, allocations: 1.631 MB / 0.5466 GB, free: 7.359 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00923/0.3564, allocations: 2.851 MB / 0.5494 GB, free: 5.688 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003258/0.3597, allocations: 1.836 MB / 0.5512 GB, free: 4.711 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00125/0.3609, allocations: 0.7473 MB / 0.5519 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001271/0.3622, allocations: 0.8715 MB / 0.5528 GB, free: 3.762 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001442/0.3636, allocations: 0.8652 MB / 0.5536 GB, free: 3.273 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002674/0.3639, allocations: 152.8 kB / 0.5538 GB, free: 3.273 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007973/0.3719, allocations: 2.198 MB / 0.5559 GB, free: 2.551 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006735/0.3726, allocations: 364.2 kB / 0.5562 GB, free: 2.258 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0013/0.3739, allocations: 0.6657 MB / 0.5569 GB, free: 1.859 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01203/0.3859, allocations: 4.242 MB / 0.561 GB, free: 15.24 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.3859, allocations: 4 kB / 0.561 GB, free: 15.23 MB / 414.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.3859, allocations: 0 / 0.561 GB, free: 15.23 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.699e-05/0.3859, allocations: 0 / 0.561 GB, free: 15.23 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.004357/0.3903, allocations: 2.055 MB / 0.5631 GB, free: 13.3 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.3903, allocations: 8.031 kB / 0.5631 GB, free: 13.29 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00169/0.392, allocations: 387.3 kB / 0.5634 GB, free: 12.91 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001617/0.3936, allocations: 0.6964 MB / 0.5641 GB, free: 12.19 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.123e-05/0.3937, allocations: 94.84 kB / 0.5642 GB, free: 12.1 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002413/0.394, allocations: 124.3 kB / 0.5643 GB, free: 11.98 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002966/0.3969, allocations: 1.787 MB / 0.5661 GB, free: 10.15 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.189e-05/0.397, allocations: 0 / 0.5661 GB, free: 10.15 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001274/0.3971, allocations: 56 kB / 0.5661 GB, free: 10.09 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.153e-05/0.3971, allocations: 36 kB / 0.5662 GB, free: 10.06 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003907/0.401, allocations: 2.493 MB / 0.5686 GB, free: 7.559 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.008829/0.4099, allocations: 4.176 MB / 0.5727 GB, free: 3.312 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003563/0.4134, allocations: 1.835 MB / 0.5745 GB, free: 1.477 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008993/0.4143, allocations: 494.7 kB / 0.5749 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006843/0.4212, allocations: 2.704 MB / 0.5776 GB, free: 14.26 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.03e-05/0.4212, allocations: 39.22 kB / 0.5776 GB, free: 14.21 MB / 430.1 MB Notification: Performance of pre-optimization done (n=72): time 3.366e-06/0.4212, allocations: 0 / 0.5776 GB, free: 14.21 MB / 430.1 MB Notification: Performance of matching and sorting (n=89): time 0.01485/0.4361, allocations: 3.224 MB / 0.5808 GB, free: 10.95 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.193e-05/0.4361, allocations: 64.41 kB / 0.5808 GB, free: 10.88 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001695/0.4378, allocations: 1.286 MB / 0.5821 GB, free: 9.574 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.508e-05/0.4379, allocations: 45.64 kB / 0.5821 GB, free: 9.523 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005535/0.4384, allocations: 0.7099 MB / 0.5828 GB, free: 8.805 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003236/0.4388, allocations: 337.2 kB / 0.5831 GB, free: 8.473 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004361/0.4392, allocations: 291.4 kB / 0.5834 GB, free: 8.184 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001782/0.4394, allocations: 345.9 kB / 0.5837 GB, free: 7.84 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008541/0.4402, allocations: 0.5271 MB / 0.5843 GB, free: 7.312 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001327/0.4416, allocations: 1.012 MB / 0.5852 GB, free: 6.094 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002083/0.4436, allocations: 1.445 MB / 0.5867 GB, free: 4.426 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.558e-06/0.4437, allocations: 8 kB / 0.5867 GB, free: 4.418 MB / 430.1 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.004847/0.4485, allocations: 1.92 MB / 0.5885 GB, free: 2.488 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.098e-05/0.4485, allocations: 14.66 kB / 0.5885 GB, free: 2.477 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.041e-05/0.4486, allocations: 23.92 kB / 0.5886 GB, free: 2.453 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001922/0.4505, allocations: 253.5 kB / 0.5888 GB, free: 2.199 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00116/0.4516, allocations: 343.5 kB / 0.5891 GB, free: 1.863 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005903/0.4575, allocations: 3.597 MB / 0.5927 GB, free: 14.06 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001218/0.4588, allocations: 44 kB / 0.5927 GB, free: 14.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001693/0.4589, allocations: 87.97 kB / 0.5928 GB, free: 13.93 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.0005512/0.4595, allocations: 285.3 kB / 0.5931 GB, free: 13.64 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000263/0.4597, allocations: 103.3 kB / 0.5931 GB, free: 13.54 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003979/0.4637, allocations: 1.256 MB / 0.5944 GB, free: 12.27 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.135e-05/0.4637, allocations: 15.98 kB / 0.5944 GB, free: 12.26 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.4638, allocations: 0 / 0.5944 GB, free: 12.26 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.579e-05/0.4638, allocations: 11.91 kB / 0.5944 GB, free: 12.25 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001634/0.4654, allocations: 0.8081 MB / 0.5952 GB, free: 11.39 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/0.4654, allocations: 4 kB / 0.5952 GB, free: 11.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006963/0.4661, allocations: 179.7 kB / 0.5954 GB, free: 11.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001863/0.468, allocations: 225.6 kB / 0.5956 GB, free: 10.98 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.153e-05/0.468, allocations: 31.98 kB / 0.5956 GB, free: 10.95 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005303/0.4733, allocations: 3.476 MB / 0.599 GB, free: 7.277 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.661e-06/0.4733, allocations: 3.984 kB / 0.599 GB, free: 7.273 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004413/0.4778, allocations: 1.592 MB / 0.6006 GB, free: 5.648 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003484/0.4781, allocations: 95.5 kB / 0.6007 GB, free: 5.555 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001469/0.4783, allocations: 23.94 kB / 0.6007 GB, free: 5.531 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005282/0.4788, allocations: 24 kB / 0.6007 GB, free: 5.508 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001754/0.479, allocations: 76.86 kB / 0.6008 GB, free: 5.434 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.95e-05/0.479, allocations: 39.98 kB / 0.6008 GB, free: 5.395 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001075/0.4801, allocations: 0.8817 MB / 0.6017 GB, free: 4.516 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4801, allocations: 0 / 0.6017 GB, free: 4.516 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002651/0.4828, allocations: 0.8452 MB / 0.6025 GB, free: 3.668 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.002004/0.4848, allocations: 1.043 MB / 0.6035 GB, free: 2.613 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002539/0.4873, allocations: 1.357 MB / 0.6048 GB, free: 1.23 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.4873, allocations: 0 / 0.6048 GB, free: 1.23 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001036/0.4883, allocations: 0.6434 MB / 0.6055 GB, free: 0.5625 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001159/0.4895, allocations: 221.8 kB / 0.6057 GB, free: 352 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003877/0.4934, allocations: 2.175 MB / 0.6078 GB, free: 14.12 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005449/0.4939, allocations: 500 kB / 0.6083 GB, free: 13.6 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005431/0.4945, allocations: 222.8 kB / 0.6085 GB, free: 13.38 MB / 462.1 MB Notification: Performance of SimCode: time 8.92e-07/0.4945, allocations: 0 / 0.6085 GB, free: 13.38 MB / 462.1 MB Notification: Performance of Templates: time 0.04439/0.5389, allocations: 32.12 MB / 0.6399 GB, free: 13.33 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: 9.977295723278075] Failed to read output from testmodel.py, exit status != 0: 0.5487357401289046 0.5633104720000001 0.17402551900000002 Calling exit ...