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.0009017/0.0009017, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.0009175/0.0009175, allocations: 169 kB / 23.02 MB, free: 1.551 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.9866/0.9866, allocations: 177.1 MB / 203.4 MB, free: 5.645 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.09561/0.09561, allocations: 17.38 MB / 277.3 MB, free: 11.65 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.192e-06/1.192e-06, allocations: 0 / 353.4 MB, free: 9.973 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.709e-05/1.828e-05, allocations: 2.312 kB / 353.4 MB, free: 9.969 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.03895/0.03897, allocations: 37.95 MB / 391.4 MB, free: 4.117 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.1653/0.2043, allocations: 47.92 MB / 439.3 MB, free: 30.6 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002347/0.2066, allocations: 49.78 kB / 439.4 MB, free: 30.57 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001978/0.2086, allocations: 0.9434 MB / 440.3 MB, free: 30.07 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007833/0.2164, allocations: 3.848 MB / 444.2 MB, free: 27.54 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01341/0.2299, allocations: 6.688 MB / 450.8 MB, free: 22.46 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.004685/0.2345, allocations: 4.687 MB / 455.5 MB, free: 19.62 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002341/0.2369, allocations: 2.312 MB / 457.8 MB, free: 17.63 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003186/0.2401, allocations: 3.163 MB / 461 MB, free: 14.46 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002395/0.2425, allocations: 2.149 MB / 463.2 MB, free: 12.32 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009862/0.2435, allocations: 420 kB / 463.6 MB, free: 11.91 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01245/0.2559, allocations: 5.072 MB / 468.6 MB, free: 6.824 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001024/0.2569, allocations: 1.005 MB / 469.6 MB, free: 5.816 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002137/0.2591, allocations: 1.505 MB / 471.2 MB, free: 4.309 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01859/0.2777, allocations: 9.354 MB / 480.5 MB, free: 10.91 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.2777, allocations: 2.656 kB / 480.5 MB, free: 10.91 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.2777, allocations: 0 / 480.5 MB, free: 10.91 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001083/0.2778, allocations: 3.938 kB / 480.5 MB, free: 10.91 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.006861/0.2846, allocations: 4.872 MB / 485.4 MB, free: 6.004 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.08e-05/0.2847, allocations: 10.66 kB / 485.4 MB, free: 5.996 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003106/0.2878, allocations: 1.43 MB / 486.8 MB, free: 4.562 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002276/0.2901, allocations: 1.63 MB / 488.5 MB, free: 2.898 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002258/0.2903, allocations: 349.6 kB / 488.8 MB, free: 2.531 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000437/0.2907, allocations: 336.2 kB / 489.1 MB, free: 2.203 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004351/0.2951, allocations: 3.224 MB / 492.3 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.261e-05/0.2951, allocations: 192 / 492.3 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002344/0.2954, allocations: 124.4 kB / 492.5 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-05/0.2954, allocations: 79.94 kB / 492.5 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004748/0.3002, allocations: 3.555 MB / 496.1 MB, free: 11.13 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.01353/0.3137, allocations: 10.48 MB / 0.4947 GB, free: 0.5625 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005651/0.3193, allocations: 5.26 MB / 0.4998 GB, free: 11.35 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001518/0.3209, allocations: 1.203 MB / 0.501 GB, free: 10.14 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0109/0.3318, allocations: 7.92 MB / 0.5088 GB, free: 2.207 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.561e-05/0.3318, allocations: 68.38 kB / 0.5088 GB, free: 2.129 MB / 378.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001095/0.3329, allocations: 453.8 kB / 0.5093 GB, free: 1.691 MB / 378.7 MB Notification: Performance of pre-optimization done (n=284): time 9.568e-06/0.3329, allocations: 2.656 kB / 0.5093 GB, free: 1.691 MB / 378.7 MB Notification: Performance of matching and sorting (n=387): time 0.03719/0.3701, allocations: 16.47 MB / 0.5253 GB, free: 1.25 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.843e-05/0.3702, allocations: 90.45 kB / 0.5254 GB, free: 1.148 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001506/0.3717, allocations: 1.479 MB / 0.5269 GB, free: 15.66 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002143/0.3719, allocations: 89.7 kB / 0.527 GB, free: 15.56 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000706/0.3726, allocations: 1.432 MB / 0.5284 GB, free: 14.12 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009324/0.3735, allocations: 1.367 MB / 0.5297 GB, free: 12.74 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008841/0.3744, allocations: 0.7871 MB / 0.5305 GB, free: 11.94 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001134/0.3745, allocations: 476.8 kB / 0.5309 GB, free: 11.47 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001445/0.376, allocations: 0.9295 MB / 0.5318 GB, free: 10.53 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002099/0.3781, allocations: 2.302 MB / 0.5341 GB, free: 7.641 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004026/0.3821, allocations: 3.71 MB / 0.5377 GB, free: 3.387 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.34e-05/0.3821, allocations: 12 kB / 0.5377 GB, free: 3.375 MB / 410.7 MB Notification: Performance of matching and sorting (n=542) (initialization): time 0.009829/0.3919, allocations: 4.882 MB / 0.5425 GB, free: 14.48 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.421e-05/0.392, allocations: 20 kB / 0.5425 GB, free: 14.46 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.507e-05/0.392, allocations: 33.38 kB / 0.5425 GB, free: 14.43 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007323/0.3993, allocations: 2.281 MB / 0.5447 GB, free: 12.19 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002499/0.4018, allocations: 0.8958 MB / 0.5456 GB, free: 11.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1634/0.5652, allocations: 18.43 MB / 0.5636 GB, free: 90.71 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002241/0.5675, allocations: 136.5 kB / 0.5638 GB, free: 90.71 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004149/0.5679, allocations: 229 kB / 0.564 GB, free: 90.71 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.0009605/0.5688, allocations: 412.8 kB / 0.5644 GB, free: 90.55 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000785/0.5696, allocations: 396.8 kB / 0.5647 GB, free: 90.55 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009665/0.5793, allocations: 4.862 MB / 0.5695 GB, free: 90.25 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.367e-05/0.5793, allocations: 45.53 kB / 0.5695 GB, free: 90.24 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.648e-05/0.5793, allocations: 3.125 kB / 0.5695 GB, free: 90.24 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.802e-05/0.5794, allocations: 23.11 kB / 0.5696 GB, free: 90.24 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01196/0.5913, allocations: 7.374 MB / 0.5768 GB, free: 89.39 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-05/0.5914, allocations: 4.531 kB / 0.5768 GB, free: 89.39 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001666/0.593, allocations: 0.6562 MB / 0.5774 GB, free: 89.39 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006134/0.5992, allocations: 2.058 MB / 0.5794 GB, free: 89.27 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003892/0.5995, allocations: 134.6 kB / 0.5795 GB, free: 89.27 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01155/0.6111, allocations: 17.68 MB / 0.5968 GB, free: 74.5 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.6111, allocations: 5.906 kB / 0.5968 GB, free: 74.5 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01161/0.6227, allocations: 5.665 MB / 0.6023 GB, free: 73.64 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00119/0.6239, allocations: 0.6112 MB / 0.6029 GB, free: 73.31 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003383/0.6242, allocations: 81.12 kB / 0.603 GB, free: 73.25 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001228/0.6255, allocations: 93.16 kB / 0.6031 GB, free: 73.2 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005988/0.6261, allocations: 360.3 kB / 0.6035 GB, free: 73.14 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002512/0.6263, allocations: 155.4 kB / 0.6036 GB, free: 73.12 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0008272/0.6271, allocations: 0.8239 MB / 0.6044 GB, free: 72.83 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.6271, allocations: 0 / 0.6044 GB, free: 72.83 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004901/0.632, allocations: 2.204 MB / 0.6066 GB, free: 72.61 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.003566/0.6356, allocations: 2.329 MB / 0.6088 GB, free: 72.23 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006442/0.6421, allocations: 4.555 MB / 0.6133 GB, free: 68.18 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.693e-06/0.6421, allocations: 4 kB / 0.6133 GB, free: 68.18 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003549/0.6456, allocations: 3.083 MB / 0.6163 GB, free: 65.39 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002168/0.6478, allocations: 0.6244 MB / 0.6169 GB, free: 64.93 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.008727/0.6565, allocations: 5.884 MB / 0.6227 GB, free: 59.49 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000494/0.657, allocations: 0.5634 MB / 0.6232 GB, free: 58.9 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002001/0.659, allocations: 0.6473 MB / 0.6238 GB, free: 58.46 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009062/0.6599, allocations: 456.1 kB / 0.6243 GB, free: 58.01 MB / 426.7 MB Notification: Performance of SimCode: time 1.543e-06/0.6599, allocations: 2.656 kB / 0.6243 GB, free: 58.01 MB / 426.7 MB Notification: Performance of Templates: time 0.07798/0.7379, allocations: 87.43 MB / 0.7097 GB, free: 3.516 MB / 458.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: 6.003767008893192]