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.001952/0.001952, allocations: 107.6 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.002276/0.002276, 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.524/1.524, allocations: 230.6 MB / 252.8 MB, free: 8.961 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.1544/0.1544, allocations: 23.85 MB / 332.7 MB, free: 12.36 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.002158/0.002158, allocations: 63.91 kB / 466.5 MB, free: 9.57 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3431/0.3453, allocations: 59.81 MB / 0.514 GB, free: 9.168 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.05395/0.3992, allocations: 34.86 MB / 0.548 GB, free: 6.395 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.06563/0.4649, allocations: 47.64 MB / 0.5945 GB, free: 8.602 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004056/0.4689, allocations: 47.62 kB / 0.5946 GB, free: 8.555 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004212/0.4731, allocations: 1.024 MB / 0.5956 GB, free: 7.523 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01424/0.4874, allocations: 3.732 MB / 0.5992 GB, free: 3.766 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02054/0.5079, allocations: 6.419 MB / 0.6055 GB, free: 13.3 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.008139/0.5161, allocations: 4.543 MB / 0.6099 GB, free: 8.742 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003568/0.5196, allocations: 2.273 MB / 0.6121 GB, free: 6.414 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003749/0.5234, allocations: 2.28 MB / 0.6144 GB, free: 4.129 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00496/0.5283, allocations: 2.621 MB / 0.6169 GB, free: 1.5 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001191/0.5295, allocations: 420 kB / 0.6173 GB, free: 1.09 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01719/0.5467, allocations: 5.363 MB / 0.6226 GB, free: 11.72 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001768/0.5485, allocations: 0.9893 MB / 0.6235 GB, free: 10.73 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003341/0.5518, allocations: 2.026 MB / 0.6255 GB, free: 8.691 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02569/0.5775, allocations: 10.24 MB / 0.6355 GB, free: 14.41 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.226e-06/0.5775, allocations: 4 kB / 0.6355 GB, free: 14.41 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.5775, allocations: 0 / 0.6355 GB, free: 14.41 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0001077/0.5776, allocations: 0 / 0.6355 GB, free: 14.41 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.01136/0.589, allocations: 4.837 MB / 0.6402 GB, free: 9.496 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.589, allocations: 12.03 kB / 0.6403 GB, free: 9.484 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004164/0.5932, allocations: 0.8449 MB / 0.6411 GB, free: 8.637 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003242/0.5965, allocations: 1.703 MB / 0.6427 GB, free: 6.879 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003081/0.5968, allocations: 294.3 kB / 0.643 GB, free: 6.578 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006802/0.5974, allocations: 336.2 kB / 0.6433 GB, free: 6.25 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00895/0.6064, allocations: 4.508 MB / 0.6477 GB, free: 1.672 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.839e-05/0.6064, allocations: 0 / 0.6477 GB, free: 1.672 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003951/0.6068, allocations: 132 kB / 0.6479 GB, free: 1.543 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.306e-05/0.6069, allocations: 79.98 kB / 0.6479 GB, free: 1.465 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01164/0.6186, allocations: 6.169 MB / 0.654 GB, free: 11.29 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.0295/0.6481, allocations: 14.11 MB / 0.6678 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01127/0.6593, allocations: 6.143 MB / 0.6738 GB, free: 6.43 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00402/0.6633, allocations: 2.048 MB / 0.6758 GB, free: 4.375 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02622/0.6896, allocations: 14.91 MB / 0.6903 GB, free: 4.113 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.64e-05/0.6896, allocations: 64.78 kB / 0.6904 GB, free: 4.039 MB / 0.5294 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002164/0.6918, allocations: 465.8 kB / 0.6908 GB, free: 3.582 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=284): time 6.712e-06/0.6918, allocations: 0 / 0.6908 GB, free: 3.582 MB / 0.5294 GB Notification: Performance of matching and sorting (n=387): time 0.1019/0.7937, allocations: 23.87 MB / 0.7141 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.898e-05/0.7938, allocations: 90.45 kB / 0.7142 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002994/0.7968, allocations: 1.704 MB / 0.7159 GB, free: 9.543 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0007184/0.7975, allocations: 89.7 kB / 0.716 GB, free: 9.449 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001204/0.7987, allocations: 1.344 MB / 0.7173 GB, free: 8.09 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001982/0.8007, allocations: 1.367 MB / 0.7186 GB, free: 6.711 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001901/0.8026, allocations: 0.7876 MB / 0.7194 GB, free: 5.91 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.8027, allocations: 305.1 kB / 0.7197 GB, free: 5.609 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003731/0.8065, allocations: 1.82 MB / 0.7215 GB, free: 3.781 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004855/0.8113, allocations: 2.823 MB / 0.7242 GB, free: 0.5273 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2588/1.07, allocations: 4.93 MB / 0.729 GB, free: 168.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-05/1.07, allocations: 10.53 kB / 0.729 GB, free: 168.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=542) (initialization): time 0.01968/1.09, allocations: 6.797 MB / 0.7357 GB, free: 166.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.598e-05/1.09, allocations: 17.66 kB / 0.7357 GB, free: 166.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.09e-05/1.09, allocations: 31.97 kB / 0.7357 GB, free: 166.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01147/1.101, allocations: 2.284 MB / 0.738 GB, free: 166 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003896/1.105, allocations: 0.8893 MB / 0.7388 GB, free: 165.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02511/1.13, allocations: 18.4 MB / 0.7568 GB, free: 151.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00358/1.134, allocations: 143.1 kB / 0.7569 GB, free: 151.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006658/1.135, allocations: 231.7 kB / 0.7571 GB, free: 151.6 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.001457/1.136, allocations: 0.5976 MB / 0.7577 GB, free: 151.2 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007882/1.137, allocations: 289.7 kB / 0.758 GB, free: 151.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0173/1.154, allocations: 6.553 MB / 0.7644 GB, free: 148.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.738e-05/1.154, allocations: 40.81 kB / 0.7644 GB, free: 148.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.436e-05/1.154, allocations: 7.719 kB / 0.7644 GB, free: 148.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.77e-05/1.154, allocations: 21.94 kB / 0.7645 GB, free: 148.7 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02208/1.176, allocations: 10.63 MB / 0.7749 GB, free: 143.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.308e-05/1.176, allocations: 3.906 kB / 0.7749 GB, free: 143.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003153/1.18, allocations: 0.6537 MB / 0.7755 GB, free: 143.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009467/1.189, allocations: 2.021 MB / 0.7775 GB, free: 142.6 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007903/1.19, allocations: 131.9 kB / 0.7776 GB, free: 142.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01905/1.209, allocations: 17.02 MB / 0.7942 GB, free: 127.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/1.209, allocations: 7.625 kB / 0.7942 GB, free: 127.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01835/1.227, allocations: 8.459 MB / 0.8025 GB, free: 120.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001761/1.229, allocations: 0.7122 MB / 0.8032 GB, free: 119.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004216/1.229, allocations: 82.75 kB / 0.8033 GB, free: 119.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001964/1.231, allocations: 102.6 kB / 0.8034 GB, free: 119.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007065/1.232, allocations: 337.3 kB / 0.8037 GB, free: 119.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000294/1.232, allocations: 163.9 kB / 0.8038 GB, free: 119.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001173/1.234, allocations: 1.113 MB / 0.8049 GB, free: 118 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/1.234, allocations: 0 / 0.8049 GB, free: 118 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006945/1.241, allocations: 2.206 MB / 0.8071 GB, free: 116.2 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.004677/1.245, allocations: 2.256 MB / 0.8093 GB, free: 114.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01101/1.256, allocations: 5.561 MB / 0.8147 GB, free: 109 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.856e-06/1.256, allocations: 1.781 kB / 0.8147 GB, free: 109 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.006603/1.263, allocations: 3.337 MB / 0.818 GB, free: 105.6 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003527/1.266, allocations: 0.5525 MB / 0.8185 GB, free: 105.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01182/1.278, allocations: 6.745 MB / 0.8251 GB, free: 98.39 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001614/1.28, allocations: 1.887 MB / 0.8269 GB, free: 96.51 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003312/1.283, allocations: 0.671 MB / 0.8276 GB, free: 96.04 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001332/1.284, allocations: 463 kB / 0.828 GB, free: 95.58 MB / 0.5606 GB Notification: Performance of SimCode: time 1.052e-06/1.284, allocations: 0 / 0.828 GB, free: 95.58 MB / 0.5606 GB Notification: Performance of Templates: time 0.112/1.396, allocations: 87.72 MB / 0.9137 GB, free: 8.527 MB / 0.5606 GB " [Timeout remaining time 659] 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: 9.866521637886763] Failed to read output from testmodel.py, exit status != 0: 1.4056243784725666 1.416105306 0.835216421 Calling exit ...