Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.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.001789/0.001789, allocations: 105.4 kB / 16.45 MB, free: 6.453 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.002079/0.002079, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.506/1.506, allocations: 230.6 MB / 252.8 MB, free: 8.934 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.2143/0.2143, allocations: 23.89 MB / 332.7 MB, free: 12.29 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.AcidBase.CarbonDioxideInBlood,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood") translateModel(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood") [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.002173/0.002173, allocations: 67.91 kB / 466.5 MB, free: 9.488 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3213/0.3235, allocations: 59.83 MB / 0.514 GB, free: 9.148 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Obsolete.mo:14335:7-14335:66:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Obsolete.mo:14335:7-14335:66:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"system\" component but an inner \"system\" component is not defined. For simulation drag Modelica.Fluid.System into your model to specify system properties. Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood): time 0.04867/0.3722, allocations: 35.12 MB / 0.5483 GB, free: 6.055 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0634/0.4356, allocations: 47.63 MB / 0.5949 GB, free: 8.246 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002966/0.4385, allocations: 47.62 kB / 0.5949 GB, free: 8.199 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003316/0.4418, allocations: 1.024 MB / 0.5959 GB, free: 7.168 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01206/0.4539, allocations: 3.74 MB / 0.5996 GB, free: 3.402 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01944/0.4733, allocations: 6.411 MB / 0.6058 GB, free: 12.95 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.007336/0.4807, allocations: 4.547 MB / 0.6103 GB, free: 8.383 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00386/0.4845, allocations: 2.277 MB / 0.6125 GB, free: 6.051 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003573/0.4881, allocations: 2.28 MB / 0.6147 GB, free: 3.766 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004351/0.4925, allocations: 2.613 MB / 0.6173 GB, free: 1.145 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001191/0.4936, allocations: 424 kB / 0.6177 GB, free: 0.7305 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01736/0.511, allocations: 5.359 MB / 0.6229 GB, free: 11.36 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001938/0.5129, allocations: 0.9932 MB / 0.6239 GB, free: 10.37 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004375/0.5173, allocations: 2.03 MB / 0.6259 GB, free: 8.328 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02459/0.5419, allocations: 10.22 MB / 0.6358 GB, free: 14.07 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.5419, allocations: 3.938 kB / 0.6358 GB, free: 14.06 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.5419, allocations: 0 / 0.6358 GB, free: 14.06 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0001201/0.542, allocations: 0 / 0.6358 GB, free: 14.06 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 803 * Number of variables: 803 Notification: Performance of Generate backend data structure: time 0.01117/0.5532, allocations: 4.855 MB / 0.6406 GB, free: 9.133 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.5532, allocations: 8.031 kB / 0.6406 GB, free: 9.125 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003972/0.5572, allocations: 0.8527 MB / 0.6414 GB, free: 8.27 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003074/0.5603, allocations: 1.692 MB / 0.6431 GB, free: 6.523 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002803/0.5606, allocations: 298.2 kB / 0.6434 GB, free: 6.219 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000644/0.5612, allocations: 332.2 kB / 0.6437 GB, free: 5.895 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008059/0.5693, allocations: 4.512 MB / 0.6481 GB, free: 1.312 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.975e-05/0.5693, allocations: 0 / 0.6481 GB, free: 1.312 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003679/0.5697, allocations: 128 kB / 0.6482 GB, free: 1.188 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.448e-05/0.5698, allocations: 79.98 kB / 0.6483 GB, free: 1.109 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01035/0.5801, allocations: 6.173 MB / 0.6543 GB, free: 10.92 MB / 0.4981 GB 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.02818/0.6083, allocations: 14.13 MB / 0.6681 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01112/0.6194, allocations: 6.124 MB / 0.6741 GB, free: 6.078 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00459/0.624, allocations: 2.044 MB / 0.6761 GB, free: 4.027 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02461/0.6486, allocations: 14.92 MB / 0.6906 GB, free: 3.762 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.778e-05/0.6487, allocations: 64.78 kB / 0.6907 GB, free: 3.688 MB / 0.5294 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002194/0.6509, allocations: 469.7 kB / 0.6912 GB, free: 3.227 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=284): time 6.202e-06/0.6509, allocations: 0 / 0.6912 GB, free: 3.227 MB / 0.5294 GB Notification: Performance of matching and sorting (n=387): time 0.0976/0.7485, allocations: 23.86 MB / 0.7145 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.28e-05/0.7486, allocations: 94.45 kB / 0.7145 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002534/0.7511, allocations: 1.704 MB / 0.7162 GB, free: 9.195 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0007338/0.7518, allocations: 89.7 kB / 0.7163 GB, free: 9.102 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001112/0.753, allocations: 1.348 MB / 0.7176 GB, free: 7.738 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001597/0.7546, allocations: 1.371 MB / 0.719 GB, free: 6.355 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00132/0.7559, allocations: 0.7838 MB / 0.7197 GB, free: 5.559 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.756, allocations: 305.1 kB / 0.72 GB, free: 5.258 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003323/0.7593, allocations: 1.824 MB / 0.7218 GB, free: 3.426 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004552/0.7639, allocations: 2.819 MB / 0.7245 GB, free: 180 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2635/1.027, allocations: 4.933 MB / 0.7294 GB, free: 168.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.862e-05/1.027, allocations: 8.125 kB / 0.7294 GB, free: 168.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=542) (initialization): time 0.02998/1.057, allocations: 6.796 MB / 0.736 GB, free: 166.1 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.924e-05/1.057, allocations: 17.7 kB / 0.736 GB, free: 166.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.887e-05/1.058, allocations: 32.66 kB / 0.7361 GB, free: 166.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01846/1.076, allocations: 2.291 MB / 0.7383 GB, free: 165.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006374/1.082, allocations: 0.8883 MB / 0.7392 GB, free: 165.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03827/1.121, allocations: 18.39 MB / 0.7571 GB, free: 151.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005538/1.126, allocations: 146.9 kB / 0.7573 GB, free: 151.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008576/1.127, allocations: 231.6 kB / 0.7575 GB, free: 151.2 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 133 * 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 (469): * Single equations (assignments): 460 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,16,77.8%), (1,3,100.0%), (2,6,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 5 systems {(3,26), (1,3), (1,6), (1,2), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.002219/1.129, allocations: 0.6002 MB / 0.7581 GB, free: 150.8 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007626/1.13, allocations: 287.2 kB / 0.7583 GB, free: 150.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01751/1.148, allocations: 6.547 MB / 0.7647 GB, free: 148.3 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-05/1.148, allocations: 41.91 kB / 0.7648 GB, free: 148.3 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.218e-05/1.148, allocations: 14.69 kB / 0.7648 GB, free: 148.3 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.858e-05/1.148, allocations: 22.59 kB / 0.7648 GB, free: 148.3 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02137/1.169, allocations: 10.62 MB / 0.7752 GB, free: 143.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.551e-05/1.169, allocations: 6.609 kB / 0.7752 GB, free: 143.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002721/1.172, allocations: 0.6642 MB / 0.7758 GB, free: 143.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00885/1.181, allocations: 2.016 MB / 0.7778 GB, free: 142.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005973/1.181, allocations: 133.8 kB / 0.7779 GB, free: 142.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01828/1.199, allocations: 17.03 MB / 0.7946 GB, free: 127.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/1.199, allocations: 13.73 kB / 0.7946 GB, free: 127.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01665/1.216, allocations: 8.457 MB / 0.8028 GB, free: 120.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001287/1.217, allocations: 0.7126 MB / 0.8035 GB, free: 119.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000373/1.218, allocations: 83.98 kB / 0.8036 GB, free: 119.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001734/1.22, allocations: 99.92 kB / 0.8037 GB, free: 119.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006363/1.22, allocations: 341.3 kB / 0.804 GB, free: 118.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002481/1.22, allocations: 158.6 kB / 0.8042 GB, free: 118.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001026/1.221, allocations: 1.117 MB / 0.8053 GB, free: 117.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/1.221, allocations: 0 / 0.8053 GB, free: 117.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005244/1.227, allocations: 2.206 MB / 0.8074 GB, free: 115.7 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 14 (blood_erythrocytes.temperature,blood_erythrocytes.mass,blood_plasma.temperature,blood_plasma.mass,HCO3.logn,CO2.logn,H2O.logn,HCO3_E.logn,CO2_E.logn,H2O_E.logn,Cl_E.logn,Cl.logn,others_E.logn,others_P.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 (354): * Single equations (assignments): 345 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,16,77.8%), (1,3,100.0%), (2,6,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 5 systems {(2,8), (4,30), (1,3), (1,2), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0033/1.23, allocations: 2.243 MB / 0.8096 GB, free: 114.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008335/1.238, allocations: 5.57 MB / 0.8151 GB, free: 108.5 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/1.238, allocations: 0 / 0.8151 GB, free: 108.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004867/1.243, allocations: 3.343 MB / 0.8183 GB, free: 105.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002342/1.246, allocations: 0.5508 MB / 0.8189 GB, free: 104.6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008603/1.254, allocations: 6.751 MB / 0.8254 GB, free: 97.89 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009207/1.255, allocations: 1.879 MB / 0.8273 GB, free: 96.02 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002101/1.257, allocations: 0.6647 MB / 0.8279 GB, free: 95.55 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009691/1.258, allocations: 457.7 kB / 0.8284 GB, free: 95.11 MB / 0.5606 GB Notification: Performance of SimCode: time 9.02e-07/1.258, allocations: 0 / 0.8284 GB, free: 95.11 MB / 0.5606 GB Notification: Performance of Templates: time 0.1014/1.359, allocations: 87.72 MB / 0.914 GB, free: 8.055 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.sim & ./Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.470399881247431] Failed to read output from testmodel.py, exit status != 0: 1.3691827859729528 1.385703826 0.83947731 Calling exit ...