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.001353/0.001353, allocations: 78.33 kB / 19.18 MB, free: 2.527 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.001524/0.001524, allocations: 170.3 kB / 22.46 MB, free: 5.355 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.454/1.454, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.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.1289/0.1289, allocations: 17.38 MB / 276.6 MB, free: 15.29 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: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 412 MB, free: 4.422 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.569e-05/2.729e-05, allocations: 6.219 kB / 412 MB, free: 4.414 MB / 334.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.04532/0.04535, allocations: 33.66 MB / 445.6 MB, free: 2.867 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.2086/0.254, allocations: 41.75 MB / 487.4 MB, free: 10.92 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003807/0.2578, allocations: 47.31 kB / 487.4 MB, free: 10.89 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003244/0.261, allocations: 0.9378 MB / 488.4 MB, free: 10.17 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01212/0.2731, allocations: 3.838 MB / 492.2 MB, free: 7.273 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0165/0.2896, allocations: 6.679 MB / 498.9 MB, free: 2.023 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005781/0.2954, allocations: 4.684 MB / 0.4918 GB, free: 13.32 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003327/0.2987, allocations: 2.23 MB / 0.4939 GB, free: 11.03 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004469/0.3032, allocations: 3.151 MB / 0.497 GB, free: 7.875 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003901/0.3071, allocations: 2.11 MB / 0.4991 GB, free: 5.766 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000957/0.3081, allocations: 420 kB / 0.4995 GB, free: 5.355 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01606/0.3241, allocations: 5.072 MB / 0.5044 GB, free: 280 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001776/0.3259, allocations: 0.997 MB / 0.5054 GB, free: 15.27 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002765/0.3287, allocations: 1.499 MB / 0.5069 GB, free: 13.77 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02758/0.3562, allocations: 10.9 MB / 0.5175 GB, free: 2.832 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.815e-06/0.3562, allocations: 0 / 0.5175 GB, free: 2.832 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.3562, allocations: 0 / 0.5175 GB, free: 2.832 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001632/0.3564, allocations: 0 / 0.5175 GB, free: 2.832 MB / 398.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.01168/0.3681, allocations: 4.722 MB / 0.5221 GB, free: 14.09 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.3681, allocations: 12.03 kB / 0.5221 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004179/0.3723, allocations: 0.8512 MB / 0.523 GB, free: 13.22 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003314/0.3756, allocations: 1.619 MB / 0.5246 GB, free: 11.57 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003365/0.376, allocations: 345.7 kB / 0.5249 GB, free: 11.21 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006493/0.3766, allocations: 333.7 kB / 0.5252 GB, free: 10.89 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008295/0.3849, allocations: 4.549 MB / 0.5296 GB, free: 6.273 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.532e-05/0.385, allocations: 192 / 0.5296 GB, free: 6.273 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003843/0.3853, allocations: 128.4 kB / 0.5298 GB, free: 6.148 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.706e-05/0.3854, allocations: 79.94 kB / 0.5298 GB, free: 6.07 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01077/0.3962, allocations: 6.176 MB / 0.5359 GB, free: 15.89 MB / 430.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.02472/0.4209, allocations: 11.65 MB / 0.5473 GB, free: 4.172 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009943/0.4308, allocations: 5.307 MB / 0.5524 GB, free: 14.92 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003771/0.4346, allocations: 2.062 MB / 0.5545 GB, free: 12.85 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0207/0.4553, allocations: 9.102 MB / 0.5633 GB, free: 3.727 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.012e-05/0.4554, allocations: 72.73 kB / 0.5634 GB, free: 3.645 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002072/0.4575, allocations: 446 kB / 0.5638 GB, free: 3.215 MB / 446.1 MB Notification: Performance of pre-optimization done (n=284): time 7.975e-06/0.4575, allocations: 2.656 kB / 0.5638 GB, free: 3.215 MB / 446.1 MB Notification: Performance of matching and sorting (n=387): time 0.09396/0.5514, allocations: 23.35 MB / 0.5866 GB, free: 12.02 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.75e-05/0.5515, allocations: 94.45 kB / 0.5867 GB, free: 11.92 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002187/0.5537, allocations: 1.633 MB / 0.5883 GB, free: 10.28 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004361/0.5541, allocations: 92.33 kB / 0.5884 GB, free: 10.19 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001084/0.5552, allocations: 1.362 MB / 0.5897 GB, free: 8.812 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001366/0.5566, allocations: 1.352 MB / 0.5911 GB, free: 7.449 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001331/0.5579, allocations: 0.7798 MB / 0.5918 GB, free: 6.656 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001295/0.558, allocations: 301.1 kB / 0.5921 GB, free: 6.359 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003337/0.5614, allocations: 1.836 MB / 0.5939 GB, free: 4.516 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004412/0.5658, allocations: 2.846 MB / 0.5967 GB, free: 1.234 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008619/0.5744, allocations: 4.974 MB / 0.6015 GB, free: 11.88 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.491e-05/0.5744, allocations: 8 kB / 0.6016 GB, free: 11.87 MB / 494.1 MB Notification: Performance of matching and sorting (n=542) (initialization): time 0.02062/0.5951, allocations: 6.835 MB / 0.6082 GB, free: 5 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.568e-05/0.5951, allocations: 20 kB / 0.6082 GB, free: 4.98 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-05/0.5952, allocations: 28 kB / 0.6083 GB, free: 4.953 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0122/0.6074, allocations: 2.294 MB / 0.6105 GB, free: 2.637 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004093/0.6114, allocations: 0.8971 MB / 0.6114 GB, free: 1.738 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2106/0.822, allocations: 17.36 MB / 0.6283 GB, free: 162.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004148/0.8262, allocations: 139.7 kB / 0.6285 GB, free: 162.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008027/0.827, allocations: 228.4 kB / 0.6287 GB, free: 162.3 MB / 0.4981 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.001531/0.8285, allocations: 0.6066 MB / 0.6293 GB, free: 162.2 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009438/0.8294, allocations: 278.3 kB / 0.6295 GB, free: 162.2 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0182/0.8477, allocations: 6.569 MB / 0.636 GB, free: 161 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-05/0.8477, allocations: 48.19 kB / 0.636 GB, free: 161 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.259e-05/0.8477, allocations: 5.281 kB / 0.636 GB, free: 161 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.928e-05/0.8478, allocations: 21.09 kB / 0.636 GB, free: 161 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02294/0.8707, allocations: 9.756 MB / 0.6456 GB, free: 157.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.174e-05/0.8708, allocations: 4.438 kB / 0.6456 GB, free: 157.1 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003155/0.8739, allocations: 0.6479 MB / 0.6462 GB, free: 157 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009513/0.8834, allocations: 2.019 MB / 0.6482 GB, free: 156.6 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006696/0.8841, allocations: 140.4 kB / 0.6483 GB, free: 156.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01865/0.9028, allocations: 16 MB / 0.6639 GB, free: 143.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.182e-06/0.9028, allocations: 11.75 kB / 0.6639 GB, free: 143.9 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01806/0.9208, allocations: 8.482 MB / 0.6722 GB, free: 140 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001459/0.9223, allocations: 0.6331 MB / 0.6728 GB, free: 139.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004363/0.9227, allocations: 82.56 kB / 0.6729 GB, free: 139.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001851/0.9246, allocations: 94.03 kB / 0.673 GB, free: 139.4 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006736/0.9253, allocations: 358.1 kB / 0.6734 GB, free: 139.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002771/0.9255, allocations: 161.2 kB / 0.6735 GB, free: 139.1 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00102/0.9265, allocations: 1.03 MB / 0.6745 GB, free: 138.2 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9265, allocations: 4 kB / 0.6745 GB, free: 138.2 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005305/0.9319, allocations: 2.202 MB / 0.6767 GB, free: 136.4 MB / 0.4981 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.003748/0.9356, allocations: 2.333 MB / 0.6789 GB, free: 134.9 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.009455/0.9451, allocations: 5.6 MB / 0.6844 GB, free: 129.2 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.425e-06/0.9451, allocations: 2.656 kB / 0.6844 GB, free: 129.2 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.005747/0.9508, allocations: 3.346 MB / 0.6877 GB, free: 125.8 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002944/0.9538, allocations: 0.5394 MB / 0.6882 GB, free: 125.3 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01012/0.9639, allocations: 6.572 MB / 0.6946 GB, free: 118.8 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009978/0.9649, allocations: 1.334 MB / 0.6959 GB, free: 117.4 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002479/0.9673, allocations: 0.6592 MB / 0.6966 GB, free: 117 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001059/0.9684, allocations: 452.1 kB / 0.697 GB, free: 116.5 MB / 0.4981 GB Notification: Performance of SimCode: time 1.032e-06/0.9684, allocations: 0 / 0.697 GB, free: 116.5 MB / 0.4981 GB Notification: Performance of Templates: time 0.0986/1.067, allocations: 86.09 MB / 0.7811 GB, free: 31.04 MB / 0.4981 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.19735338166356] Failed to read output from testmodel.py, exit status != 0: 1.0761260613799095 1.084563383 0.725842812 Calling exit ...