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.001392/0.001392, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001578/0.001578, allocations: 213.9 kB / 22.25 MB, free: 5.078 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.448/1.448, allocations: 230.6 MB / 256 MB, free: 8.008 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.1422/0.1422, allocations: 23.89 MB / 336.3 MB, free: 11.25 MB / 270.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.002079/0.002079, allocations: 71.89 kB / 471.7 MB, free: 7.137 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3044/0.3064, allocations: 59.87 MB / 0.5191 GB, free: 9.836 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.04705/0.3535, allocations: 35.2 MB / 0.5535 GB, free: 5.195 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0623/0.4158, allocations: 47.75 MB / 0.6001 GB, free: 6.953 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002573/0.4184, allocations: 55.5 kB / 0.6002 GB, free: 6.898 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003063/0.4214, allocations: 1.016 MB / 0.6012 GB, free: 5.875 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01131/0.4327, allocations: 3.772 MB / 0.6049 GB, free: 2.078 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01744/0.4502, allocations: 6.486 MB / 0.6112 GB, free: 11.55 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.007282/0.4575, allocations: 4.547 MB / 0.6156 GB, free: 6.984 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003484/0.4609, allocations: 2.238 MB / 0.6178 GB, free: 4.691 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003859/0.4648, allocations: 2.284 MB / 0.6201 GB, free: 2.402 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005004/0.4698, allocations: 2.617 MB / 0.6226 GB, free: 15.78 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001459/0.4713, allocations: 420 kB / 0.623 GB, free: 15.37 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01636/0.4876, allocations: 5.363 MB / 0.6283 GB, free: 9.996 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001901/0.4895, allocations: 0.9893 MB / 0.6292 GB, free: 9.004 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003961/0.4935, allocations: 2.034 MB / 0.6312 GB, free: 6.961 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02418/0.5177, allocations: 10.23 MB / 0.6412 GB, free: 12.69 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.5177, allocations: 0 / 0.6412 GB, free: 12.69 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.5177, allocations: 0 / 0.6412 GB, free: 12.69 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0001882/0.5179, allocations: 0 / 0.6412 GB, free: 12.69 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.013/0.5309, allocations: 4.777 MB / 0.6459 GB, free: 7.855 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.5309, allocations: 8.031 kB / 0.6459 GB, free: 7.848 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004287/0.5352, allocations: 0.8449 MB / 0.6467 GB, free: 7 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003775/0.539, allocations: 1.616 MB / 0.6483 GB, free: 5.34 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003418/0.5393, allocations: 349.7 kB / 0.6486 GB, free: 4.973 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007739/0.5401, allocations: 336.2 kB / 0.6489 GB, free: 4.645 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008691/0.5488, allocations: 4.547 MB / 0.6534 GB, free: 28 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.318e-05/0.5488, allocations: 0 / 0.6534 GB, free: 28 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003474/0.5492, allocations: 128.1 kB / 0.6535 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.475e-05/0.5493, allocations: 83.98 kB / 0.6536 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01081/0.5601, allocations: 6.224 MB / 0.6596 GB, free: 9.582 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.02814/0.5882, allocations: 14.09 MB / 0.6734 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0108/0.599, allocations: 5.402 MB / 0.6787 GB, free: 5.676 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004071/0.6031, allocations: 2.063 MB / 0.6807 GB, free: 3.605 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02197/0.6251, allocations: 9.648 MB / 0.6901 GB, free: 9.922 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.221e-05/0.6251, allocations: 56.8 kB / 0.6902 GB, free: 9.855 MB / 0.5294 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002177/0.6273, allocations: 473.7 kB / 0.6906 GB, free: 9.391 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=284): time 7.293e-06/0.6273, allocations: 0 / 0.6906 GB, free: 9.391 MB / 0.5294 GB Notification: Performance of matching and sorting (n=387): time 0.1002/0.7275, allocations: 23.37 MB / 0.7134 GB, free: 1.855 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.557e-05/0.7276, allocations: 90.45 kB / 0.7135 GB, free: 1.754 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002776/0.7304, allocations: 1.72 MB / 0.7152 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0007153/0.7311, allocations: 85.7 kB / 0.7153 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.00114/0.7322, allocations: 1.352 MB / 0.7166 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.00194/0.7342, allocations: 1.371 MB / 0.718 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002052/0.7362, allocations: 0.7838 MB / 0.7187 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.7364, allocations: 305.1 kB / 0.719 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003712/0.7401, allocations: 1.843 MB / 0.7208 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004728/0.7448, allocations: 2.843 MB / 0.7236 GB, free: 6.922 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009131/0.7539, allocations: 4.971 MB / 0.7284 GB, free: 1.52 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.605e-05/0.754, allocations: 8 kB / 0.7284 GB, free: 1.512 MB / 0.5606 GB Notification: Performance of matching and sorting (n=542) (initialization): time 0.2346/0.9886, allocations: 6.838 MB / 0.7351 GB, free: 170.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.354e-05/0.9886, allocations: 17.7 kB / 0.7351 GB, free: 170.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.918e-05/0.9887, allocations: 31.56 kB / 0.7352 GB, free: 170.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01146/1, allocations: 2.289 MB / 0.7374 GB, free: 169.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003667/1.004, allocations: 0.8924 MB / 0.7383 GB, free: 169.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02401/1.028, allocations: 17.7 MB / 0.7556 GB, free: 156.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00323/1.031, allocations: 142.1 kB / 0.7557 GB, free: 156.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004989/1.032, allocations: 233.6 kB / 0.7559 GB, free: 156.4 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.001289/1.033, allocations: 0.6061 MB / 0.7565 GB, free: 156 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006478/1.034, allocations: 285.9 kB / 0.7568 GB, free: 156 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01714/1.051, allocations: 6.582 MB / 0.7632 GB, free: 153.6 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-05/1.051, allocations: 43.88 kB / 0.7633 GB, free: 153.6 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.904e-05/1.051, allocations: 5.5 kB / 0.7633 GB, free: 153.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.577e-05/1.051, allocations: 20.23 kB / 0.7633 GB, free: 153.6 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02178/1.073, allocations: 10.67 MB / 0.7737 GB, free: 148.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.427e-05/1.073, allocations: 3.969 kB / 0.7737 GB, free: 148.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002689/1.075, allocations: 0.6544 MB / 0.7743 GB, free: 148.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008953/1.084, allocations: 2.015 MB / 0.7763 GB, free: 147.6 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00043/1.085, allocations: 135.2 kB / 0.7764 GB, free: 147.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01794/1.103, allocations: 16.33 MB / 0.7924 GB, free: 133.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/1.103, allocations: 3.781 kB / 0.7924 GB, free: 133.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01675/1.119, allocations: 8.508 MB / 0.8007 GB, free: 127.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001379/1.121, allocations: 0.6464 MB / 0.8013 GB, free: 126.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000419/1.121, allocations: 84 kB / 0.8014 GB, free: 126.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001852/1.123, allocations: 97.22 kB / 0.8015 GB, free: 126.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005746/1.124, allocations: 361 kB / 0.8019 GB, free: 126.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002501/1.124, allocations: 159.9 kB / 0.802 GB, free: 126.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001072/1.125, allocations: 1.121 MB / 0.8031 GB, free: 124.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/1.125, allocations: 0 / 0.8031 GB, free: 124.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005046/1.13, allocations: 2.205 MB / 0.8053 GB, free: 123 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.003115/1.133, allocations: 2.26 MB / 0.8075 GB, free: 121.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008331/1.141, allocations: 5.594 MB / 0.8129 GB, free: 115.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/1.141, allocations: 4 kB / 0.8129 GB, free: 115.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004774/1.146, allocations: 3.351 MB / 0.8162 GB, free: 112.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002369/1.149, allocations: 0.5463 MB / 0.8167 GB, free: 111.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008891/1.157, allocations: 6.778 MB / 0.8234 GB, free: 105.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009551/1.158, allocations: 1.883 MB / 0.8252 GB, free: 103.3 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002207/1.161, allocations: 0.6667 MB / 0.8258 GB, free: 102.8 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009795/1.162, allocations: 455.1 kB / 0.8263 GB, free: 102.4 MB / 0.5606 GB Notification: Performance of SimCode: time 9.91e-07/1.162, allocations: 0 / 0.8263 GB, free: 102.4 MB / 0.5606 GB Notification: Performance of Templates: time 0.0997/1.261, allocations: 90.76 MB / 0.9149 GB, free: 12.37 MB / 0.5606 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: 9.44464121432975] Failed to read output from testmodel.py, exit status != 0: 1.2701894571073353 1.28049441 0.759462891 Calling exit ...