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.001381/0.001381, 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.001585/0.001585, allocations: 221.6 kB / 23 MB, free: 4.918 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.443/1.443, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.1411/0.1411, allocations: 23.99 MB / 337.2 MB, free: 10.9 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.002154/0.002154, allocations: 63.91 kB / 472.5 MB, free: 6.891 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3176/0.3197, allocations: 59.9 MB / 0.5199 GB, free: 9.766 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility_blood): time 0.007124/0.3268, allocations: 6.256 MB / 0.5261 GB, free: 5.617 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02498/0.3518, allocations: 19.19 MB / 0.5448 GB, free: 8.559 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001668/0.3535, allocations: 21.22 kB / 0.5448 GB, free: 8.547 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001604/0.3551, allocations: 409.5 kB / 0.5452 GB, free: 8.344 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006426/0.3615, allocations: 1.631 MB / 0.5468 GB, free: 7.379 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009798/0.3713, allocations: 2.854 MB / 0.5496 GB, free: 5.703 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003436/0.3747, allocations: 1.835 MB / 0.5514 GB, free: 4.688 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001316/0.3761, allocations: 0.753 MB / 0.5521 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001327/0.3774, allocations: 0.8709 MB / 0.553 GB, free: 3.734 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001593/0.379, allocations: 0.8622 MB / 0.5538 GB, free: 3.25 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002843/0.3793, allocations: 153.4 kB / 0.5539 GB, free: 3.25 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007814/0.3871, allocations: 2.197 MB / 0.5561 GB, free: 2.527 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005588/0.3876, allocations: 367.9 kB / 0.5564 GB, free: 2.23 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001173/0.3888, allocations: 0.6687 MB / 0.5571 GB, free: 1.828 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01212/0.4009, allocations: 4.238 MB / 0.5612 GB, free: 15.18 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.4009, allocations: 4 kB / 0.5612 GB, free: 15.18 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.083e-06/0.4009, allocations: 0 / 0.5612 GB, free: 15.18 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.054e-05/0.401, allocations: 0 / 0.5612 GB, free: 15.18 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.004494/0.4055, allocations: 2.049 MB / 0.5632 GB, free: 13.09 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.4055, allocations: 8.031 kB / 0.5632 GB, free: 13.08 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001707/0.4072, allocations: 395.1 kB / 0.5636 GB, free: 12.7 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001516/0.4087, allocations: 0.7002 MB / 0.5643 GB, free: 11.97 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.7e-05/0.4088, allocations: 94.84 kB / 0.5644 GB, free: 11.88 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002446/0.4091, allocations: 128.3 kB / 0.5645 GB, free: 11.75 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003043/0.4121, allocations: 1.787 MB / 0.5663 GB, free: 9.922 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.932e-05/0.4121, allocations: 0 / 0.5663 GB, free: 9.922 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001317/0.4123, allocations: 48 kB / 0.5663 GB, free: 9.875 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.793e-05/0.4123, allocations: 28 kB / 0.5663 GB, free: 9.848 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003891/0.4162, allocations: 2.5 MB / 0.5688 GB, free: 7.34 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.008498/0.4247, allocations: 4.18 MB / 0.5729 GB, free: 3.09 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003652/0.4283, allocations: 1.838 MB / 0.5747 GB, free: 1.254 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008778/0.4292, allocations: 498.6 kB / 0.5751 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006527/0.4357, allocations: 2.689 MB / 0.5778 GB, free: 14.05 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.841e-05/0.4358, allocations: 39.22 kB / 0.5778 GB, free: 14 MB / 430.1 MB Notification: Performance of pre-optimization done (n=72): time 2.635e-06/0.4358, allocations: 0 / 0.5778 GB, free: 14 MB / 430.1 MB Notification: Performance of matching and sorting (n=89): time 0.01482/0.4506, allocations: 3.237 MB / 0.581 GB, free: 10.73 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.125e-05/0.4507, allocations: 60.41 kB / 0.581 GB, free: 10.66 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001694/0.4524, allocations: 1.282 MB / 0.5823 GB, free: 9.359 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.034e-05/0.4524, allocations: 41.7 kB / 0.5823 GB, free: 9.312 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005542/0.453, allocations: 0.7061 MB / 0.583 GB, free: 8.598 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003186/0.4533, allocations: 341.2 kB / 0.5833 GB, free: 8.262 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004224/0.4537, allocations: 287.4 kB / 0.5836 GB, free: 7.977 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002011/0.4539, allocations: 353.9 kB / 0.5839 GB, free: 7.625 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000906/0.4548, allocations: 0.5271 MB / 0.5844 GB, free: 7.098 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001343/0.4562, allocations: 1.008 MB / 0.5854 GB, free: 5.883 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002169/0.4584, allocations: 1.441 MB / 0.5868 GB, free: 4.219 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.255e-05/0.4584, allocations: 15.94 kB / 0.5869 GB, free: 4.203 MB / 430.1 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.004909/0.4633, allocations: 1.92 MB / 0.5887 GB, free: 2.273 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.774e-05/0.4633, allocations: 12 kB / 0.5887 GB, free: 2.262 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.834e-05/0.4633, allocations: 16 kB / 0.5888 GB, free: 2.246 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001962/0.4653, allocations: 253.5 kB / 0.589 GB, free: 1.992 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001216/0.4665, allocations: 351.5 kB / 0.5893 GB, free: 1.648 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005882/0.4724, allocations: 3.593 MB / 0.5928 GB, free: 13.85 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001128/0.4735, allocations: 52.06 kB / 0.5929 GB, free: 13.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001701/0.4737, allocations: 79.97 kB / 0.593 GB, free: 13.72 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.0005632/0.4743, allocations: 293.3 kB / 0.5933 GB, free: 13.43 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002388/0.4745, allocations: 103.3 kB / 0.5933 GB, free: 13.32 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003953/0.4784, allocations: 1.24 MB / 0.5946 GB, free: 12.07 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-05/0.4785, allocations: 11.98 kB / 0.5946 GB, free: 12.06 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.4785, allocations: 4 kB / 0.5946 GB, free: 12.05 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.679e-05/0.4785, allocations: 11.92 kB / 0.5946 GB, free: 12.04 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001587/0.4801, allocations: 0.8235 MB / 0.5954 GB, free: 11.17 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.488e-06/0.4801, allocations: 4 kB / 0.5954 GB, free: 11.17 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006961/0.4808, allocations: 171.8 kB / 0.5956 GB, free: 11 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001847/0.4826, allocations: 229.6 kB / 0.5958 GB, free: 10.77 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.736e-05/0.4827, allocations: 31.98 kB / 0.5958 GB, free: 10.74 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005357/0.4881, allocations: 3.488 MB / 0.5992 GB, free: 7.051 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.4881, allocations: 0 / 0.5992 GB, free: 7.051 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004278/0.4923, allocations: 1.584 MB / 0.6008 GB, free: 5.434 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003089/0.4927, allocations: 95.39 kB / 0.6009 GB, free: 5.34 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001496/0.4928, allocations: 19.94 kB / 0.6009 GB, free: 5.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005372/0.4933, allocations: 27.98 kB / 0.6009 GB, free: 5.293 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001892/0.4935, allocations: 84.8 kB / 0.601 GB, free: 5.211 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.158e-05/0.4936, allocations: 40.11 kB / 0.601 GB, free: 5.172 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001122/0.4947, allocations: 0.8856 MB / 0.6019 GB, free: 4.289 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4947, allocations: 0 / 0.6019 GB, free: 4.289 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002699/0.4974, allocations: 0.8452 MB / 0.6027 GB, free: 3.441 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.002096/0.4995, allocations: 1.02 MB / 0.6037 GB, free: 2.41 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002621/0.5021, allocations: 1.367 MB / 0.605 GB, free: 1.016 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.5022, allocations: 5.875 kB / 0.605 GB, free: 1.012 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0011/0.5033, allocations: 0.6476 MB / 0.6057 GB, free: 348 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001187/0.5044, allocations: 219.3 kB / 0.6059 GB, free: 128 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004247/0.5087, allocations: 2.175 MB / 0.608 GB, free: 13.9 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006124/0.5093, allocations: 0.4921 MB / 0.6085 GB, free: 13.38 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000613/0.5099, allocations: 218.8 kB / 0.6087 GB, free: 13.16 MB / 462.1 MB Notification: Performance of SimCode: time 9.22e-07/0.5099, allocations: 7.938 kB / 0.6087 GB, free: 13.15 MB / 462.1 MB Notification: Performance of Templates: time 0.04467/0.5546, allocations: 32.13 MB / 0.6401 GB, free: 13.11 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: 9.80364689603448] Failed to read output from testmodel.py, exit status != 0: 0.5645661260932684 0.5796213579999999 0.175225329 Calling exit ...