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.001303/0.001303, allocations: 105.8 kB / 19.69 MB, free: 2.258 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.001525/0.001525, allocations: 218.4 kB / 23.01 MB, free: 5.109 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.425/1.425, allocations: 230.6 MB / 256.8 MB, free: 8.02 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.1364/0.1364, allocations: 23.86 MB / 337 MB, free: 11.18 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.002077/0.002077, allocations: 79.88 kB / 472.4 MB, free: 7.184 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2799/0.282, allocations: 59.85 MB / 0.5198 GB, free: 9.844 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility_blood): time 0.00656/0.2886, allocations: 7.09 MB / 0.5267 GB, free: 4.809 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02565/0.3142, allocations: 21.94 MB / 0.5481 GB, free: 4.816 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001191/0.3154, allocations: 21.44 kB / 0.5482 GB, free: 4.805 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001585/0.317, allocations: 459.1 kB / 0.5486 GB, free: 4.551 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005419/0.3224, allocations: 1.669 MB / 0.5502 GB, free: 3.551 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008414/0.3308, allocations: 2.854 MB / 0.553 GB, free: 1.871 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00305/0.3339, allocations: 1.829 MB / 0.5548 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001161/0.335, allocations: 0.7744 MB / 0.5556 GB, free: 364 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001311/0.3363, allocations: 0.867 MB / 0.5564 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001555/0.3379, allocations: 0.9555 MB / 0.5573 GB, free: 15.38 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002566/0.3382, allocations: 152.6 kB / 0.5575 GB, free: 15.38 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007883/0.346, allocations: 2.35 MB / 0.5598 GB, free: 14.5 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005048/0.3465, allocations: 360.6 kB / 0.5601 GB, free: 14.21 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001116/0.3477, allocations: 0.7885 MB / 0.5609 GB, free: 13.69 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01/0.3577, allocations: 4.258 MB / 0.565 GB, free: 11.03 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.3577, allocations: 1.375 kB / 0.565 GB, free: 11.03 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.3577, allocations: 4 kB / 0.565 GB, free: 11.03 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.948e-05/0.3577, allocations: 0 / 0.565 GB, free: 11.03 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.004173/0.3619, allocations: 2.049 MB / 0.5671 GB, free: 9.488 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.3619, allocations: 8.031 kB / 0.5671 GB, free: 9.48 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001712/0.3636, allocations: 395.3 kB / 0.5674 GB, free: 9.094 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001469/0.3651, allocations: 0.6964 MB / 0.5681 GB, free: 8.371 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.208e-05/0.3652, allocations: 94.84 kB / 0.5682 GB, free: 8.277 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00023/0.3654, allocations: 132.3 kB / 0.5683 GB, free: 8.148 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002797/0.3682, allocations: 1.783 MB / 0.5701 GB, free: 6.324 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.678e-05/0.3683, allocations: 0 / 0.5701 GB, free: 6.324 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001263/0.3684, allocations: 52 kB / 0.5701 GB, free: 6.273 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.707e-05/0.3684, allocations: 28 kB / 0.5701 GB, free: 6.246 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003714/0.3721, allocations: 2.524 MB / 0.5726 GB, free: 3.715 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.008957/0.3811, allocations: 5.09 MB / 0.5776 GB, free: 14.44 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003479/0.3846, allocations: 1.882 MB / 0.5794 GB, free: 12.55 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008813/0.3854, allocations: 499.3 kB / 0.5799 GB, free: 12.05 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006515/0.392, allocations: 2.87 MB / 0.5827 GB, free: 9.16 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.438e-05/0.392, allocations: 35.22 kB / 0.5827 GB, free: 9.113 MB / 430.1 MB Notification: Performance of pre-optimization done (n=72): time 2.384e-06/0.392, allocations: 4 kB / 0.5827 GB, free: 9.109 MB / 430.1 MB Notification: Performance of matching and sorting (n=89): time 0.01605/0.408, allocations: 3.23 MB / 0.5859 GB, free: 5.844 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.339e-05/0.4081, allocations: 60.41 kB / 0.586 GB, free: 5.773 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00174/0.4098, allocations: 1.32 MB / 0.5872 GB, free: 4.43 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001103/0.4099, allocations: 41.7 kB / 0.5873 GB, free: 4.383 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000578/0.4105, allocations: 0.7099 MB / 0.588 GB, free: 3.664 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003477/0.4109, allocations: 333.2 kB / 0.5883 GB, free: 3.336 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004299/0.4113, allocations: 291.4 kB / 0.5886 GB, free: 3.043 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001956/0.4115, allocations: 357.9 kB / 0.5889 GB, free: 2.688 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008871/0.4124, allocations: 0.5232 MB / 0.5894 GB, free: 2.164 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001321/0.4137, allocations: 1.016 MB / 0.5904 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002107/0.4158, allocations: 1.437 MB / 0.5918 GB, free: 15.28 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.126e-05/0.4158, allocations: 8 kB / 0.5918 GB, free: 15.27 MB / 446.1 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.005254/0.4211, allocations: 1.94 MB / 0.5937 GB, free: 13.32 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.053e-05/0.4211, allocations: 12 kB / 0.5937 GB, free: 13.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.339e-05/0.4211, allocations: 12 kB / 0.5937 GB, free: 13.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002141/0.4233, allocations: 257.5 kB / 0.594 GB, free: 13.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001216/0.4245, allocations: 347.5 kB / 0.5943 GB, free: 12.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00618/0.4307, allocations: 3.671 MB / 0.5979 GB, free: 8.797 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001131/0.4318, allocations: 40 kB / 0.5979 GB, free: 8.758 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001486/0.4319, allocations: 80.05 kB / 0.598 GB, free: 8.68 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.0005201/0.4325, allocations: 297.8 kB / 0.5983 GB, free: 8.379 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002411/0.4327, allocations: 119.2 kB / 0.5984 GB, free: 8.262 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004154/0.4369, allocations: 1.248 MB / 0.5996 GB, free: 7.004 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.089e-05/0.4369, allocations: 8 kB / 0.5996 GB, free: 6.996 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.4369, allocations: 0 / 0.5996 GB, free: 6.996 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.123e-05/0.4369, allocations: 3.984 kB / 0.5996 GB, free: 6.992 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001691/0.4386, allocations: 1.073 MB / 0.6007 GB, free: 5.859 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/0.4386, allocations: 4 kB / 0.6007 GB, free: 5.855 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007184/0.4393, allocations: 167.8 kB / 0.6009 GB, free: 5.691 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00209/0.4414, allocations: 237.6 kB / 0.6011 GB, free: 5.453 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.145e-05/0.4415, allocations: 47.8 kB / 0.6011 GB, free: 5.406 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005488/0.447, allocations: 3.553 MB / 0.6046 GB, free: 1.629 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.447, allocations: 8.094 kB / 0.6046 GB, free: 1.621 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004528/0.4515, allocations: 1.6 MB / 0.6062 GB, free: 15.98 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003248/0.4518, allocations: 99.28 kB / 0.6063 GB, free: 15.89 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000153/0.452, allocations: 20 kB / 0.6063 GB, free: 15.87 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000562/0.4525, allocations: 23.98 kB / 0.6063 GB, free: 15.85 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001678/0.4527, allocations: 76.75 kB / 0.6064 GB, free: 15.77 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.399e-05/0.4528, allocations: 47.91 kB / 0.6064 GB, free: 15.73 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001172/0.454, allocations: 0.9297 MB / 0.6073 GB, free: 14.79 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.454, allocations: 0 / 0.6073 GB, free: 14.79 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002567/0.4565, allocations: 0.8491 MB / 0.6082 GB, free: 13.93 MB / 462.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.002019/0.4586, allocations: 1.031 MB / 0.6092 GB, free: 12.89 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002508/0.4611, allocations: 1.356 MB / 0.6105 GB, free: 11.51 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.4611, allocations: 0 / 0.6105 GB, free: 11.51 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001067/0.4621, allocations: 0.6445 MB / 0.6111 GB, free: 10.84 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00118/0.4633, allocations: 234.4 kB / 0.6113 GB, free: 10.61 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003728/0.467, allocations: 2.175 MB / 0.6135 GB, free: 8.395 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007633/0.4678, allocations: 1.077 MB / 0.6145 GB, free: 7.289 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000531/0.4683, allocations: 226.8 kB / 0.6147 GB, free: 7.066 MB / 462.1 MB Notification: Performance of SimCode: time 5.51e-07/0.4683, allocations: 0 / 0.6147 GB, free: 7.066 MB / 462.1 MB Notification: Performance of Templates: time 0.04137/0.5097, allocations: 31.82 MB / 0.6458 GB, free: 7.332 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.739041686058044] Failed to read output from testmodel.py, exit status != 0: 0.5187447229400277 0.532955925 0.17196929300000002 Calling exit ...