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.00106/0.00106, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 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.001701/0.001701, allocations: 173 kB / 23.49 MB, free: 1.059 MB / 18.57 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 0.9486/0.9486, allocations: 177.1 MB / 203.8 MB, free: 5.621 MB / 186.7 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.08565/0.08565, allocations: 17.38 MB / 277.7 MB, free: 11.69 MB / 266.7 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.222e-06/1.222e-06, allocations: 0 / 353.5 MB, free: 10.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.819e-05/1.942e-05, allocations: 5.125 kB / 353.5 MB, free: 10.27 MB / 282.7 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.05476/0.05478, allocations: 37.81 MB / 391.3 MB, free: 4.57 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.1624/0.2171, allocations: 47.73 MB / 439 MB, free: 30.77 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001264/0.2184, allocations: 53.78 kB / 439.1 MB, free: 30.75 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001379/0.2198, allocations: 0.9357 MB / 440 MB, free: 30.25 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00521/0.225, allocations: 3.843 MB / 443.8 MB, free: 27.79 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009501/0.2345, allocations: 6.678 MB / 450.5 MB, free: 22.71 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002685/0.2372, allocations: 4.686 MB / 455.2 MB, free: 19.87 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001303/0.2385, allocations: 2.322 MB / 457.5 MB, free: 18.09 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001503/0.24, allocations: 3.155 MB / 460.7 MB, free: 14.93 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001414/0.2414, allocations: 2.15 MB / 462.8 MB, free: 12.77 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002973/0.2417, allocations: 422.7 kB / 463.2 MB, free: 12.36 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007294/0.249, allocations: 5.068 MB / 468.3 MB, free: 7.285 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004236/0.2494, allocations: 1.009 MB / 469.3 MB, free: 6.273 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009588/0.2504, allocations: 1.501 MB / 470.8 MB, free: 4.77 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01126/0.2616, allocations: 9.354 MB / 480.2 MB, free: 11.38 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.2616, allocations: 4 kB / 480.2 MB, free: 11.38 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2616, allocations: 0 / 480.2 MB, free: 11.38 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.831e-05/0.2617, allocations: 2.656 kB / 480.2 MB, free: 11.38 MB / 346.7 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.006131/0.2678, allocations: 4.88 MB / 485.1 MB, free: 6.461 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.2679, allocations: 8.031 kB / 485.1 MB, free: 6.453 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002863/0.2707, allocations: 1.422 MB / 486.5 MB, free: 5.027 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001768/0.2725, allocations: 1.636 MB / 488.1 MB, free: 3.359 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001869/0.2727, allocations: 349.7 kB / 488.5 MB, free: 2.992 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003571/0.2731, allocations: 335 kB / 488.8 MB, free: 2.668 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003703/0.2768, allocations: 3.224 MB / 492 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.463e-05/0.2768, allocations: 8.125 kB / 492 MB, free: 15.35 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002292/0.277, allocations: 124.4 kB / 492.2 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.375e-05/0.2771, allocations: 79.94 kB / 492.2 MB, free: 15.15 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005606/0.2827, allocations: 3.556 MB / 495.8 MB, free: 11.59 MB / 362.7 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.01501/0.2977, allocations: 10.48 MB / 0.4944 GB, free: 1.016 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007339/0.305, allocations: 5.255 MB / 0.4995 GB, free: 11.8 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008047/0.3131, allocations: 1.207 MB / 0.5007 GB, free: 10.59 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03053/0.3436, allocations: 7.907 MB / 0.5084 GB, free: 2.668 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.94e-05/0.3437, allocations: 71.56 kB / 0.5085 GB, free: 2.586 MB / 378.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001207/0.3449, allocations: 452.5 kB / 0.5089 GB, free: 2.152 MB / 378.7 MB Notification: Performance of pre-optimization done (n=284): time 5.681e-06/0.3449, allocations: 0 / 0.5089 GB, free: 2.152 MB / 378.7 MB Notification: Performance of matching and sorting (n=387): time 0.05016/0.395, allocations: 16.47 MB / 0.525 GB, free: 1.707 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.65e-05/0.3951, allocations: 93.17 kB / 0.5251 GB, free: 1.605 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001114/0.3962, allocations: 1.487 MB / 0.5266 GB, free: 108 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000174/0.3964, allocations: 89.7 kB / 0.5266 GB, free: 12 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005945/0.397, allocations: 1.428 MB / 0.528 GB, free: 14.57 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006913/0.3977, allocations: 1.367 MB / 0.5294 GB, free: 13.19 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008173/0.3985, allocations: 0.7845 MB / 0.5301 GB, free: 12.39 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004156/0.3989, allocations: 476.8 kB / 0.5306 GB, free: 11.92 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001419/0.4003, allocations: 0.9283 MB / 0.5315 GB, free: 10.99 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001975/0.4023, allocations: 2.305 MB / 0.5338 GB, free: 8.094 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003866/0.4061, allocations: 3.71 MB / 0.5374 GB, free: 3.84 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.196e-05/0.4062, allocations: 8 kB / 0.5374 GB, free: 3.832 MB / 410.7 MB Notification: Performance of matching and sorting (n=542) (initialization): time 0.008747/0.4149, allocations: 4.883 MB / 0.5422 GB, free: 14.94 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.66e-05/0.4149, allocations: 20 kB / 0.5422 GB, free: 14.92 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.562e-05/0.415, allocations: 28 kB / 0.5422 GB, free: 14.89 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006551/0.4215, allocations: 2.275 MB / 0.5444 GB, free: 12.65 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001707/0.4232, allocations: 0.8958 MB / 0.5453 GB, free: 11.76 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1397/0.5629, allocations: 18.44 MB / 0.5633 GB, free: 131 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002118/0.565, allocations: 135.5 kB / 0.5634 GB, free: 131 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003395/0.5653, allocations: 232.7 kB / 0.5637 GB, free: 131 MB / 426.7 MB 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.0009723/0.5663, allocations: 412.3 kB / 0.564 GB, free: 130.8 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006365/0.567, allocations: 395.4 kB / 0.5644 GB, free: 130.8 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0092/0.5762, allocations: 4.861 MB / 0.5692 GB, free: 130.2 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.447e-05/0.5762, allocations: 43.2 kB / 0.5692 GB, free: 130.2 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.701e-05/0.5762, allocations: 5.688 kB / 0.5692 GB, free: 130.2 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.74e-05/0.5762, allocations: 21.06 kB / 0.5692 GB, free: 130.2 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0108/0.587, allocations: 7.39 MB / 0.5765 GB, free: 127.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.959e-06/0.587, allocations: 7.297 kB / 0.5765 GB, free: 127.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001387/0.5884, allocations: 0.6596 MB / 0.5771 GB, free: 127.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005612/0.594, allocations: 2.043 MB / 0.5791 GB, free: 127.2 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000222/0.5943, allocations: 131.9 kB / 0.5792 GB, free: 127.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009493/0.6037, allocations: 17.69 MB / 0.5965 GB, free: 111.3 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.6037, allocations: 3.969 kB / 0.5965 GB, free: 111.3 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008375/0.6121, allocations: 5.661 MB / 0.602 GB, free: 108.2 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009027/0.613, allocations: 0.614 MB / 0.6026 GB, free: 107.6 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002658/0.6133, allocations: 80 kB / 0.6027 GB, free: 107.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008734/0.6142, allocations: 95.97 kB / 0.6028 GB, free: 107.4 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000486/0.6146, allocations: 354.5 kB / 0.6031 GB, free: 107.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001802/0.6148, allocations: 162.5 kB / 0.6033 GB, free: 106.9 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006306/0.6155, allocations: 0.8159 MB / 0.6041 GB, free: 106.1 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.6155, allocations: 0 / 0.6041 GB, free: 106.1 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004653/0.6201, allocations: 2.202 MB / 0.6062 GB, free: 104.3 MB / 426.7 MB 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.003399/0.6235, allocations: 2.346 MB / 0.6085 GB, free: 102.7 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005312/0.6288, allocations: 4.545 MB / 0.613 GB, free: 97.99 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.6288, allocations: 0 / 0.613 GB, free: 97.99 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002603/0.6314, allocations: 3.085 MB / 0.616 GB, free: 94.79 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001534/0.633, allocations: 0.6157 MB / 0.6166 GB, free: 94.23 MB / 426.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007132/0.6401, allocations: 5.892 MB / 0.6223 GB, free: 88.36 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003816/0.6405, allocations: 0.5673 MB / 0.6229 GB, free: 87.76 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001604/0.6421, allocations: 0.6502 MB / 0.6235 GB, free: 87.32 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007353/0.6428, allocations: 456.1 kB / 0.624 GB, free: 86.88 MB / 426.7 MB Notification: Performance of SimCode: time 1.593e-06/0.6428, allocations: 2.188 kB / 0.624 GB, free: 86.88 MB / 426.7 MB Notification: Performance of Templates: time 0.06786/0.7107, allocations: 87.54 MB / 0.7095 GB, free: 104 kB / 426.7 MB " [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=240 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.793762135086581]