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.001712/0.001712, allocations: 92.42 kB / 19.7 MB, free: 2.137 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.002126/0.002126, allocations: 212.2 kB / 23 MB, free: 4.953 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.462/1.462, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.1368/0.1368, allocations: 23.88 MB / 337.1 MB, free: 10.98 MB / 270.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.002111/0.002111, allocations: 63.91 kB / 472.4 MB, free: 7.004 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3291/0.3312, allocations: 59.86 MB / 0.5198 GB, free: 9.797 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.08043/0.4117, allocations: 33.35 MB / 0.5523 GB, free: 6.898 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05781/0.4695, allocations: 41.75 MB / 0.5931 GB, free: 14.65 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003081/0.4725, allocations: 51.56 kB / 0.5932 GB, free: 14.6 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003183/0.4757, allocations: 0.9265 MB / 0.5941 GB, free: 13.67 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01185/0.4876, allocations: 3.705 MB / 0.5977 GB, free: 9.938 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01853/0.5061, allocations: 6.501 MB / 0.604 GB, free: 3.398 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.007217/0.5133, allocations: 4.531 MB / 0.6085 GB, free: 14.85 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003501/0.5168, allocations: 2.258 MB / 0.6107 GB, free: 12.53 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003682/0.5205, allocations: 2.288 MB / 0.6129 GB, free: 10.24 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00448/0.525, allocations: 2.613 MB / 0.6154 GB, free: 7.617 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001183/0.5262, allocations: 420 kB / 0.6158 GB, free: 7.207 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0149/0.5411, allocations: 5.16 MB / 0.6209 GB, free: 2.039 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001837/0.5429, allocations: 0.9932 MB / 0.6219 GB, free: 1.043 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003124/0.546, allocations: 1.735 MB / 0.6235 GB, free: 15.3 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02274/0.5688, allocations: 10.19 MB / 0.6335 GB, free: 5.066 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.5688, allocations: 0 / 0.6335 GB, free: 5.066 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.5688, allocations: 0 / 0.6335 GB, free: 5.066 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0001228/0.5689, allocations: 0 / 0.6335 GB, free: 5.066 MB / 478.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.01065/0.5796, allocations: 4.757 MB / 0.6381 GB, free: 256 kB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.5796, allocations: 8.031 kB / 0.6382 GB, free: 248 kB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00397/0.5836, allocations: 0.8488 MB / 0.639 GB, free: 15.39 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00357/0.5871, allocations: 1.62 MB / 0.6406 GB, free: 13.73 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003334/0.5875, allocations: 349.7 kB / 0.6409 GB, free: 13.36 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006666/0.5881, allocations: 332.2 kB / 0.6412 GB, free: 13.04 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007923/0.5961, allocations: 4.555 MB / 0.6457 GB, free: 8.41 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.037e-05/0.5961, allocations: 0 / 0.6457 GB, free: 8.41 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003279/0.5965, allocations: 124 kB / 0.6458 GB, free: 8.289 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.156e-05/0.5965, allocations: 84 kB / 0.6459 GB, free: 8.207 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009931/0.6064, allocations: 6.169 MB / 0.6519 GB, free: 2.027 MB / 494.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.02596/0.6324, allocations: 11.65 MB / 0.6633 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01012/0.6425, allocations: 5.313 MB / 0.6685 GB, free: 0.9531 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004088/0.6466, allocations: 2.056 MB / 0.6705 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02471/0.6713, allocations: 9.107 MB / 0.6794 GB, free: 5.746 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.49e-05/0.6714, allocations: 64.8 kB / 0.6794 GB, free: 5.672 MB / 0.5137 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003211/0.6746, allocations: 449.9 kB / 0.6798 GB, free: 5.23 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=284): time 1.289e-05/0.6747, allocations: 3.938 kB / 0.6799 GB, free: 5.227 MB / 0.5137 GB Notification: Performance of matching and sorting (n=387): time 0.1677/0.8424, allocations: 23.35 MB / 0.7027 GB, free: 13.71 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000141/0.8425, allocations: 94.45 kB / 0.7027 GB, free: 13.6 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003797/0.8463, allocations: 1.626 MB / 0.7043 GB, free: 11.97 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0009968/0.8473, allocations: 93.7 kB / 0.7044 GB, free: 11.88 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001787/0.8491, allocations: 1.362 MB / 0.7058 GB, free: 10.5 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002853/0.852, allocations: 1.375 MB / 0.7071 GB, free: 9.113 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002238/0.8542, allocations: 0.7876 MB / 0.7079 GB, free: 8.312 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000199/0.8544, allocations: 301.1 kB / 0.7081 GB, free: 8.016 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005789/0.8602, allocations: 1.843 MB / 0.71 GB, free: 6.164 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008271/0.8685, allocations: 2.846 MB / 0.7127 GB, free: 2.887 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01611/0.8846, allocations: 4.971 MB / 0.7176 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.138e-05/0.8846, allocations: 15.94 kB / 0.7176 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of matching and sorting (n=542) (initialization): time 0.03797/0.9226, allocations: 6.822 MB / 0.7243 GB, free: 6.59 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.197e-05/0.9227, allocations: 24.06 kB / 0.7243 GB, free: 6.566 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.482e-05/0.9227, allocations: 31.98 kB / 0.7243 GB, free: 6.535 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01987/0.9426, allocations: 2.283 MB / 0.7265 GB, free: 4.223 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007523/0.9501, allocations: 0.8893 MB / 0.7274 GB, free: 3.332 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2806/1.231, allocations: 17.39 MB / 0.7444 GB, free: 162.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003442/1.234, allocations: 142.7 kB / 0.7445 GB, free: 162.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008728/1.235, allocations: 231.7 kB / 0.7448 GB, free: 162.1 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.001566/1.237, allocations: 0.6088 MB / 0.7453 GB, free: 161.7 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008344/1.237, allocations: 274.2 kB / 0.7456 GB, free: 161.7 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01754/1.255, allocations: 6.564 MB / 0.752 GB, free: 159.3 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.97e-05/1.255, allocations: 43.81 kB / 0.7521 GB, free: 159.3 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-05/1.255, allocations: 7.938 kB / 0.7521 GB, free: 159.3 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001681/1.255, allocations: 22.52 kB / 0.7521 GB, free: 159.3 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02458/1.28, allocations: 9.758 MB / 0.7616 GB, free: 155.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.439e-05/1.28, allocations: 4.781 kB / 0.7616 GB, free: 155.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003296/1.283, allocations: 0.6496 MB / 0.7623 GB, free: 155.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009056/1.292, allocations: 2.012 MB / 0.7642 GB, free: 154.8 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008656/1.293, allocations: 142.3 kB / 0.7644 GB, free: 154.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01835/1.311, allocations: 16.03 MB / 0.78 GB, free: 142.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/1.311, allocations: 6.469 kB / 0.78 GB, free: 142.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01759/1.329, allocations: 8.489 MB / 0.7883 GB, free: 138.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001949/1.331, allocations: 0.6325 MB / 0.7889 GB, free: 137.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000522/1.332, allocations: 78.97 kB / 0.789 GB, free: 137.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001905/1.333, allocations: 96.12 kB / 0.7891 GB, free: 137.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006499/1.334, allocations: 354 kB / 0.7894 GB, free: 137.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002961/1.334, allocations: 159.2 kB / 0.7896 GB, free: 137.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001081/1.335, allocations: 1.034 MB / 0.7906 GB, free: 136.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/1.335, allocations: 0 / 0.7906 GB, free: 136.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006622/1.342, allocations: 2.199 MB / 0.7927 GB, free: 135.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.004527/1.347, allocations: 2.256 MB / 0.7949 GB, free: 134.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01017/1.357, allocations: 5.605 MB / 0.8004 GB, free: 128.5 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.046e-05/1.357, allocations: 4 kB / 0.8004 GB, free: 128.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.005747/1.363, allocations: 3.349 MB / 0.8037 GB, free: 125.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003409/1.366, allocations: 0.541 MB / 0.8042 GB, free: 124.6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01043/1.376, allocations: 6.826 MB / 0.8109 GB, free: 117.9 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001015/1.377, allocations: 1.34 MB / 0.8122 GB, free: 116.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001652/1.379, allocations: 0.5498 MB / 0.8127 GB, free: 116 MB / 0.5606 GB Notification: Performance of SimCode: time 1.252e-06/1.379, allocations: 0 / 0.8127 GB, free: 116 MB / 0.5606 GB Notification: Performance of Templates: time 0.5041/1.883, allocations: 170.9 MB / 0.9796 GB, free: 191.9 MB / 0.5919 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.386328111984767] Failed to read output from testmodel.py, exit status != 0: 1.89338784100255 1.903349596 1.332091921 Calling exit ...