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.001347/0.001347, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.00157/0.00157, allocations: 211.3 kB / 22.99 MB, free: 4.957 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.421/1.421, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.1424/0.1424, allocations: 23.93 MB / 337.1 MB, free: 10.91 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.001962/0.001962, allocations: 71.89 kB / 472.4 MB, free: 6.934 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3249/0.3269, allocations: 59.87 MB / 0.5198 GB, free: 9.746 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility_blood): time 0.006538/0.3334, allocations: 6.259 MB / 0.5259 GB, free: 5.594 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02516/0.3586, allocations: 19.18 MB / 0.5447 GB, free: 8.539 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00139/0.36, allocations: 22.19 kB / 0.5447 GB, free: 8.527 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001382/0.3613, allocations: 405.3 kB / 0.5451 GB, free: 8.324 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00572/0.3671, allocations: 1.635 MB / 0.5467 GB, free: 7.359 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008957/0.376, allocations: 2.85 MB / 0.5495 GB, free: 5.688 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003097/0.3791, allocations: 1.831 MB / 0.5512 GB, free: 4.707 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001195/0.3803, allocations: 0.7684 MB / 0.552 GB, free: 4.145 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001354/0.3817, allocations: 0.8711 MB / 0.5528 GB, free: 3.738 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001432/0.3831, allocations: 0.959 MB / 0.5538 GB, free: 3.156 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002551/0.3833, allocations: 153.4 kB / 0.5539 GB, free: 3.156 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007079/0.3904, allocations: 2.256 MB / 0.5561 GB, free: 2.375 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000529/0.391, allocations: 364.2 kB / 0.5565 GB, free: 2.082 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001291/0.3922, allocations: 0.6765 MB / 0.5571 GB, free: 1.672 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01113/0.4034, allocations: 4.231 MB / 0.5613 GB, free: 15.06 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.548e-06/0.4034, allocations: 4 kB / 0.5613 GB, free: 15.06 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.4034, allocations: 4 kB / 0.5613 GB, free: 15.05 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.336e-05/0.4034, allocations: 0 / 0.5613 GB, free: 15.05 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.005019/0.4084, allocations: 2.056 MB / 0.5633 GB, free: 13.03 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.114e-05/0.4085, allocations: 8.031 kB / 0.5633 GB, free: 13.02 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001959/0.4104, allocations: 395 kB / 0.5637 GB, free: 12.64 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001763/0.4122, allocations: 0.7002 MB / 0.5644 GB, free: 11.91 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.914e-05/0.4123, allocations: 94.84 kB / 0.5644 GB, free: 11.82 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002745/0.4126, allocations: 132.3 kB / 0.5646 GB, free: 11.69 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003044/0.4156, allocations: 1.779 MB / 0.5663 GB, free: 9.867 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.682e-05/0.4157, allocations: 0 / 0.5663 GB, free: 9.867 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001368/0.4158, allocations: 59.94 kB / 0.5664 GB, free: 9.809 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.918e-05/0.4158, allocations: 28 kB / 0.5664 GB, free: 9.781 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004012/0.4198, allocations: 2.497 MB / 0.5688 GB, free: 7.277 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.008873/0.4287, allocations: 4.176 MB / 0.5729 GB, free: 3.031 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003493/0.4322, allocations: 1.835 MB / 0.5747 GB, free: 1.191 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008372/0.433, allocations: 0.4899 MB / 0.5752 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006402/0.4394, allocations: 2.693 MB / 0.5778 GB, free: 13.98 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.252e-05/0.4395, allocations: 43.22 kB / 0.5778 GB, free: 13.93 MB / 430.1 MB Notification: Performance of pre-optimization done (n=72): time 3.106e-06/0.4395, allocations: 0 / 0.5778 GB, free: 13.93 MB / 430.1 MB Notification: Performance of matching and sorting (n=89): time 0.0163/0.4558, allocations: 3.224 MB / 0.581 GB, free: 10.67 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.638e-05/0.4558, allocations: 64.41 kB / 0.5811 GB, free: 10.59 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001571/0.4574, allocations: 1.286 MB / 0.5823 GB, free: 9.293 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.467e-05/0.4575, allocations: 37.7 kB / 0.5823 GB, free: 9.25 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005106/0.458, allocations: 0.7138 MB / 0.583 GB, free: 8.527 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002903/0.4583, allocations: 329.2 kB / 0.5834 GB, free: 8.203 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004187/0.4587, allocations: 291.4 kB / 0.5836 GB, free: 7.914 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001665/0.4589, allocations: 353.9 kB / 0.584 GB, free: 7.562 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000827/0.4597, allocations: 0.5271 MB / 0.5845 GB, free: 7.035 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001259/0.461, allocations: 1.008 MB / 0.5855 GB, free: 5.82 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002002/0.463, allocations: 1.445 MB / 0.5869 GB, free: 4.156 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.837e-06/0.463, allocations: 4 kB / 0.5869 GB, free: 4.152 MB / 430.1 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.005015/0.468, allocations: 1.928 MB / 0.5888 GB, free: 2.211 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.912e-05/0.468, allocations: 12 kB / 0.5888 GB, free: 2.199 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.001e-05/0.468, allocations: 16 kB / 0.5888 GB, free: 2.184 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002258/0.4703, allocations: 249.5 kB / 0.589 GB, free: 1.934 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001175/0.4715, allocations: 355.5 kB / 0.5894 GB, free: 1.586 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006126/0.4776, allocations: 3.601 MB / 0.5929 GB, free: 13.78 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001216/0.4788, allocations: 48 kB / 0.5929 GB, free: 13.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001597/0.479, allocations: 79.97 kB / 0.593 GB, free: 13.66 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.0005652/0.4795, allocations: 293.3 kB / 0.5933 GB, free: 13.36 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002495/0.4798, allocations: 103.3 kB / 0.5934 GB, free: 13.26 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004257/0.4841, allocations: 1.24 MB / 0.5946 GB, free: 12 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.166e-05/0.4841, allocations: 12 kB / 0.5946 GB, free: 11.99 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.4841, allocations: 4 kB / 0.5946 GB, free: 11.99 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.635e-05/0.4841, allocations: 11.91 kB / 0.5946 GB, free: 11.98 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001483/0.4856, allocations: 0.8117 MB / 0.5954 GB, free: 11.12 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.4856, allocations: 0 / 0.5954 GB, free: 11.12 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007032/0.4863, allocations: 179.8 kB / 0.5956 GB, free: 10.94 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002191/0.4885, allocations: 229.6 kB / 0.5958 GB, free: 10.71 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.458e-05/0.4885, allocations: 27.98 kB / 0.5958 GB, free: 10.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005447/0.494, allocations: 3.484 MB / 0.5992 GB, free: 7 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/0.494, allocations: 4 kB / 0.5992 GB, free: 6.996 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004637/0.4986, allocations: 1.592 MB / 0.6008 GB, free: 5.371 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004196/0.4991, allocations: 99.38 kB / 0.6009 GB, free: 5.273 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001647/0.4992, allocations: 23.92 kB / 0.6009 GB, free: 5.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005723/0.4998, allocations: 20 kB / 0.6009 GB, free: 5.23 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002233/0.5, allocations: 80.8 kB / 0.601 GB, free: 5.152 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.734e-05/0.5001, allocations: 39.98 kB / 0.6011 GB, free: 5.113 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001157/0.5013, allocations: 0.8817 MB / 0.6019 GB, free: 4.234 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5013, allocations: 4 kB / 0.6019 GB, free: 4.23 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002821/0.5041, allocations: 0.8452 MB / 0.6027 GB, free: 3.383 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.002147/0.5062, allocations: 1.035 MB / 0.6038 GB, free: 2.336 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002544/0.5088, allocations: 1.364 MB / 0.6051 GB, free: 0.9492 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.5088, allocations: 384 / 0.6051 GB, free: 0.9492 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001053/0.5098, allocations: 0.6434 MB / 0.6057 GB, free: 284 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001265/0.5111, allocations: 224.6 kB / 0.6059 GB, free: 64 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003887/0.515, allocations: 2.134 MB / 0.608 GB, free: 13.89 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005994/0.5156, allocations: 0.4922 MB / 0.6085 GB, free: 13.36 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001009/0.5166, allocations: 251.2 kB / 0.6087 GB, free: 13.12 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003976/0.517, allocations: 162.8 kB / 0.6089 GB, free: 12.96 MB / 462.1 MB Notification: Performance of SimCode: time 1.112e-06/0.517, allocations: 4 kB / 0.6089 GB, free: 12.95 MB / 462.1 MB Notification: Performance of Templates: time 0.05089/0.5679, allocations: 30.71 MB / 0.6389 GB, free: 14.44 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 -s cvode -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.GasSolubility_blood.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.920982038995135] Failed to read output from testmodel.py, exit status != 0: 0.5773612539924216 0.5926154960000001 0.185880931 Calling exit ...