Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.001413/0.001413, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001625/0.001625, allocations: 220.7 kB / 23.01 MB, free: 4.609 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.444/1.444, allocations: 230.6 MB / 256.8 MB, free: 8.039 MB / 206.1 MB " [Timeout remaining time 178] 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.1444/0.1444, allocations: 23.89 MB / 337.1 MB, free: 11.18 MB / 270.1 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_blood,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.GasSolubility_blood") translateModel(Chemical.Obsolete.Examples.GasSolubility_blood,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_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.002481/0.002481, allocations: 71.88 kB / 472.5 MB, free: 7.16 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3723/0.3747, allocations: 59.88 MB / 0.5199 GB, free: 9.828 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility_blood): time 0.006825/0.3816, allocations: 7.075 MB / 0.5268 GB, free: 4.812 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02795/0.4095, allocations: 21.93 MB / 0.5482 GB, free: 4.824 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001554/0.4111, allocations: 22.22 kB / 0.5482 GB, free: 4.812 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001835/0.4129, allocations: 453.7 kB / 0.5487 GB, free: 4.562 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006811/0.4197, allocations: 1.673 MB / 0.5503 GB, free: 3.559 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01023/0.4299, allocations: 2.852 MB / 0.5531 GB, free: 1.883 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003838/0.4338, allocations: 1.827 MB / 0.5549 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001386/0.4352, allocations: 0.7661 MB / 0.5556 GB, free: 380 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001607/0.4368, allocations: 0.8715 MB / 0.5565 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001833/0.4386, allocations: 0.9548 MB / 0.5574 GB, free: 15.39 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002737/0.4389, allocations: 153.6 kB / 0.5575 GB, free: 15.39 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01005/0.4489, allocations: 2.346 MB / 0.5598 GB, free: 14.52 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007367/0.4497, allocations: 367.8 kB / 0.5602 GB, free: 14.22 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001495/0.4512, allocations: 0.7929 MB / 0.561 GB, free: 13.69 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01346/0.4646, allocations: 4.254 MB / 0.5651 GB, free: 11.04 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.466e-06/0.4646, allocations: 5.156 kB / 0.5651 GB, free: 11.04 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.4646, allocations: 0 / 0.5651 GB, free: 11.04 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.507e-05/0.4647, allocations: 0 / 0.5651 GB, free: 11.04 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.004913/0.4696, allocations: 2.057 MB / 0.5671 GB, free: 9.449 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.4696, allocations: 11.97 kB / 0.5671 GB, free: 9.438 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001816/0.4714, allocations: 395.1 kB / 0.5675 GB, free: 9.051 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001612/0.4731, allocations: 0.6964 MB / 0.5682 GB, free: 8.328 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.061e-05/0.4731, allocations: 90.84 kB / 0.5683 GB, free: 8.238 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002271/0.4734, allocations: 132.3 kB / 0.5684 GB, free: 8.109 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002936/0.4763, allocations: 1.783 MB / 0.5701 GB, free: 6.285 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.572e-05/0.4763, allocations: 0 / 0.5701 GB, free: 6.285 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000132/0.4765, allocations: 52 kB / 0.5702 GB, free: 6.234 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.995e-05/0.4765, allocations: 28 kB / 0.5702 GB, free: 6.207 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003808/0.4803, allocations: 2.524 MB / 0.5727 GB, free: 3.676 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.009444/0.4897, allocations: 5.097 MB / 0.5777 GB, free: 14.39 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003569/0.4933, allocations: 1.878 MB / 0.5795 GB, free: 12.51 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008989/0.4942, allocations: 498.6 kB / 0.58 GB, free: 12.01 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006852/0.5011, allocations: 2.863 MB / 0.5828 GB, free: 9.125 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.027e-05/0.5011, allocations: 39.2 kB / 0.5828 GB, free: 9.074 MB / 430.1 MB Notification: Performance of pre-optimization done (n=72): time 2.565e-06/0.5011, allocations: 0 / 0.5828 GB, free: 9.074 MB / 430.1 MB Notification: Performance of matching and sorting (n=89): time 0.01558/0.5167, allocations: 3.238 MB / 0.586 GB, free: 5.801 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.378e-05/0.5167, allocations: 64.41 kB / 0.586 GB, free: 5.727 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001766/0.5185, allocations: 1.316 MB / 0.5873 GB, free: 4.387 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001025/0.5186, allocations: 41.7 kB / 0.5874 GB, free: 4.34 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005701/0.5192, allocations: 0.7061 MB / 0.588 GB, free: 3.625 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003256/0.5195, allocations: 333.2 kB / 0.5884 GB, free: 3.297 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004308/0.5199, allocations: 291.4 kB / 0.5886 GB, free: 3.004 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001869/0.5201, allocations: 357.8 kB / 0.589 GB, free: 2.648 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008544/0.521, allocations: 0.5232 MB / 0.5895 GB, free: 2.125 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001312/0.5223, allocations: 1.016 MB / 0.5905 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002129/0.5244, allocations: 1.441 MB / 0.5919 GB, free: 15.23 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.255e-05/0.5244, allocations: 8 kB / 0.5919 GB, free: 15.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.005053/0.5295, allocations: 1.932 MB / 0.5938 GB, free: 13.28 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.448e-05/0.5295, allocations: 12 kB / 0.5938 GB, free: 13.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.515e-05/0.5295, allocations: 12 kB / 0.5938 GB, free: 13.26 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001975/0.5315, allocations: 253.5 kB / 0.5941 GB, free: 13 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001214/0.5327, allocations: 347.5 kB / 0.5944 GB, free: 12.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005987/0.5387, allocations: 3.67 MB / 0.598 GB, free: 8.766 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001232/0.54, allocations: 48.06 kB / 0.598 GB, free: 8.719 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001809/0.5401, allocations: 87.97 kB / 0.5981 GB, free: 8.633 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.0005438/0.5407, allocations: 292.8 kB / 0.5984 GB, free: 8.34 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002666/0.5409, allocations: 123.1 kB / 0.5985 GB, free: 8.219 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004149/0.5451, allocations: 1.245 MB / 0.5997 GB, free: 6.965 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-05/0.5451, allocations: 8 kB / 0.5997 GB, free: 6.957 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.5451, allocations: 0 / 0.5997 GB, free: 6.957 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.157e-05/0.5451, allocations: 7.984 kB / 0.5997 GB, free: 6.949 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001848/0.547, allocations: 1.073 MB / 0.6008 GB, free: 5.816 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.805e-06/0.547, allocations: 4 kB / 0.6008 GB, free: 5.812 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007097/0.5477, allocations: 171.8 kB / 0.6009 GB, free: 5.645 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002071/0.5498, allocations: 229.6 kB / 0.6012 GB, free: 5.414 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.774e-05/0.5499, allocations: 39.92 kB / 0.6012 GB, free: 5.375 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005531/0.5554, allocations: 3.561 MB / 0.6047 GB, free: 1.59 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.5554, allocations: 4.031 kB / 0.6047 GB, free: 1.586 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004628/0.56, allocations: 1.6 MB / 0.6062 GB, free: 15.95 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003855/0.5604, allocations: 99.28 kB / 0.6063 GB, free: 15.85 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001588/0.5606, allocations: 23.98 kB / 0.6064 GB, free: 15.83 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005505/0.5611, allocations: 20 kB / 0.6064 GB, free: 15.81 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001755/0.5613, allocations: 80.73 kB / 0.6065 GB, free: 15.73 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.053e-05/0.5614, allocations: 39.98 kB / 0.6065 GB, free: 15.69 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001214/0.5626, allocations: 0.9336 MB / 0.6074 GB, free: 14.74 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5626, allocations: 0 / 0.6074 GB, free: 14.74 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002784/0.5654, allocations: 0.853 MB / 0.6082 GB, free: 13.89 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.002231/0.5676, allocations: 1.019 MB / 0.6092 GB, free: 12.86 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002631/0.5702, allocations: 1.371 MB / 0.6106 GB, free: 11.46 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.5702, allocations: 0 / 0.6106 GB, free: 11.46 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0011/0.5713, allocations: 0.6449 MB / 0.6112 GB, free: 10.79 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00132/0.5727, allocations: 232.2 kB / 0.6114 GB, free: 10.57 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00397/0.5766, allocations: 2.167 MB / 0.6135 GB, free: 8.355 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007875/0.5774, allocations: 1.081 MB / 0.6146 GB, free: 7.246 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006085/0.578, allocations: 218.8 kB / 0.6148 GB, free: 7.031 MB / 462.1 MB Notification: Performance of SimCode: time 1.212e-06/0.578, allocations: 0 / 0.6148 GB, free: 7.031 MB / 462.1 MB Notification: Performance of Templates: time 0.04613/0.6242, allocations: 31.83 MB / 0.6459 GB, free: 7.281 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.GasSolubility_blood.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.GasSolubility_blood.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.GasSolubility_blood.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.GasSolubility_blood.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.GasSolubility_blood.sim & ./Chemical_master_Chemical.Obsolete.Examples.GasSolubility_blood -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.GasSolubility_blood.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.415700969024329] Failed to read output from testmodel.py, exit status != 0: 0.634726482006954 0.648138424 0.18006919300000002 Calling exit ...