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.001671/0.001671, allocations: 116.1 kB / 17.13 MB, free: 5.945 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.001724/0.001724, allocations: 209.5 kB / 20.09 MB, free: 2.996 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.487/1.487, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.1408/0.1408, allocations: 23.89 MB / 333.4 MB, free: 1.195 MB / 254.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.002047/0.002047, allocations: 76.72 kB / 467.2 MB, free: 30.5 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09396/0.096, allocations: 59.84 MB / 0.5147 GB, free: 12.38 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.04796/0.144, allocations: 35.17 MB / 0.5491 GB, free: 9.234 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.4707/0.6147, allocations: 47.62 MB / 0.5956 GB, free: 14.48 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00168/0.6164, allocations: 49.59 kB / 0.5956 GB, free: 14.48 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002207/0.6186, allocations: 1.022 MB / 0.5966 GB, free: 14.48 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008806/0.6274, allocations: 3.74 MB / 0.6003 GB, free: 14.46 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01521/0.6426, allocations: 6.422 MB / 0.6065 GB, free: 13.4 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.005686/0.6483, allocations: 4.54 MB / 0.611 GB, free: 12.53 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00274/0.651, allocations: 2.262 MB / 0.6132 GB, free: 12.33 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002891/0.6539, allocations: 2.293 MB / 0.6154 GB, free: 12.03 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003202/0.6571, allocations: 2.618 MB / 0.618 GB, free: 11.04 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005935/0.6577, allocations: 420.6 kB / 0.6184 GB, free: 11.04 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01456/0.6723, allocations: 5.352 MB / 0.6236 GB, free: 9.277 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007431/0.673, allocations: 0.9972 MB / 0.6246 GB, free: 8.488 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001805/0.6748, allocations: 2.029 MB / 0.6266 GB, free: 7.148 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01741/0.6922, allocations: 10.23 MB / 0.6366 GB, free: 1.391 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.6922, allocations: 6.562 kB / 0.6366 GB, free: 1.387 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.6922, allocations: 3.938 kB / 0.6366 GB, free: 1.383 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001107/0.6923, allocations: 3.094 kB / 0.6366 GB, free: 1.383 MB / 446.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.009165/0.7015, allocations: 4.839 MB / 0.6413 GB, free: 14.2 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.7015, allocations: 8.625 kB / 0.6413 GB, free: 14.2 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003803/0.7053, allocations: 0.8527 MB / 0.6421 GB, free: 13.8 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002735/0.7081, allocations: 1.686 MB / 0.6438 GB, free: 12.55 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002783/0.7084, allocations: 302.4 kB / 0.6441 GB, free: 12.37 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006254/0.709, allocations: 329.1 kB / 0.6444 GB, free: 12.09 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008042/0.717, allocations: 4.518 MB / 0.6488 GB, free: 7.508 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.207e-05/0.7171, allocations: 0 / 0.6488 GB, free: 7.508 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000432/0.7175, allocations: 128 kB / 0.6489 GB, free: 7.383 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.256e-05/0.7176, allocations: 78.69 kB / 0.649 GB, free: 7.309 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01045/0.728, allocations: 6.165 MB / 0.655 GB, free: 1.133 MB / 462.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.02522/0.7532, allocations: 14.13 MB / 0.6688 GB, free: 2.84 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01035/0.7636, allocations: 6.128 MB / 0.6748 GB, free: 12.57 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003457/0.767, allocations: 2.054 MB / 0.6768 GB, free: 10.51 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02319/0.7902, allocations: 14.92 MB / 0.6914 GB, free: 10.41 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.293e-05/0.7903, allocations: 64.8 kB / 0.6914 GB, free: 10.34 MB / 0.4982 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002014/0.7923, allocations: 459.9 kB / 0.6919 GB, free: 9.906 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=284): time 4.178e-06/0.7923, allocations: 0 / 0.6919 GB, free: 9.906 MB / 0.4982 GB Notification: Performance of matching and sorting (n=387): time 0.09437/0.8867, allocations: 23.87 MB / 0.7152 GB, free: 2.109 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.27e-05/0.8868, allocations: 90.45 kB / 0.7153 GB, free: 2.008 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00238/0.8891, allocations: 1.704 MB / 0.7169 GB, free: 264 kB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0003189/0.8895, allocations: 93.69 kB / 0.717 GB, free: 164 kB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.001055/0.8905, allocations: 1.341 MB / 0.7183 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001267/0.8918, allocations: 1.372 MB / 0.7197 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001414/0.8932, allocations: 0.7838 MB / 0.7204 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.8933, allocations: 301.1 kB / 0.7207 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003394/0.8967, allocations: 1.819 MB / 0.7225 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004435/0.9011, allocations: 2.826 MB / 0.7253 GB, free: 7.316 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008335/0.9095, allocations: 4.933 MB / 0.7301 GB, free: 2.023 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.093e-05/0.9095, allocations: 14.56 kB / 0.7301 GB, free: 2.012 MB / 0.5294 GB Notification: Performance of matching and sorting (n=542) (initialization): time 0.02029/0.9298, allocations: 6.797 MB / 0.7367 GB, free: 11.22 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.234e-05/0.9298, allocations: 16 kB / 0.7367 GB, free: 11.21 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.888e-05/0.9299, allocations: 28 kB / 0.7368 GB, free: 11.18 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01185/0.9417, allocations: 2.283 MB / 0.739 GB, free: 8.922 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00353/0.9452, allocations: 0.8942 MB / 0.7399 GB, free: 8.031 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03026/0.9755, allocations: 18.41 MB / 0.7578 GB, free: 4.688 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003196/0.9787, allocations: 147.9 kB / 0.758 GB, free: 4.543 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004419/0.9791, allocations: 230.6 kB / 0.7582 GB, free: 4.32 MB / 0.5607 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.00147/0.9806, allocations: 0.603 MB / 0.7588 GB, free: 3.707 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007021/0.9813, allocations: 286.2 kB / 0.7591 GB, free: 3.426 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0192/1.001, allocations: 6.555 MB / 0.7655 GB, free: 12.86 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.495e-05/1.001, allocations: 40 kB / 0.7655 GB, free: 12.82 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.39e-05/1.001, allocations: 8 kB / 0.7655 GB, free: 12.81 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.973e-05/1.001, allocations: 19.92 kB / 0.7655 GB, free: 12.79 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02508/1.026, allocations: 10.62 MB / 0.7759 GB, free: 2.109 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-05/1.026, allocations: 4 kB / 0.7759 GB, free: 2.105 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003009/1.029, allocations: 0.658 MB / 0.7766 GB, free: 1.449 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01032/1.039, allocations: 2.019 MB / 0.7785 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003848/1.039, allocations: 135.9 kB / 0.7787 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0257/1.065, allocations: 17.02 MB / 0.7953 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.703e-06/1.065, allocations: 4 kB / 0.7953 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02137/1.086, allocations: 8.478 MB / 0.8036 GB, free: 4.664 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001657/1.088, allocations: 0.7134 MB / 0.8043 GB, free: 3.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000473/1.089, allocations: 83.98 kB / 0.8043 GB, free: 3.848 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002019/1.091, allocations: 91.97 kB / 0.8044 GB, free: 3.758 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000795/1.091, allocations: 338.7 kB / 0.8048 GB, free: 3.426 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003275/1.092, allocations: 159.9 kB / 0.8049 GB, free: 3.27 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001609/1.093, allocations: 1.113 MB / 0.806 GB, free: 2.133 MB / 0.6075 GB Notification: Performance of sort global known variables: time 6e-08/1.093, allocations: 0 / 0.806 GB, free: 2.133 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.006338/1.1, allocations: 2.209 MB / 0.8082 GB, free: 15.92 MB / 0.6232 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.004201/1.104, allocations: 2.255 MB / 0.8104 GB, free: 13.94 MB / 0.6232 GB Notification: Performance of simCode: created initialization part: time 0.01117/1.115, allocations: 5.552 MB / 0.8158 GB, free: 8.297 MB / 0.6232 GB Notification: Performance of simCode: created event and clocks part: time 6.211e-06/1.115, allocations: 4 kB / 0.8158 GB, free: 8.293 MB / 0.6232 GB Notification: Performance of simCode: created simulation system equations: time 0.006583/1.122, allocations: 3.334 MB / 0.819 GB, free: 4.875 MB / 0.6232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00287/1.125, allocations: 0.5553 MB / 0.8196 GB, free: 4.34 MB / 0.6232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2253/1.35, allocations: 6.806 MB / 0.8262 GB, free: 226.9 MB / 0.6232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001803/1.352, allocations: 1.88 MB / 0.8281 GB, free: 226.2 MB / 0.6232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002083/1.354, allocations: 0.5589 MB / 0.8286 GB, free: 226.2 MB / 0.6232 GB Notification: Performance of SimCode: time 9.92e-07/1.354, allocations: 0 / 0.8286 GB, free: 226.2 MB / 0.6232 GB Notification: Performance of Templates: time 0.1289/1.483, allocations: 169.9 MB / 0.9945 GB, free: 85.02 MB / 0.6232 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: 15.770686481002485] Failed to read output from testmodel.py, exit status != 0: 1.4900694139942061 1.499092888 0.804618702 Calling exit ...