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.001514/0.001514, allocations: 106.2 kB / 16.45 MB, free: 6.488 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.001526/0.001526, allocations: 216.2 kB / 19.43 MB, free: 3.656 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.51/1.51, allocations: 230.6 MB / 252.8 MB, free: 8.977 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.162/0.162, allocations: 23.89 MB / 332.7 MB, free: 12.32 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.002137/0.002137, allocations: 71.89 kB / 466.5 MB, free: 9.535 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3229/0.3251, allocations: 59.84 MB / 0.514 GB, free: 9.41 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility_blood): time 0.006685/0.3317, allocations: 7.021 MB / 0.5209 GB, free: 4.441 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02599/0.3577, allocations: 21.89 MB / 0.5423 GB, free: 4.449 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001258/0.359, allocations: 21.41 kB / 0.5423 GB, free: 4.438 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001315/0.3603, allocations: 449 kB / 0.5427 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005309/0.3656, allocations: 1.664 MB / 0.5443 GB, free: 3.184 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01018/0.3758, allocations: 2.824 MB / 0.5471 GB, free: 1.512 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00449/0.3803, allocations: 1.83 MB / 0.5489 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001959/0.3822, allocations: 0.7607 MB / 0.5496 GB, free: 244 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002375/0.3846, allocations: 0.872 MB / 0.5505 GB, free: 15.87 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002826/0.3874, allocations: 0.9595 MB / 0.5514 GB, free: 15.29 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006875/0.3881, allocations: 152.8 kB / 0.5516 GB, free: 15.29 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01348/0.4016, allocations: 2.346 MB / 0.5538 GB, free: 14.41 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001171/0.4028, allocations: 368.4 kB / 0.5542 GB, free: 14.12 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002972/0.4058, allocations: 0.7928 MB / 0.555 GB, free: 13.59 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01407/0.4198, allocations: 4.255 MB / 0.5591 GB, free: 10.94 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.4198, allocations: 0 / 0.5591 GB, free: 10.94 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4198, allocations: 0 / 0.5591 GB, free: 10.94 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.393e-05/0.4199, allocations: 1.281 kB / 0.5591 GB, free: 10.94 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.00541/0.4253, allocations: 2.13 MB / 0.5612 GB, free: 9.406 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.4254, allocations: 8.844 kB / 0.5612 GB, free: 9.406 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001935/0.4273, allocations: 393 kB / 0.5616 GB, free: 9.219 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001643/0.4289, allocations: 0.7595 MB / 0.5623 GB, free: 8.598 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.708e-05/0.429, allocations: 97.66 kB / 0.5624 GB, free: 8.551 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002732/0.4293, allocations: 130.8 kB / 0.5625 GB, free: 8.504 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003219/0.4325, allocations: 1.755 MB / 0.5643 GB, free: 7.465 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.647e-05/0.4325, allocations: 4 kB / 0.5643 GB, free: 7.461 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001452/0.4327, allocations: 50.06 kB / 0.5643 GB, free: 7.422 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.115e-05/0.4327, allocations: 33.97 kB / 0.5643 GB, free: 7.418 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004128/0.4368, allocations: 2.486 MB / 0.5668 GB, free: 4.961 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.009503/0.4464, allocations: 5.112 MB / 0.5718 GB, free: 15.65 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003822/0.4502, allocations: 2.179 MB / 0.5739 GB, free: 13.39 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008826/0.4511, allocations: 495 kB / 0.5744 GB, free: 12.91 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00846/0.4595, allocations: 5.328 MB / 0.5796 GB, free: 6.953 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.033e-05/0.4596, allocations: 47.2 kB / 0.5796 GB, free: 6.898 MB / 430.1 MB Notification: Performance of pre-optimization done (n=72): time 2.605e-06/0.4596, allocations: 0 / 0.5796 GB, free: 6.898 MB / 430.1 MB Notification: Performance of matching and sorting (n=89): time 0.0153/0.4749, allocations: 3.384 MB / 0.5829 GB, free: 3.449 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.322e-05/0.4749, allocations: 64.41 kB / 0.583 GB, free: 3.371 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001859/0.4768, allocations: 1.296 MB / 0.5842 GB, free: 2.051 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.44e-05/0.4768, allocations: 37.7 kB / 0.5843 GB, free: 2.008 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005863/0.4774, allocations: 0.71 MB / 0.585 GB, free: 1.289 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003489/0.4778, allocations: 333.2 kB / 0.5853 GB, free: 0.9609 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004794/0.4783, allocations: 295.4 kB / 0.5856 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001988/0.4785, allocations: 361.9 kB / 0.5859 GB, free: 312 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009137/0.4794, allocations: 0.5037 MB / 0.5864 GB, free: 15.8 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001365/0.4807, allocations: 1 MB / 0.5874 GB, free: 14.58 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002185/0.4829, allocations: 1.433 MB / 0.5888 GB, free: 12.93 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.186e-05/0.4829, allocations: 8 kB / 0.5888 GB, free: 12.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.005086/0.488, allocations: 1.905 MB / 0.5907 GB, free: 11 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.804e-05/0.488, allocations: 15.94 kB / 0.5907 GB, free: 10.99 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.263e-05/0.4881, allocations: 16 kB / 0.5907 GB, free: 10.97 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002041/0.4901, allocations: 257.5 kB / 0.5909 GB, free: 10.71 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001184/0.4913, allocations: 347.5 kB / 0.5913 GB, free: 10.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00625/0.4976, allocations: 3.873 MB / 0.595 GB, free: 6.223 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001184/0.4987, allocations: 48 kB / 0.5951 GB, free: 6.176 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001813/0.4989, allocations: 79.98 kB / 0.5952 GB, free: 6.098 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.0005688/0.4995, allocations: 297.3 kB / 0.5955 GB, free: 5.797 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000319/0.4998, allocations: 111.2 kB / 0.5956 GB, free: 5.688 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004193/0.504, allocations: 1.244 MB / 0.5968 GB, free: 4.43 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-05/0.504, allocations: 12.14 kB / 0.5968 GB, free: 4.418 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.453e-06/0.504, allocations: 3.984 kB / 0.5968 GB, free: 4.414 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.077e-05/0.504, allocations: 7.922 kB / 0.5968 GB, free: 4.406 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001851/0.5059, allocations: 1.105 MB / 0.5979 GB, free: 3.238 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/0.5059, allocations: 0 / 0.5979 GB, free: 3.238 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007153/0.5066, allocations: 179.7 kB / 0.598 GB, free: 3.062 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001935/0.5085, allocations: 225.6 kB / 0.5983 GB, free: 2.836 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.338e-05/0.5086, allocations: 39.92 kB / 0.5983 GB, free: 2.797 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005594/0.5142, allocations: 3.756 MB / 0.602 GB, free: 14.76 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.004e-06/0.5142, allocations: 8.016 kB / 0.602 GB, free: 14.75 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004678/0.5189, allocations: 1.604 MB / 0.6035 GB, free: 13.11 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003747/0.5193, allocations: 176.6 kB / 0.6037 GB, free: 12.92 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002275/0.5195, allocations: 28 kB / 0.6037 GB, free: 12.89 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006103/0.5201, allocations: 20 kB / 0.6038 GB, free: 12.87 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001841/0.5203, allocations: 76.83 kB / 0.6038 GB, free: 12.8 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.283e-05/0.5204, allocations: 43.92 kB / 0.6039 GB, free: 12.75 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001223/0.5216, allocations: 0.9062 MB / 0.6048 GB, free: 11.84 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5216, allocations: 0 / 0.6048 GB, free: 11.84 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002869/0.5245, allocations: 0.8491 MB / 0.6056 GB, free: 10.98 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.002578/0.5271, allocations: 1.031 MB / 0.6066 GB, free: 9.945 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002659/0.5297, allocations: 1.349 MB / 0.6079 GB, free: 8.57 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.5297, allocations: 4.25 kB / 0.6079 GB, free: 8.566 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001123/0.5308, allocations: 0.6473 MB / 0.6085 GB, free: 7.898 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001275/0.5321, allocations: 227.5 kB / 0.6088 GB, free: 7.68 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004028/0.5361, allocations: 2.143 MB / 0.6109 GB, free: 5.492 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008815/0.537, allocations: 1.077 MB / 0.6119 GB, free: 4.383 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0009129/0.5379, allocations: 255.9 kB / 0.6122 GB, free: 4.137 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003944/0.5383, allocations: 175 kB / 0.6123 GB, free: 3.965 MB / 462.1 MB Notification: Performance of SimCode: time 6.61e-07/0.5383, allocations: 0 / 0.6123 GB, free: 3.965 MB / 462.1 MB Notification: Performance of Templates: time 0.05041/0.5887, allocations: 28.87 MB / 0.6405 GB, free: 7.215 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: 6.07818160019815] Failed to read output from testmodel.py, exit status != 0: 0.59806321375072 0.611613789 0.188595327 Calling exit ...