Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.0007899/0.0007899, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001491/0.002281, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001025/0.001025, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001349/0.002373, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9426/0.9426, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09776/1.04, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/package.mo): time 0.08674/0.08674, allocations: 17.44 MB / 261.6 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01/0.09674, allocations: 6.971 MB / 268.6 MB, free: 6.289 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-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.GasSolubility_blood,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.GasSolubility_blood") translateModel(Chemical.Obsolete.Examples.GasSolubility_blood,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.GasSolubility_blood") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 269.8 MB, free: 5 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.308e-06/1.064e-05, allocations: 6.312 kB / 269.9 MB, free: 4.992 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility_blood): time 0.1519/0.1519, allocations: 6.897 MB / 276.8 MB, free: 1.598 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.02047/0.1724, allocations: 19.63 MB / 296.4 MB, free: 5.781 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001077/0.1735, allocations: 21.84 kB / 296.4 MB, free: 5.77 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001108/0.1746, allocations: 387.7 kB / 296.8 MB, free: 5.562 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004304/0.1789, allocations: 1.671 MB / 298.4 MB, free: 4.336 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006853/0.1858, allocations: 2.526 MB / 301 MB, free: 2.367 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002078/0.1878, allocations: 1.882 MB / 302.9 MB, free: 1.266 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001032/0.1889, allocations: 0.7943 MB / 303.7 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001452/0.1903, allocations: 1.294 MB / 304.9 MB, free: 15.23 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001016/0.1913, allocations: 0.7678 MB / 305.7 MB, free: 14.46 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002315/0.1916, allocations: 156 kB / 305.9 MB, free: 14.31 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004836/0.1964, allocations: 2.066 MB / 307.9 MB, free: 12.24 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002468/0.1966, allocations: 259.2 kB / 308.2 MB, free: 11.98 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004853/0.1971, allocations: 459.2 kB / 308.6 MB, free: 11.54 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00429/0.2014, allocations: 3.319 MB / 312 MB, free: 8.203 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.427e-05/0.2014, allocations: 0 / 312 MB, free: 8.203 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.794e-06/0.2014, allocations: 0 / 312 MB, free: 8.203 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.898e-05/0.2015, allocations: 0 / 312 MB, free: 8.203 MB / 298.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.003128/0.2046, allocations: 2.497 MB / 314.4 MB, free: 5.672 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.2046, allocations: 8.031 kB / 314.5 MB, free: 5.664 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001505/0.2061, allocations: 0.688 MB / 315.1 MB, free: 4.957 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000908/0.207, allocations: 0.5631 MB / 315.7 MB, free: 4.367 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.049e-05/0.2071, allocations: 94.84 kB / 315.8 MB, free: 4.273 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000185/0.2073, allocations: 128.3 kB / 315.9 MB, free: 4.148 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001369/0.2087, allocations: 1.108 MB / 317 MB, free: 2.996 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.623e-05/0.2087, allocations: 4.188 kB / 317 MB, free: 2.992 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.914e-05/0.2088, allocations: 48.38 kB / 317.1 MB, free: 2.945 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.772e-05/0.2088, allocations: 35.94 kB / 317.1 MB, free: 2.91 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001402/0.2102, allocations: 1.009 MB / 318.1 MB, free: 1.883 MB / 298.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.004754/0.215, allocations: 3.009 MB / 321.1 MB, free: 14.82 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002551/0.2175, allocations: 1.92 MB / 323.1 MB, free: 12.88 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003288/0.2179, allocations: 262.7 kB / 323.3 MB, free: 12.63 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00377/0.2216, allocations: 2.344 MB / 325.7 MB, free: 10.27 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.365e-05/0.2217, allocations: 48.47 kB / 325.7 MB, free: 10.21 MB / 314.7 MB Notification: Performance of pre-optimization done (n=72): time 2.124e-06/0.2217, allocations: 0 / 325.7 MB, free: 10.21 MB / 314.7 MB Notification: Performance of matching and sorting (n=89): time 0.009502/0.2312, allocations: 3.136 MB / 328.8 MB, free: 7.035 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.663e-05/0.2312, allocations: 64.41 kB / 328.9 MB, free: 6.957 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008495/0.2321, allocations: 0.8873 MB / 329.8 MB, free: 6.059 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.38e-05/0.2321, allocations: 41.7 kB / 329.8 MB, free: 6.012 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005334/0.2327, allocations: 0.6251 MB / 330.5 MB, free: 5.379 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002415/0.2329, allocations: 337.2 kB / 330.8 MB, free: 5.047 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003252/0.2332, allocations: 283.2 kB / 331.1 MB, free: 4.762 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.2333, allocations: 349.8 kB / 331.4 MB, free: 4.414 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000281/0.2336, allocations: 170.7 kB / 331.6 MB, free: 4.246 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005779/0.2342, allocations: 0.6487 MB / 332.2 MB, free: 3.383 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001228/0.2354, allocations: 1.048 MB / 333.3 MB, free: 2.113 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/0.2354, allocations: 4 kB / 333.3 MB, free: 2.109 MB / 314.7 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.001485/0.2369, allocations: 1.034 MB / 334.3 MB, free: 1.055 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.2369, allocations: 15.94 kB / 334.3 MB, free: 1.039 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.456e-05/0.237, allocations: 16.81 kB / 334.3 MB, free: 1.023 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001128/0.2381, allocations: 345.2 kB / 334.7 MB, free: 0.6797 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006432/0.2387, allocations: 419.3 kB / 335.1 MB, free: 276 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002403/0.2411, allocations: 3.004 MB / 338.1 MB, free: 13.1 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004241/0.2416, allocations: 47.98 kB / 338.1 MB, free: 13.05 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.442e-05/0.2416, allocations: 67.98 kB / 338.2 MB, free: 12.98 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.00021/0.2418, allocations: 208.2 kB / 338.4 MB, free: 12.77 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001119/0.242, allocations: 83.86 kB / 338.5 MB, free: 12.69 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00142/0.2434, allocations: 0.8456 MB / 339.3 MB, free: 11.84 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.623e-06/0.2434, allocations: 8 kB / 339.3 MB, free: 11.83 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.2434, allocations: 4 kB / 339.3 MB, free: 11.82 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.298e-06/0.2434, allocations: 7.969 kB / 339.4 MB, free: 11.82 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007101/0.2441, allocations: 0.7154 MB / 340.1 MB, free: 11.06 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.2441, allocations: 4 kB / 340.1 MB, free: 11.05 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007196/0.2448, allocations: 223.9 kB / 340.3 MB, free: 10.84 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.763e-05/0.2449, allocations: 91.31 kB / 340.4 MB, free: 10.75 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001114/0.246, allocations: 321.3 kB / 340.7 MB, free: 10.43 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.651e-05/0.2461, allocations: 35.92 kB / 340.7 MB, free: 10.39 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002025/0.2481, allocations: 2.925 MB / 343.7 MB, free: 7.293 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.2481, allocations: 0 / 343.7 MB, free: 7.293 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001399/0.2495, allocations: 0.9577 MB / 344.6 MB, free: 6.301 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.235e-05/0.2496, allocations: 20 kB / 344.6 MB, free: 6.281 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002216/0.2498, allocations: 27.98 kB / 344.7 MB, free: 6.254 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001112/0.2499, allocations: 76.86 kB / 344.7 MB, free: 6.18 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.75e-05/0.25, allocations: 31.98 kB / 344.8 MB, free: 6.148 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003164/0.2503, allocations: 439.3 kB / 345.2 MB, free: 5.719 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2503, allocations: 0 / 345.2 MB, free: 5.719 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00152/0.2518, allocations: 0.783 MB / 346 MB, free: 4.934 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.001231/0.253, allocations: 0.9964 MB / 347 MB, free: 3.934 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001125/0.2541, allocations: 0.9349 MB / 347.9 MB, free: 2.977 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.149e-05/0.2542, allocations: 22.47 kB / 347.9 MB, free: 2.957 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004418/0.2546, allocations: 0.5972 MB / 348.5 MB, free: 2.336 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001003/0.2556, allocations: 1.561 MB / 350.1 MB, free: 0.5234 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0092/0.2648, allocations: 2.029 MB / 352.1 MB, free: 14.44 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001494/0.265, allocations: 209.5 kB / 352.3 MB, free: 14.21 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0005541/0.2655, allocations: 252.4 kB / 352.6 MB, free: 13.98 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004899/0.266, allocations: 350.3 kB / 352.9 MB, free: 13.64 MB / 346.7 MB Notification: Performance of SimCode: time 1.183e-06/0.266, allocations: 0 / 352.9 MB, free: 13.64 MB / 346.7 MB Notification: Performance of Templates: time 0.03416/0.3002, allocations: 31.59 MB / 384.5 MB, free: 14.32 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.GasSolubility_blood.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.GasSolubility_blood.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.GasSolubility_blood.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.GasSolubility_blood.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.GasSolubility_blood.sim & ./Chemical_master_Chemical.Obsolete.Examples.GasSolubility_blood -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.GasSolubility_blood.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5692349364981055]