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.001491/0.001491, allocations: 73.97 kB / 20.66 MB, free: 3.844 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.001733/0.001733, allocations: 173.4 kB / 24.06 MB, free: 452 kB / 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.9462/0.9462, allocations: 177.1 MB / 204.5 MB, free: 5.523 MB / 186.7 MB " [Timeout remaining time 179] 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.1002/0.1002, allocations: 17.46 MB / 278.5 MB, free: 11.43 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.032e-06/1.032e-06, allocations: 0 / 354.8 MB, free: 9.57 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.22e-05/1.324e-05, allocations: 2.312 kB / 354.8 MB, free: 9.566 MB / 282.7 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.0566/0.05661, allocations: 37.68 MB / 392.5 MB, free: 3.984 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.1613/0.2179, allocations: 46.52 MB / 439 MB, free: 31.22 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001539/0.2195, allocations: 46.94 kB / 439 MB, free: 31.2 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001492/0.221, allocations: 0.9396 MB / 440 MB, free: 30.7 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005799/0.2268, allocations: 3.85 MB / 443.8 MB, free: 28.23 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01017/0.2369, allocations: 6.688 MB / 450.5 MB, free: 23.16 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002734/0.2397, allocations: 4.683 MB / 455.2 MB, free: 20.32 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001682/0.2414, allocations: 2.327 MB / 457.5 MB, free: 18.5 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002006/0.2434, allocations: 3.155 MB / 460.7 MB, free: 15.34 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001654/0.245, allocations: 2.149 MB / 462.8 MB, free: 13.2 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004241/0.2454, allocations: 420 kB / 463.2 MB, free: 12.79 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007157/0.2526, allocations: 5.068 MB / 468.3 MB, free: 7.707 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004305/0.253, allocations: 1.009 MB / 469.3 MB, free: 6.695 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009285/0.254, allocations: 1.501 MB / 470.8 MB, free: 5.191 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01076/0.2647, allocations: 9.358 MB / 480.2 MB, free: 11.8 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.2647, allocations: 0 / 480.2 MB, free: 11.8 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.2647, allocations: 2.625 kB / 480.2 MB, free: 11.8 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.106e-05/0.2648, allocations: 0 / 480.2 MB, free: 11.8 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.005652/0.2704, allocations: 4.887 MB / 485.1 MB, free: 6.875 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.285e-05/0.2705, allocations: 10.69 kB / 485.1 MB, free: 6.867 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002589/0.2731, allocations: 1.43 MB / 486.5 MB, free: 5.434 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001671/0.2747, allocations: 1.629 MB / 488.1 MB, free: 3.77 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001776/0.2749, allocations: 345.7 kB / 488.5 MB, free: 3.406 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003627/0.2753, allocations: 336.2 kB / 488.8 MB, free: 3.078 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002842/0.2781, allocations: 2.911 MB / 491.7 MB, free: 84 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.053e-05/0.2782, allocations: 192 / 491.7 MB, free: 84 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000231/0.2784, allocations: 128.5 kB / 491.8 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.723e-05/0.2784, allocations: 82.66 kB / 491.9 MB, free: 15.88 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003052/0.2815, allocations: 3.023 MB / 494.9 MB, free: 12.83 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.01122/0.2927, allocations: 10.17 MB / 0.4933 GB, free: 2.59 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004917/0.2976, allocations: 5.01 MB / 0.4982 GB, free: 13.62 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001006/0.2986, allocations: 1.018 MB / 0.4992 GB, free: 12.61 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009557/0.3082, allocations: 7.897 MB / 0.5069 GB, free: 4.691 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.786e-05/0.3082, allocations: 67.61 kB / 0.5069 GB, free: 4.613 MB / 378.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009194/0.3091, allocations: 437.9 kB / 0.5074 GB, free: 4.191 MB / 378.7 MB Notification: Performance of pre-optimization done (n=284): time 3.937e-06/0.3091, allocations: 2.656 kB / 0.5074 GB, free: 4.191 MB / 378.7 MB Notification: Performance of matching and sorting (n=387): time 0.03219/0.3413, allocations: 14.81 MB / 0.5218 GB, free: 5.41 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.877e-05/0.3414, allocations: 98.45 kB / 0.5219 GB, free: 5.301 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001011/0.3424, allocations: 1.466 MB / 0.5234 GB, free: 3.82 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001787/0.3426, allocations: 85.7 kB / 0.5234 GB, free: 3.73 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006281/0.3432, allocations: 1.432 MB / 0.5248 GB, free: 2.285 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000744/0.3439, allocations: 1.375 MB / 0.5262 GB, free: 0.8984 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008315/0.3448, allocations: 0.8063 MB / 0.527 GB, free: 80 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001013/0.3449, allocations: 476.8 kB / 0.5274 GB, free: 15.61 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008912/0.3458, allocations: 0.7069 MB / 0.5281 GB, free: 14.89 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001541/0.3473, allocations: 2.11 MB / 0.5302 GB, free: 12.2 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002924/0.3502, allocations: 3.335 MB / 0.5334 GB, free: 8.316 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.36e-05/0.3502, allocations: 8 kB / 0.5334 GB, free: 8.309 MB / 410.7 MB Notification: Performance of matching and sorting (n=542) (initialization): time 0.008027/0.3583, allocations: 4.398 MB / 0.5377 GB, free: 3.898 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.027e-05/0.3583, allocations: 22.59 kB / 0.5377 GB, free: 3.879 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.998e-05/0.3583, allocations: 32 kB / 0.5378 GB, free: 3.848 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006556/0.3649, allocations: 2.227 MB / 0.54 GB, free: 1.656 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001751/0.3666, allocations: 0.897 MB / 0.5408 GB, free: 0.7578 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1507/0.5173, allocations: 18.06 MB / 0.5585 GB, free: 94 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001994/0.5193, allocations: 129.7 kB / 0.5586 GB, free: 94 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003227/0.5196, allocations: 198.4 kB / 0.5588 GB, free: 94 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.0008523/0.5205, allocations: 406.7 kB / 0.5592 GB, free: 93.84 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006376/0.5211, allocations: 399.9 kB / 0.5595 GB, free: 93.84 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00775/0.5289, allocations: 4.411 MB / 0.5639 GB, free: 93.56 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.859e-05/0.5289, allocations: 43.16 kB / 0.5639 GB, free: 93.56 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.898e-05/0.5289, allocations: 9.047 kB / 0.5639 GB, free: 93.56 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.18e-05/0.529, allocations: 20.16 kB / 0.5639 GB, free: 93.56 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00972/0.5387, allocations: 6.656 MB / 0.5704 GB, free: 92.75 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/0.5387, allocations: 3.719 kB / 0.5704 GB, free: 92.75 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001364/0.5401, allocations: 0.6595 MB / 0.5711 GB, free: 92.75 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005728/0.5458, allocations: 2.006 MB / 0.573 GB, free: 92.63 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002299/0.546, allocations: 131.3 kB / 0.5732 GB, free: 92.63 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008897/0.5549, allocations: 17.34 MB / 0.5901 GB, free: 78 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.5549, allocations: 7.188 kB / 0.5901 GB, free: 78 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007228/0.5621, allocations: 5.034 MB / 0.595 GB, free: 77.09 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007487/0.5629, allocations: 0.6077 MB / 0.5956 GB, free: 76.93 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002546/0.5631, allocations: 84.67 kB / 0.5957 GB, free: 76.93 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008553/0.564, allocations: 84.62 kB / 0.5958 GB, free: 76.93 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004376/0.5644, allocations: 358.9 kB / 0.5961 GB, free: 76.93 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001836/0.5646, allocations: 131.2 kB / 0.5962 GB, free: 76.93 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004609/0.5651, allocations: 0.7578 MB / 0.597 GB, free: 76.77 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.5651, allocations: 0 / 0.597 GB, free: 76.77 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003962/0.569, allocations: 2.202 MB / 0.5991 GB, free: 76.77 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.002613/0.5717, allocations: 2.457 MB / 0.6015 GB, free: 76.68 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003777/0.5754, allocations: 4.135 MB / 0.6056 GB, free: 74.26 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.5754, allocations: 0 / 0.6056 GB, free: 74.26 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002148/0.5776, allocations: 2.881 MB / 0.6084 GB, free: 71.83 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001375/0.579, allocations: 0.6215 MB / 0.609 GB, free: 71.55 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.005721/0.5847, allocations: 5.731 MB / 0.6146 GB, free: 66.61 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003502/0.585, allocations: 0.5646 MB / 0.6151 GB, free: 66.17 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001452/0.5865, allocations: 0.6358 MB / 0.6158 GB, free: 65.82 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001298/0.5878, allocations: 0.9164 MB / 0.6167 GB, free: 65.07 MB / 426.7 MB Notification: Performance of SimCode: time 6.31e-07/0.5878, allocations: 2.078 kB / 0.6167 GB, free: 65.07 MB / 426.7 MB Notification: Performance of Templates: time 0.08116/0.6689, allocations: 99.31 MB / 0.7136 GB, free: 15.04 MB / 474.7 MB " [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=240 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.0418267622590065]