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.001647/0.001647, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.001962/0.001962, allocations: 218.2 kB / 22.25 MB, free: 5.105 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.481/1.481, allocations: 230.6 MB / 256 MB, free: 7.824 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.1396/0.1396, allocations: 23.92 MB / 336.3 MB, free: 10.95 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.002124/0.002124, allocations: 75.88 kB / 471.7 MB, free: 6.957 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3424/0.3445, allocations: 59.87 MB / 0.5191 GB, free: 9.781 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.07979/0.4243, allocations: 33.3 MB / 0.5516 GB, free: 6.922 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05872/0.483, allocations: 41.75 MB / 0.5924 GB, free: 14.64 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003937/0.487, allocations: 47.62 kB / 0.5925 GB, free: 14.59 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003285/0.4903, allocations: 0.9303 MB / 0.5934 GB, free: 13.66 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01186/0.5021, allocations: 3.709 MB / 0.597 GB, free: 9.922 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01849/0.5206, allocations: 6.497 MB / 0.6033 GB, free: 3.387 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.007521/0.5281, allocations: 4.531 MB / 0.6078 GB, free: 14.84 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003546/0.5317, allocations: 2.254 MB / 0.61 GB, free: 12.52 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003428/0.5351, allocations: 2.284 MB / 0.6122 GB, free: 10.23 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004565/0.5397, allocations: 2.621 MB / 0.6147 GB, free: 7.605 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009325/0.5406, allocations: 420 kB / 0.6151 GB, free: 7.195 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01392/0.5545, allocations: 5.16 MB / 0.6202 GB, free: 2.027 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001855/0.5564, allocations: 0.9854 MB / 0.6211 GB, free: 1.039 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002965/0.5593, allocations: 1.735 MB / 0.6228 GB, free: 15.3 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02296/0.5823, allocations: 10.2 MB / 0.6328 GB, free: 5.055 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.5823, allocations: 0 / 0.6328 GB, free: 5.055 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.5823, allocations: 0 / 0.6328 GB, free: 5.055 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0001211/0.5824, allocations: 4 kB / 0.6328 GB, free: 5.051 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.0114/0.5938, allocations: 4.765 MB / 0.6375 GB, free: 232 kB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.5939, allocations: 8.031 kB / 0.6375 GB, free: 224 kB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004093/0.5979, allocations: 0.8449 MB / 0.6383 GB, free: 15.37 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003436/0.6014, allocations: 1.616 MB / 0.6399 GB, free: 13.71 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003192/0.6017, allocations: 341.7 kB / 0.6402 GB, free: 13.35 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006906/0.6024, allocations: 344.2 kB / 0.6405 GB, free: 13.02 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008089/0.6105, allocations: 4.547 MB / 0.645 GB, free: 8.398 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.387e-05/0.6105, allocations: 3.938 kB / 0.645 GB, free: 8.395 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003705/0.6109, allocations: 128 kB / 0.6451 GB, free: 8.27 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.024e-05/0.611, allocations: 76 kB / 0.6452 GB, free: 8.195 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01043/0.6214, allocations: 6.169 MB / 0.6512 GB, free: 2.016 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.02682/0.6482, allocations: 11.66 MB / 0.6626 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01018/0.6584, allocations: 5.29 MB / 0.6677 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003786/0.6622, allocations: 2.063 MB / 0.6698 GB, free: 14.89 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02214/0.6843, allocations: 9.115 MB / 0.6787 GB, free: 5.734 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.893e-05/0.6844, allocations: 60.8 kB / 0.6787 GB, free: 5.664 MB / 0.5138 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002295/0.6867, allocations: 454 kB / 0.6791 GB, free: 5.219 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=284): time 6.713e-06/0.6867, allocations: 0 / 0.6791 GB, free: 5.219 MB / 0.5138 GB Notification: Performance of matching and sorting (n=387): time 0.1009/0.7876, allocations: 23.36 MB / 0.702 GB, free: 13.69 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.725e-05/0.7877, allocations: 90.45 kB / 0.702 GB, free: 13.59 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002562/0.7902, allocations: 1.633 MB / 0.7036 GB, free: 11.95 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0006215/0.7908, allocations: 85.7 kB / 0.7037 GB, free: 11.86 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001128/0.792, allocations: 1.366 MB / 0.7051 GB, free: 10.48 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001825/0.7938, allocations: 1.383 MB / 0.7064 GB, free: 9.09 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001391/0.7952, allocations: 0.7798 MB / 0.7072 GB, free: 8.297 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.7953, allocations: 301.1 kB / 0.7075 GB, free: 8 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003299/0.7986, allocations: 1.843 MB / 0.7093 GB, free: 6.148 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004357/0.803, allocations: 2.839 MB / 0.712 GB, free: 2.879 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008356/0.8113, allocations: 4.979 MB / 0.7169 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.52e-05/0.8114, allocations: 11.94 kB / 0.7169 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of matching and sorting (n=542) (initialization): time 0.02151/0.8329, allocations: 6.825 MB / 0.7236 GB, free: 6.574 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.592e-05/0.8329, allocations: 19.98 kB / 0.7236 GB, free: 6.555 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.195e-05/0.833, allocations: 28 kB / 0.7236 GB, free: 6.527 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01289/0.8459, allocations: 2.286 MB / 0.7258 GB, free: 4.211 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004087/0.8499, allocations: 0.8932 MB / 0.7267 GB, free: 3.316 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2244/1.074, allocations: 17.39 MB / 0.7437 GB, free: 162.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003566/1.078, allocations: 138.2 kB / 0.7438 GB, free: 162.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006059/1.079, allocations: 229 kB / 0.744 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.001589/1.08, allocations: 0.6059 MB / 0.7446 GB, free: 161.7 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008303/1.081, allocations: 277.2 kB / 0.7449 GB, free: 161.7 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01862/1.1, allocations: 6.57 MB / 0.7513 GB, free: 159.3 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.69e-05/1.1, allocations: 41.19 kB / 0.7514 GB, free: 159.3 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.664e-05/1.1, allocations: 4.594 kB / 0.7514 GB, free: 159.3 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001347/1.1, allocations: 21.73 kB / 0.7514 GB, free: 159.3 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02593/1.126, allocations: 9.759 MB / 0.7609 GB, free: 155.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.898e-05/1.126, allocations: 4.812 kB / 0.7609 GB, free: 155.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003368/1.129, allocations: 0.6561 MB / 0.7616 GB, free: 155.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01039/1.14, allocations: 2.014 MB / 0.7635 GB, free: 154.8 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007273/1.14, allocations: 133.3 kB / 0.7637 GB, free: 154.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0202/1.16, allocations: 16.03 MB / 0.7793 GB, free: 142.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/1.16, allocations: 3.906 kB / 0.7793 GB, free: 142.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01943/1.18, allocations: 8.503 MB / 0.7876 GB, free: 138.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002204/1.182, allocations: 0.627 MB / 0.7882 GB, free: 137.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006242/1.183, allocations: 83.34 kB / 0.7883 GB, free: 137.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002241/1.185, allocations: 94.41 kB / 0.7884 GB, free: 137.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006665/1.186, allocations: 353.8 kB / 0.7887 GB, free: 137.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003067/1.186, allocations: 163.6 kB / 0.7889 GB, free: 137.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001057/1.187, allocations: 1.027 MB / 0.7899 GB, free: 136.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/1.187, allocations: 0 / 0.7899 GB, free: 136.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005807/1.193, allocations: 2.205 MB / 0.792 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.003833/1.197, allocations: 2.26 MB / 0.7943 GB, free: 134.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009566/1.206, allocations: 5.605 MB / 0.7997 GB, free: 128.5 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.827e-06/1.206, allocations: 0 / 0.7997 GB, free: 128.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.005507/1.212, allocations: 3.348 MB / 0.803 GB, free: 125 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003149/1.215, allocations: 0.5466 MB / 0.8035 GB, free: 124.6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01128/1.226, allocations: 6.769 MB / 0.8101 GB, free: 117.9 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001021/1.227, allocations: 1.33 MB / 0.8114 GB, free: 116.5 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002582/1.23, allocations: 0.6607 MB / 0.8121 GB, free: 116.1 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001138/1.231, allocations: 456.1 kB / 0.8125 GB, free: 115.6 MB / 0.5606 GB Notification: Performance of SimCode: time 1.543e-06/1.231, allocations: 4 kB / 0.8125 GB, free: 115.6 MB / 0.5606 GB Notification: Performance of Templates: time 0.1017/1.333, allocations: 91.6 MB / 0.902 GB, free: 25.07 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.692422134801745] Failed to read output from testmodel.py, exit status != 0: 1.3413333678618073 1.351689457 0.7669415589999999 Calling exit ...