Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.GasSolubility_blood.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.001382/0.001382, 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.0009826/0.0009826, allocations: 173 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.94/0.94, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.08878/0.08878, allocations: 17.38 MB / 277.3 MB, free: 11.64 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.GasSolubility_blood,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.GasSolubility_blood") translateModel(Chemical.Obsolete.Examples.GasSolubility_blood,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.GasSolubility_blood") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 353.4 MB, free: 9.992 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.931e-05/3.112e-05, allocations: 6.312 kB / 353.4 MB, free: 9.984 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility_blood): time 0.01365/0.01368, allocations: 6.903 MB / 360.3 MB, free: 3.047 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.02612/0.0398, allocations: 19.69 MB / 380 MB, free: 15.28 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001006/0.04081, allocations: 23.81 kB / 380 MB, free: 15.26 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009206/0.04173, allocations: 384.9 kB / 380.4 MB, free: 14.88 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004322/0.04605, allocations: 1.687 MB / 382.1 MB, free: 13.18 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006265/0.05232, allocations: 2.551 MB / 384.7 MB, free: 10.61 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002685/0.055, allocations: 1.891 MB / 386.5 MB, free: 8.715 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001067/0.05607, allocations: 0.7976 MB / 387.3 MB, free: 7.898 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001436/0.0575, allocations: 1.209 MB / 388.6 MB, free: 6.688 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001052/0.05856, allocations: 0.7717 MB / 389.3 MB, free: 5.914 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003017/0.05886, allocations: 156 kB / 389.5 MB, free: 5.762 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005035/0.06389, allocations: 1.984 MB / 391.5 MB, free: 3.773 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003233/0.06422, allocations: 370.8 kB / 391.8 MB, free: 3.41 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006563/0.06487, allocations: 0.573 MB / 392.4 MB, free: 2.836 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008369/0.07324, allocations: 3.634 MB / 396 MB, free: 15.19 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.406e-06/0.07325, allocations: 0 / 396 MB, free: 15.19 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.805e-06/0.07325, allocations: 0 / 396 MB, free: 15.19 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.776e-05/0.07332, allocations: 0 / 396 MB, free: 15.19 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 314 * Number of variables: 314 Notification: Performance of Generate backend data structure: time 0.003827/0.07715, allocations: 2.102 MB / 398.1 MB, free: 13.04 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/0.07719, allocations: 8.031 kB / 398.1 MB, free: 13.03 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001321/0.07852, allocations: 0.6458 MB / 398.8 MB, free: 12.38 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001034/0.07955, allocations: 0.7139 MB / 399.5 MB, free: 11.64 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.01e-05/0.07962, allocations: 94.84 kB / 399.6 MB, free: 11.55 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001498/0.07977, allocations: 124.3 kB / 399.7 MB, free: 11.43 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001625/0.08139, allocations: 1.21 MB / 400.9 MB, free: 10.17 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.286e-05/0.08142, allocations: 192 / 400.9 MB, free: 10.17 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.654e-05/0.0815, allocations: 52.38 kB / 401 MB, free: 10.12 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.442e-05/0.08153, allocations: 35.94 kB / 401 MB, free: 10.08 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001856/0.08338, allocations: 1.376 MB / 402.4 MB, free: 8.695 MB / 330.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.005044/0.08843, allocations: 3.786 MB / 406.2 MB, free: 4.828 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002187/0.09062, allocations: 2.088 MB / 408.3 MB, free: 2.73 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004049/0.09102, allocations: 361.4 kB / 408.6 MB, free: 2.375 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1603/0.2514, allocations: 2.722 MB / 411.3 MB, free: 58.38 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.133e-05/0.2514, allocations: 41.2 kB / 411.4 MB, free: 58.34 MB / 330.7 MB Notification: Performance of pre-optimization done (n=72): time 2.775e-06/0.2514, allocations: 0 / 411.4 MB, free: 58.34 MB / 330.7 MB Notification: Performance of matching and sorting (n=89): time 0.009605/0.261, allocations: 2.89 MB / 414.3 MB, free: 58.02 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.379e-05/0.261, allocations: 62.03 kB / 414.3 MB, free: 57.96 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001246/0.2623, allocations: 0.9739 MB / 415.3 MB, free: 57.74 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.499e-05/0.2623, allocations: 40.78 kB / 415.3 MB, free: 57.71 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004103/0.2627, allocations: 0.7652 MB / 416.1 MB, free: 57.33 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002409/0.263, allocations: 329.7 kB / 416.4 MB, free: 57.16 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004029/0.2634, allocations: 293.6 kB / 416.7 MB, free: 57.12 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.2635, allocations: 0.5286 MB / 417.2 MB, free: 56.64 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005447/0.2641, allocations: 244.6 kB / 417.5 MB, free: 56.64 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007977/0.2649, allocations: 0.9213 MB / 418.4 MB, free: 55.79 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001389/0.2663, allocations: 1.25 MB / 419.7 MB, free: 54.94 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.85e-05/0.2663, allocations: 4.75 kB / 419.7 MB, free: 54.94 MB / 330.7 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.003323/0.2696, allocations: 1.409 MB / 421.1 MB, free: 54.79 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.345e-05/0.2696, allocations: 15.59 kB / 421.1 MB, free: 54.79 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.706e-05/0.2697, allocations: 16.48 kB / 421.1 MB, free: 54.79 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00187/0.2715, allocations: 351.8 kB / 421.4 MB, free: 54.77 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009258/0.2725, allocations: 356.2 kB / 421.8 MB, free: 54.77 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003369/0.2758, allocations: 4.369 MB / 426.2 MB, free: 50.85 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008654/0.2767, allocations: 48.09 kB / 426.2 MB, free: 50.82 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001139/0.2768, allocations: 84.11 kB / 426.3 MB, free: 50.81 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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 (179): * Single equations (assignments): 177 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0003515/0.2772, allocations: 253.9 kB / 426.5 MB, free: 50.61 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002332/0.2774, allocations: 129.7 kB / 426.7 MB, free: 50.54 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002346/0.2797, allocations: 1.065 MB / 427.7 MB, free: 50.21 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.528e-06/0.2798, allocations: 10.34 kB / 427.7 MB, free: 50.21 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.2798, allocations: 0 / 427.7 MB, free: 50.21 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.968e-06/0.2798, allocations: 3.703 kB / 427.7 MB, free: 50.21 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001195/0.281, allocations: 0.8051 MB / 428.5 MB, free: 49.78 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.176e-06/0.281, allocations: 0 / 428.5 MB, free: 49.78 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004897/0.2815, allocations: 176.5 kB / 428.7 MB, free: 49.77 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001641/0.2831, allocations: 330.6 kB / 429 MB, free: 49.71 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.117e-05/0.2832, allocations: 31.53 kB / 429.1 MB, free: 49.7 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002836/0.286, allocations: 4.279 MB / 433.4 MB, free: 45.64 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.286, allocations: 6.594 kB / 433.4 MB, free: 45.64 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002596/0.2886, allocations: 1.322 MB / 434.7 MB, free: 45.11 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000246/0.2889, allocations: 98.03 kB / 434.8 MB, free: 45.04 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001191/0.289, allocations: 15.81 kB / 434.8 MB, free: 45.03 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003451/0.2893, allocations: 23.48 kB / 434.8 MB, free: 45.02 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001605/0.2895, allocations: 86.17 kB / 434.9 MB, free: 45 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.812e-05/0.2895, allocations: 38.39 kB / 434.9 MB, free: 44.99 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005717/0.2901, allocations: 0.5884 MB / 435.5 MB, free: 44.79 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2901, allocations: 0 / 435.5 MB, free: 44.79 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002291/0.2924, allocations: 0.7846 MB / 436.3 MB, free: 44.72 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (blood_plasma.temperature,CO2_unbound_plasma.logn,O2_unbound_plasma.logn,water.logn,others.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 (93): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001598/0.294, allocations: 0.9566 MB / 437.3 MB, free: 44.25 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001919/0.2959, allocations: 1.158 MB / 438.4 MB, free: 43.23 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.2959, allocations: 4.062 kB / 438.4 MB, free: 43.22 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006821/0.2966, allocations: 0.705 MB / 439.1 MB, free: 42.57 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009802/0.2976, allocations: 248.8 kB / 439.4 MB, free: 42.38 MB / 330.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003823/0.3014, allocations: 1.977 MB / 441.4 MB, free: 40.5 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001703/0.3016, allocations: 212.1 kB / 441.6 MB, free: 40.32 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0008059/0.3024, allocations: 251.3 kB / 441.8 MB, free: 40.12 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003089/0.3027, allocations: 174 kB / 442 MB, free: 39.97 MB / 330.7 MB Notification: Performance of SimCode: time 2.174e-06/0.3027, allocations: 3.5 kB / 442 MB, free: 39.97 MB / 330.7 MB Notification: Performance of Templates: time 0.03325/0.336, allocations: 31.08 MB / 473.1 MB, free: 9.266 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_Chemical.Obsolete.Examples.GasSolubility_blood.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.GasSolubility_blood.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.GasSolubility_blood.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.GasSolubility_blood.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.GasSolubility_blood.sim & ./Chemical_Chemical.Obsolete.Examples.GasSolubility_blood -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.GasSolubility_blood.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8688926990143955]