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.001313/0.001313, allocations: 78.95 kB / 19.76 MB, free: 2.035 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.001355/0.001355, allocations: 159.2 kB / 23.01 MB, free: 4.941 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.34/1.34, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.1 MB " [Timeout remaining time 179] 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.1243/0.1243, allocations: 17.37 MB / 277.2 MB, free: 15.25 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.002032/0.002032, allocations: 67.89 kB / 412.5 MB, free: 5.684 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.1021, allocations: 59.84 MB / 472.3 MB, free: 9.719 MB / 446.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.2542/0.3563, allocations: 33.4 MB / 0.4938 GB, free: 37.08 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.03882/0.3951, allocations: 41.75 MB / 0.5346 GB, free: 10.56 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001885/0.397, allocations: 52.31 kB / 0.5347 GB, free: 10.53 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002216/0.3993, allocations: 0.9173 MB / 0.5356 GB, free: 10.05 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009339/0.4086, allocations: 3.712 MB / 0.5392 GB, free: 7.828 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0147/0.4233, allocations: 6.494 MB / 0.5455 GB, free: 4.031 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004826/0.4281, allocations: 4.536 MB / 0.55 GB, free: 0.8477 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002994/0.4311, allocations: 2.211 MB / 0.5521 GB, free: 15.16 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003736/0.4348, allocations: 2.29 MB / 0.5544 GB, free: 13.11 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004596/0.4394, allocations: 2.339 MB / 0.5566 GB, free: 11.3 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000996/0.4404, allocations: 420 kB / 0.557 GB, free: 10.89 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01793/0.4584, allocations: 5.029 MB / 0.5619 GB, free: 6.375 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00204/0.4604, allocations: 0.9913 MB / 0.5629 GB, free: 5.57 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002912/0.4633, allocations: 1.727 MB / 0.5646 GB, free: 4.023 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02343/0.4867, allocations: 10.21 MB / 0.5746 GB, free: 11.2 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.4868, allocations: 0 / 0.5746 GB, free: 11.2 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.4868, allocations: 0 / 0.5746 GB, free: 11.2 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0001091/0.4869, allocations: 0 / 0.5746 GB, free: 11.2 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.01058/0.4974, allocations: 4.764 MB / 0.5792 GB, free: 6.375 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.4975, allocations: 12.03 kB / 0.5792 GB, free: 6.363 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003778/0.5013, allocations: 0.8467 MB / 0.5801 GB, free: 5.516 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003005/0.5043, allocations: 1.616 MB / 0.5816 GB, free: 3.855 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003084/0.5046, allocations: 345.7 kB / 0.582 GB, free: 3.492 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005608/0.5051, allocations: 336.2 kB / 0.5823 GB, free: 3.164 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007499/0.5126, allocations: 4.547 MB / 0.5867 GB, free: 14.55 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.897e-05/0.5127, allocations: 0 / 0.5867 GB, free: 14.55 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000335/0.513, allocations: 132 kB / 0.5869 GB, free: 14.42 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.361e-05/0.5131, allocations: 80 kB / 0.5869 GB, free: 14.34 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01025/0.5233, allocations: 6.173 MB / 0.593 GB, free: 8.156 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.02489/0.5482, allocations: 11.65 MB / 0.6043 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009301/0.5575, allocations: 5.31 MB / 0.6095 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003477/0.561, allocations: 2.059 MB / 0.6115 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01944/0.5804, allocations: 9.114 MB / 0.6204 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.437e-05/0.5805, allocations: 64.8 kB / 0.6205 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001994/0.5825, allocations: 446 kB / 0.6209 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=284): time 6.993e-06/0.5825, allocations: 0 / 0.6209 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of matching and sorting (n=387): time 0.09066/0.6732, allocations: 23.36 MB / 0.6437 GB, free: 3.848 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.502e-05/0.6733, allocations: 94.45 kB / 0.6438 GB, free: 3.742 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002144/0.6754, allocations: 1.633 MB / 0.6454 GB, free: 2.105 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0005814/0.676, allocations: 89.7 kB / 0.6455 GB, free: 2.012 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001078/0.6771, allocations: 1.362 MB / 0.6468 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001517/0.6786, allocations: 1.379 MB / 0.6482 GB, free: 15.24 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001278/0.6799, allocations: 0.7876 MB / 0.6489 GB, free: 14.44 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.68, allocations: 301.1 kB / 0.6492 GB, free: 14.14 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003173/0.6832, allocations: 1.839 MB / 0.651 GB, free: 12.3 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00421/0.6874, allocations: 2.846 MB / 0.6538 GB, free: 9.016 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008659/0.696, allocations: 4.971 MB / 0.6587 GB, free: 3.617 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-05/0.6961, allocations: 19.94 kB / 0.6587 GB, free: 3.598 MB / 0.545 GB Notification: Performance of matching and sorting (n=542) (initialization): time 0.01982/0.7159, allocations: 6.833 MB / 0.6654 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.151e-05/0.716, allocations: 16 kB / 0.6654 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.806e-05/0.716, allocations: 31.98 kB / 0.6654 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01106/0.7271, allocations: 2.278 MB / 0.6676 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003755/0.7308, allocations: 0.8893 MB / 0.6685 GB, free: 9.465 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02818/0.759, allocations: 17.4 MB / 0.6855 GB, free: 7.281 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003395/0.7624, allocations: 136 kB / 0.6856 GB, free: 7.148 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005551/0.763, allocations: 231.9 kB / 0.6858 GB, free: 6.922 MB / 0.5762 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.001511/0.7645, allocations: 0.6182 MB / 0.6864 GB, free: 6.293 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000785/0.7653, allocations: 270.3 kB / 0.6867 GB, free: 6.027 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2227/0.988, allocations: 6.559 MB / 0.6931 GB, free: 167.4 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.056e-05/0.988, allocations: 41.84 kB / 0.6931 GB, free: 167.4 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.628e-05/0.988, allocations: 5.938 kB / 0.6932 GB, free: 167.4 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001086/0.9882, allocations: 23.62 kB / 0.6932 GB, free: 167.4 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02079/1.009, allocations: 9.743 MB / 0.7027 GB, free: 165.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.474e-05/1.009, allocations: 3.125 kB / 0.7027 GB, free: 165.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002583/1.012, allocations: 0.6564 MB / 0.7033 GB, free: 165.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008693/1.02, allocations: 2.022 MB / 0.7053 GB, free: 164.8 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003849/1.021, allocations: 134.6 kB / 0.7054 GB, free: 164.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01801/1.039, allocations: 16.02 MB / 0.7211 GB, free: 152.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/1.039, allocations: 7.281 kB / 0.7211 GB, free: 152.1 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01747/1.056, allocations: 8.501 MB / 0.7294 GB, free: 148.7 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001482/1.058, allocations: 0.6271 MB / 0.73 GB, free: 148.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003931/1.058, allocations: 86.06 kB / 0.7301 GB, free: 148.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001829/1.06, allocations: 91.2 kB / 0.7302 GB, free: 148.4 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006449/1.06, allocations: 354.6 kB / 0.7305 GB, free: 148.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003079/1.061, allocations: 161.8 kB / 0.7307 GB, free: 148.3 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001188/1.062, allocations: 1.03 MB / 0.7317 GB, free: 147.9 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/1.062, allocations: 0 / 0.7317 GB, free: 147.9 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.006329/1.068, allocations: 2.201 MB / 0.7338 GB, free: 147.7 MB / 0.5762 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.003947/1.072, allocations: 2.255 MB / 0.736 GB, free: 147.4 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.009308/1.082, allocations: 5.603 MB / 0.7415 GB, free: 144.9 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.396e-06/1.082, allocations: 6.906 kB / 0.7415 GB, free: 144.9 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.005582/1.087, allocations: 3.345 MB / 0.7448 GB, free: 143.2 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002472/1.09, allocations: 0.5391 MB / 0.7453 GB, free: 143 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01044/1.1, allocations: 6.767 MB / 0.7519 GB, free: 139.8 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001419/1.101, allocations: 1.327 MB / 0.7532 GB, free: 139.6 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.002524/1.104, allocations: 0.6586 MB / 0.7538 GB, free: 139.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001014/1.105, allocations: 452.9 kB / 0.7543 GB, free: 139.5 MB / 0.5762 GB Notification: Performance of SimCode: time 9.82e-07/1.105, allocations: 0 / 0.7543 GB, free: 139.5 MB / 0.5762 GB Notification: Performance of Templates: time 0.093/1.198, allocations: 86.14 MB / 0.8384 GB, free: 66.89 MB / 0.5762 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 -s ida -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.851987972971983] Failed to read output from testmodel.py, exit status != 0: 1.2063644559821114 1.214568056 0.7255359929999999 Calling exit ...