Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.002002/0.002002, allocations: 111.7 kB / 17.13 MB, free: 5.926 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.002469/0.002469, allocations: 204 kB / 20.09 MB, free: 2.977 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.516/1.516, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.1392/0.1392, allocations: 23.86 MB / 333.4 MB, free: 1.203 MB / 254.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/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_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood") translateModel(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_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.002142/0.002142, allocations: 60.22 kB / 467.2 MB, free: 30.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1143, allocations: 59.83 MB / 0.5147 GB, free: 12.55 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Obsolete.mo:14337:7-14337: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 2.0.0/Obsolete.mo:14337:7-14337: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.05244/0.1667, allocations: 34.9 MB / 0.5487 GB, free: 9.672 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.3043/0.4711, allocations: 47.62 MB / 0.5952 GB, free: 17.73 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002234/0.4733, allocations: 48.44 kB / 0.5953 GB, free: 17.73 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00312/0.4764, allocations: 1.029 MB / 0.5963 GB, free: 17.73 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01166/0.4881, allocations: 3.736 MB / 0.5999 GB, free: 17.71 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01834/0.5064, allocations: 6.426 MB / 0.6062 GB, free: 16.73 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.007785/0.5142, allocations: 4.537 MB / 0.6106 GB, free: 15.86 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003987/0.5182, allocations: 2.273 MB / 0.6129 GB, free: 15.65 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004588/0.5228, allocations: 2.286 MB / 0.6151 GB, free: 15.57 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005014/0.5278, allocations: 2.615 MB / 0.6176 GB, free: 14.73 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001161/0.529, allocations: 422.6 kB / 0.618 GB, free: 14.73 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01705/0.546, allocations: 5.36 MB / 0.6233 GB, free: 12.99 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001682/0.5477, allocations: 0.9836 MB / 0.6242 GB, free: 12.21 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003005/0.5507, allocations: 2.032 MB / 0.6262 GB, free: 10.87 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02247/0.5732, allocations: 10.23 MB / 0.6362 GB, free: 5.105 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.5732, allocations: 0 / 0.6362 GB, free: 5.105 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.5732, allocations: 2.688 kB / 0.6362 GB, free: 5.105 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001456/0.5733, allocations: 0 / 0.6362 GB, free: 5.105 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.01089/0.5842, allocations: 4.84 MB / 0.6409 GB, free: 0.5938 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.5842, allocations: 15.97 kB / 0.641 GB, free: 0.5781 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004118/0.5884, allocations: 0.8519 MB / 0.6418 GB, free: 15.73 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003708/0.5921, allocations: 1.687 MB / 0.6434 GB, free: 14.02 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000305/0.5924, allocations: 298.2 kB / 0.6437 GB, free: 13.72 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008317/0.5932, allocations: 328.3 kB / 0.644 GB, free: 13.4 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008826/0.602, allocations: 4.513 MB / 0.6484 GB, free: 8.82 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.433e-05/0.6021, allocations: 0.8906 kB / 0.6484 GB, free: 8.82 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003681/0.6025, allocations: 128 kB / 0.6486 GB, free: 8.695 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.906e-05/0.6025, allocations: 76 kB / 0.6486 GB, free: 8.621 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01165/0.6142, allocations: 6.176 MB / 0.6547 GB, free: 2.438 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.03497/0.6491, allocations: 14.13 MB / 0.6685 GB, free: 4.141 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01207/0.6612, allocations: 6.123 MB / 0.6745 GB, free: 13.88 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004808/0.666, allocations: 2.052 MB / 0.6765 GB, free: 11.82 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0289/0.6949, allocations: 14.92 MB / 0.691 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.172e-05/0.695, allocations: 60.73 kB / 0.6911 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002692/0.6977, allocations: 470.8 kB / 0.6915 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=284): time 1.194e-05/0.6977, allocations: 0 / 0.6915 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of matching and sorting (n=387): time 0.1043/0.802, allocations: 23.86 MB / 0.7148 GB, free: 3.418 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.204e-05/0.8021, allocations: 94.45 kB / 0.7149 GB, free: 3.312 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002828/0.805, allocations: 1.704 MB / 0.7166 GB, free: 1.562 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0007347/0.8057, allocations: 89.7 kB / 0.7167 GB, free: 1.469 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001207/0.8069, allocations: 1.348 MB / 0.718 GB, free: 120 kB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001981/0.8089, allocations: 1.381 MB / 0.7193 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002377/0.8113, allocations: 0.7798 MB / 0.7201 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.8114, allocations: 301.1 kB / 0.7204 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003798/0.8152, allocations: 1.816 MB / 0.7222 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004738/0.8199, allocations: 2.828 MB / 0.7249 GB, free: 8.609 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009664/0.8296, allocations: 4.936 MB / 0.7297 GB, free: 3.316 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.248e-05/0.8296, allocations: 8 kB / 0.7298 GB, free: 3.309 MB / 0.5294 GB Notification: Performance of matching and sorting (n=542) (initialization): time 0.02309/0.8527, allocations: 6.795 MB / 0.7364 GB, free: 12.52 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.586e-05/0.8528, allocations: 20 kB / 0.7364 GB, free: 12.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.303e-05/0.8529, allocations: 28 kB / 0.7364 GB, free: 12.47 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01241/0.8653, allocations: 2.283 MB / 0.7387 GB, free: 10.22 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004181/0.8695, allocations: 0.8958 MB / 0.7395 GB, free: 9.324 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03192/0.9014, allocations: 18.4 MB / 0.7575 GB, free: 5.996 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003908/0.9053, allocations: 140 kB / 0.7576 GB, free: 5.859 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001135/0.9064, allocations: 231.9 kB / 0.7579 GB, free: 5.633 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.00258/0.909, allocations: 0.6116 MB / 0.7585 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001342/0.9104, allocations: 282.2 kB / 0.7587 GB, free: 4.734 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02194/0.9323, allocations: 6.552 MB / 0.7651 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.217e-05/0.9324, allocations: 44 kB / 0.7652 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.568e-05/0.9324, allocations: 4 kB / 0.7652 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001233/0.9325, allocations: 19.92 kB / 0.7652 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03043/0.9629, allocations: 10.62 MB / 0.7756 GB, free: 3.422 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.656e-05/0.963, allocations: 4.531 kB / 0.7756 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003444/0.9664, allocations: 0.6631 MB / 0.7762 GB, free: 2.754 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01051/0.9769, allocations: 2.024 MB / 0.7782 GB, free: 0.7188 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009335/0.9779, allocations: 135.9 kB / 0.7783 GB, free: 0.5859 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02647/1.004, allocations: 17.02 MB / 0.7949 GB, free: 14.58 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.076e-06/1.004, allocations: 4 kB / 0.795 GB, free: 14.57 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02467/1.029, allocations: 8.459 MB / 0.8032 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002232/1.031, allocations: 0.725 MB / 0.8039 GB, free: 5.242 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001036/1.032, allocations: 80 kB / 0.804 GB, free: 5.164 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002749/1.035, allocations: 95.97 kB / 0.8041 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001117/1.036, allocations: 342.7 kB / 0.8044 GB, free: 4.734 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005696/1.037, allocations: 156.2 kB / 0.8046 GB, free: 4.582 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001991/1.039, allocations: 1.121 MB / 0.8057 GB, free: 3.438 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/1.039, allocations: 0 / 0.8057 GB, free: 3.438 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.007986/1.047, allocations: 2.205 MB / 0.8078 GB, free: 1.227 MB / 0.6075 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.005906/1.053, allocations: 2.251 MB / 0.81 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0133/1.066, allocations: 5.568 MB / 0.8154 GB, free: 9.605 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 7.263e-06/1.066, allocations: 0 / 0.8154 GB, free: 9.605 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.007648/1.074, allocations: 3.332 MB / 0.8187 GB, free: 6.188 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003798/1.077, allocations: 0.5542 MB / 0.8192 GB, free: 5.66 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2642/1.342, allocations: 6.795 MB / 0.8259 GB, free: 227.9 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003501/1.345, allocations: 1.884 MB / 0.8277 GB, free: 227.2 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002747/1.348, allocations: 0.5543 MB / 0.8283 GB, free: 227.2 MB / 0.6231 GB Notification: Performance of SimCode: time 1.062e-06/1.348, allocations: 1.031 kB / 0.8283 GB, free: 227.2 MB / 0.6231 GB Notification: Performance of Templates: time 0.149/1.497, allocations: 169.9 MB / 0.9942 GB, free: 86.4 MB / 0.6231 GB " [Timeout remaining time 658] make -j1 -f Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.sim & ./Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 16.88431786702131] Failed to read output from testmodel.py, exit status != 0: 1.5057127510081045 1.515290846 0.939671068 Calling exit ...