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.001285/0.001285, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.002299/0.002299, allocations: 214.8 kB / 22.99 MB, free: 4.98 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.446/1.446, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.1332/0.1332, allocations: 23.93 MB / 337.1 MB, free: 10.93 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.00205/0.00205, allocations: 59.91 kB / 472.4 MB, free: 6.945 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2938/0.2958, allocations: 59.88 MB / 0.5198 GB, free: 9.797 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.07687/0.3727, allocations: 33.26 MB / 0.5523 GB, free: 6.938 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05487/0.4275, allocations: 41.76 MB / 0.5931 GB, free: 14.68 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003532/0.4311, allocations: 47.62 kB / 0.5931 GB, free: 14.63 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003354/0.4344, allocations: 0.9225 MB / 0.594 GB, free: 13.7 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01406/0.4485, allocations: 3.713 MB / 0.5977 GB, free: 9.965 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01846/0.4669, allocations: 6.49 MB / 0.604 GB, free: 3.438 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00775/0.4747, allocations: 4.528 MB / 0.6084 GB, free: 14.89 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003693/0.4784, allocations: 2.261 MB / 0.6106 GB, free: 12.57 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003865/0.4823, allocations: 2.288 MB / 0.6129 GB, free: 10.28 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004643/0.4869, allocations: 2.617 MB / 0.6154 GB, free: 7.652 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001246/0.4881, allocations: 423.9 kB / 0.6158 GB, free: 7.238 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01759/0.5057, allocations: 5.152 MB / 0.6209 GB, free: 2.078 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001744/0.5075, allocations: 0.9893 MB / 0.6218 GB, free: 1.086 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002733/0.5102, allocations: 1.735 MB / 0.6235 GB, free: 15.34 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02442/0.5346, allocations: 10.2 MB / 0.6335 GB, free: 5.102 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.5346, allocations: 0 / 0.6335 GB, free: 5.102 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.5346, allocations: 0 / 0.6335 GB, free: 5.102 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0001635/0.5348, allocations: 0 / 0.6335 GB, free: 5.102 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.01231/0.5471, allocations: 4.765 MB / 0.6381 GB, free: 284 kB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.828e-05/0.5472, allocations: 8.031 kB / 0.6382 GB, free: 276 kB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004255/0.5514, allocations: 0.8488 MB / 0.639 GB, free: 15.42 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003834/0.5552, allocations: 1.608 MB / 0.6406 GB, free: 13.77 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003072/0.5556, allocations: 353.7 kB / 0.6409 GB, free: 13.39 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007583/0.5563, allocations: 336.2 kB / 0.6412 GB, free: 13.07 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00844/0.5648, allocations: 4.551 MB / 0.6457 GB, free: 8.445 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.377e-05/0.5648, allocations: 7.938 kB / 0.6457 GB, free: 8.438 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003483/0.5652, allocations: 124 kB / 0.6458 GB, free: 8.316 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.3e-05/0.5652, allocations: 76 kB / 0.6459 GB, free: 8.242 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009827/0.5751, allocations: 6.169 MB / 0.6519 GB, free: 2.062 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.02544/0.6005, allocations: 11.65 MB / 0.6633 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009785/0.6103, allocations: 5.301 MB / 0.6684 GB, free: 1 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0038/0.6141, allocations: 2.063 MB / 0.6704 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02157/0.6357, allocations: 9.103 MB / 0.6793 GB, free: 5.789 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.376e-05/0.6357, allocations: 60.8 kB / 0.6794 GB, free: 5.719 MB / 0.5137 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002207/0.6379, allocations: 454 kB / 0.6798 GB, free: 5.273 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=284): time 7.424e-06/0.6379, allocations: 0 / 0.6798 GB, free: 5.273 MB / 0.5137 GB Notification: Performance of matching and sorting (n=387): time 0.0981/0.736, allocations: 23.35 MB / 0.7026 GB, free: 13.75 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001438/0.7362, allocations: 90.45 kB / 0.7027 GB, free: 13.65 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002238/0.7384, allocations: 1.637 MB / 0.7043 GB, free: 12.01 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0006014/0.739, allocations: 89.7 kB / 0.7044 GB, free: 11.91 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001071/0.7401, allocations: 1.37 MB / 0.7057 GB, free: 10.53 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001593/0.7417, allocations: 1.375 MB / 0.7071 GB, free: 9.145 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001335/0.743, allocations: 0.7837 MB / 0.7079 GB, free: 8.348 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001265/0.7431, allocations: 301.1 kB / 0.7081 GB, free: 8.051 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003237/0.7464, allocations: 1.839 MB / 0.7099 GB, free: 6.203 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004124/0.7505, allocations: 2.843 MB / 0.7127 GB, free: 2.93 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00815/0.7587, allocations: 4.975 MB / 0.7176 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.138e-05/0.7587, allocations: 15.94 kB / 0.7176 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=542) (initialization): time 0.02035/0.779, allocations: 6.825 MB / 0.7242 GB, free: 6.625 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.147e-05/0.7791, allocations: 20 kB / 0.7243 GB, free: 6.605 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.126e-05/0.7791, allocations: 28 kB / 0.7243 GB, free: 6.578 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01198/0.7911, allocations: 2.283 MB / 0.7265 GB, free: 4.266 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003937/0.795, allocations: 0.8971 MB / 0.7274 GB, free: 3.367 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2479/1.043, allocations: 17.38 MB / 0.7444 GB, free: 162.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003473/1.046, allocations: 142.3 kB / 0.7445 GB, free: 162.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006777/1.047, allocations: 231.7 kB / 0.7447 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.001636/1.049, allocations: 0.608 MB / 0.7453 GB, free: 161.7 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008494/1.05, allocations: 277.5 kB / 0.7456 GB, free: 161.7 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01851/1.068, allocations: 6.569 MB / 0.752 GB, free: 159.3 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.458e-05/1.068, allocations: 41 kB / 0.752 GB, free: 159.3 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.598e-05/1.068, allocations: 5.188 kB / 0.752 GB, free: 159.3 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001099/1.068, allocations: 20.81 kB / 0.7521 GB, free: 159.3 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02384/1.092, allocations: 9.768 MB / 0.7616 GB, free: 155.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.491e-05/1.092, allocations: 8.281 kB / 0.7616 GB, free: 155.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003215/1.095, allocations: 0.6539 MB / 0.7623 GB, free: 155.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009917/1.105, allocations: 2.005 MB / 0.7642 GB, free: 154.8 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006338/1.106, allocations: 140.9 kB / 0.7643 GB, free: 154.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01908/1.125, allocations: 16.02 MB / 0.78 GB, free: 142.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.738e-06/1.125, allocations: 7.75 kB / 0.78 GB, free: 142.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01825/1.143, allocations: 8.502 MB / 0.7883 GB, free: 138.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001662/1.145, allocations: 0.6303 MB / 0.7889 GB, free: 137.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004756/1.145, allocations: 82.27 kB / 0.789 GB, free: 137.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002029/1.147, allocations: 96.38 kB / 0.7891 GB, free: 137.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006321/1.148, allocations: 357.6 kB / 0.7894 GB, free: 137.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002755/1.148, allocations: 155.6 kB / 0.7896 GB, free: 137.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0009751/1.149, allocations: 1.031 MB / 0.7906 GB, free: 136.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/1.149, allocations: 5.906 kB / 0.7906 GB, free: 136.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005386/1.155, allocations: 2.197 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.0036/1.158, allocations: 2.265 MB / 0.7949 GB, free: 134.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008822/1.167, allocations: 5.603 MB / 0.8004 GB, free: 128.5 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.158e-06/1.167, allocations: 2.656 kB / 0.8004 GB, free: 128.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.005364/1.172, allocations: 3.345 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.002518/1.175, allocations: 0.5409 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.009772/1.185, allocations: 6.763 MB / 0.8108 GB, free: 117.9 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00107/1.186, allocations: 1.336 MB / 0.8121 GB, free: 116.5 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002577/1.188, allocations: 0.6616 MB / 0.8128 GB, free: 116.1 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009915/1.189, allocations: 451.1 kB / 0.8132 GB, free: 115.6 MB / 0.5606 GB Notification: Performance of SimCode: time 1.021e-06/1.189, allocations: 0 / 0.8132 GB, free: 115.6 MB / 0.5606 GB Notification: Performance of Templates: time 0.09705/1.286, allocations: 91.6 MB / 0.9027 GB, free: 25.09 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 -s cvode -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.309745264006779] Failed to read output from testmodel.py, exit status != 0: 1.295263744003023 1.3043641449999999 0.767313636 Calling exit ...