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.0006349/0.0006349, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008548/0.00149, allocations: 435.8 kB / 10.33 MB, free: 368 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.0006876/0.0006876, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008359/0.001524, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.952/0.952, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08367/1.036, allocations: 53.66 MB / 243.2 MB, free: 15.57 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.08162/0.08162, allocations: 17.45 MB / 261.4 MB, free: 13.37 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.008994/0.09062, allocations: 6.964 MB / 268.4 MB, free: 6.391 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.333e-06/1.333e-06, allocations: 0 / 269.6 MB, free: 5.121 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.666e-06/9.999e-06, allocations: 2.312 kB / 269.6 MB, free: 5.117 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility_blood): time 0.1086/0.1086, allocations: 6.887 MB / 276.5 MB, free: 1.531 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01643/0.1251, allocations: 19.63 MB / 296.2 MB, free: 5.879 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008046/0.1259, allocations: 18.25 kB / 296.2 MB, free: 5.871 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008401/0.1267, allocations: 392.7 kB / 296.6 MB, free: 5.66 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003841/0.1305, allocations: 1.662 MB / 298.2 MB, free: 4.441 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005354/0.1359, allocations: 2.528 MB / 300.8 MB, free: 2.473 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001829/0.1377, allocations: 1.885 MB / 302.6 MB, free: 1.367 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008246/0.1386, allocations: 0.797 MB / 303.4 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001114/0.1397, allocations: 1.294 MB / 304.7 MB, free: 15.39 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001026/0.1407, allocations: 0.7678 MB / 305.5 MB, free: 14.62 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002156/0.1409, allocations: 152 kB / 305.7 MB, free: 14.47 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003898/0.1448, allocations: 2.066 MB / 307.7 MB, free: 12.4 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001853/0.145, allocations: 251.2 kB / 308 MB, free: 12.16 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003699/0.1454, allocations: 459.2 kB / 308.4 MB, free: 11.71 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003435/0.1488, allocations: 3.319 MB / 311.7 MB, free: 8.375 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.667e-05/0.1488, allocations: 4 kB / 311.7 MB, free: 8.371 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1488, allocations: 0 / 311.7 MB, free: 8.371 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.483e-05/0.1488, allocations: 0 / 311.7 MB, free: 8.371 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.0024/0.1512, allocations: 2.505 MB / 314.2 MB, free: 5.832 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.824e-05/0.1513, allocations: 12.03 kB / 314.3 MB, free: 5.82 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00105/0.1523, allocations: 0.6803 MB / 314.9 MB, free: 5.121 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006801/0.153, allocations: 0.563 MB / 315.5 MB, free: 4.531 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.083e-05/0.1531, allocations: 94.83 kB / 315.6 MB, free: 4.438 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001242/0.1532, allocations: 128.3 kB / 315.7 MB, free: 4.312 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009779/0.1542, allocations: 1.108 MB / 316.8 MB, free: 3.16 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.05e-05/0.1542, allocations: 4.125 kB / 316.8 MB, free: 3.156 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.825e-05/0.1542, allocations: 52.38 kB / 316.9 MB, free: 3.105 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.801e-05/0.1543, allocations: 35.94 kB / 316.9 MB, free: 3.07 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001014/0.1553, allocations: 1.002 MB / 317.9 MB, free: 2.051 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.003576/0.1589, allocations: 3.004 MB / 320.9 MB, free: 14.98 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001911/0.1608, allocations: 1.924 MB / 322.8 MB, free: 13.05 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002459/0.161, allocations: 262.7 kB / 323.1 MB, free: 12.79 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002907/0.1639, allocations: 2.348 MB / 325.4 MB, free: 10.42 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.767e-05/0.1639, allocations: 40.47 kB / 325.5 MB, free: 10.38 MB / 314.7 MB Notification: Performance of pre-optimization done (n=72): time 2.165e-06/0.1639, allocations: 0 / 325.5 MB, free: 10.38 MB / 314.7 MB Notification: Performance of matching and sorting (n=89): time 0.005816/0.1698, allocations: 2.624 MB / 328.1 MB, free: 7.711 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.997e-05/0.1698, allocations: 60.41 kB / 328.2 MB, free: 7.637 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005647/0.1704, allocations: 0.8795 MB / 329 MB, free: 6.746 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.914e-05/0.1704, allocations: 41.7 kB / 329.1 MB, free: 6.699 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002446/0.1706, allocations: 0.6252 MB / 329.7 MB, free: 6.066 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001607/0.1708, allocations: 337.2 kB / 330 MB, free: 5.734 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000226/0.171, allocations: 287.3 kB / 330.3 MB, free: 5.445 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.123e-05/0.1711, allocations: 357.8 kB / 330.7 MB, free: 5.09 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001921/0.1713, allocations: 162.7 kB / 330.8 MB, free: 4.93 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000389/0.1717, allocations: 0.6603 MB / 331.5 MB, free: 4.055 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006853/0.1724, allocations: 0.9666 MB / 332.5 MB, free: 2.867 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/0.1724, allocations: 8 kB / 332.5 MB, free: 2.859 MB / 314.7 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.001582/0.174, allocations: 1.046 MB / 333.5 MB, free: 1.793 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.438e-05/0.174, allocations: 15.94 kB / 333.5 MB, free: 1.777 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2e-05/0.174, allocations: 16 kB / 333.5 MB, free: 1.762 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001225/0.1752, allocations: 337.7 kB / 333.9 MB, free: 1.426 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008941/0.1761, allocations: 415.4 kB / 334.3 MB, free: 1.02 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002555/0.1787, allocations: 3.017 MB / 337.3 MB, free: 13.84 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003991/0.1791, allocations: 44 kB / 337.3 MB, free: 13.8 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.266e-05/0.1792, allocations: 71.97 kB / 337.4 MB, free: 13.73 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.0002066/0.1794, allocations: 200.1 kB / 337.6 MB, free: 13.52 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.992e-05/0.1795, allocations: 91.86 kB / 337.7 MB, free: 13.43 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001419/0.1809, allocations: 0.8449 MB / 338.5 MB, free: 12.58 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.1809, allocations: 16 kB / 338.6 MB, free: 12.57 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.886e-06/0.1809, allocations: 0 / 338.6 MB, free: 12.57 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.1809, allocations: 3.984 kB / 338.6 MB, free: 12.56 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006946/0.1816, allocations: 0.7233 MB / 339.3 MB, free: 11.8 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.1816, allocations: 0 / 339.3 MB, free: 11.8 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003909/0.182, allocations: 223.7 kB / 339.5 MB, free: 11.58 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.321e-05/0.1821, allocations: 87.27 kB / 339.6 MB, free: 11.49 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001089/0.1832, allocations: 321.5 kB / 339.9 MB, free: 11.17 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.295e-05/0.1832, allocations: 27.98 kB / 339.9 MB, free: 11.14 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002214/0.1854, allocations: 2.918 MB / 342.8 MB, free: 8.055 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/0.1854, allocations: 7.938 kB / 342.9 MB, free: 8.047 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00145/0.1869, allocations: 0.9617 MB / 343.8 MB, free: 7.051 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.179e-05/0.187, allocations: 20 kB / 343.8 MB, free: 7.031 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002246/0.1872, allocations: 20 kB / 343.9 MB, free: 7.012 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001129/0.1873, allocations: 76.8 kB / 343.9 MB, free: 6.938 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.879e-05/0.1874, allocations: 31.98 kB / 344 MB, free: 6.906 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003259/0.1877, allocations: 443.3 kB / 344.4 MB, free: 6.473 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1877, allocations: 3.938 kB / 344.4 MB, free: 6.469 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001588/0.1893, allocations: 0.7869 MB / 345.2 MB, free: 5.68 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.001207/0.1905, allocations: 0.9909 MB / 346.2 MB, free: 4.688 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009243/0.1914, allocations: 0.9152 MB / 347.1 MB, free: 3.75 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.183e-05/0.1914, allocations: 25.75 kB / 347.1 MB, free: 3.727 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004077/0.1918, allocations: 0.5347 MB / 347.6 MB, free: 3.168 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007658/0.1926, allocations: 376.2 kB / 348 MB, free: 2.824 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009398/0.202, allocations: 2.051 MB / 350.1 MB, free: 0.7188 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001469/0.2021, allocations: 209.5 kB / 350.3 MB, free: 0.4922 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005882/0.2027, allocations: 251.6 kB / 350.5 MB, free: 264 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005168/0.2033, allocations: 350.3 kB / 350.9 MB, free: 15.91 MB / 346.7 MB Notification: Performance of SimCode: time 1.573e-06/0.2033, allocations: 0 / 350.9 MB, free: 15.91 MB / 346.7 MB Notification: Performance of Templates: time 0.03119/0.2344, allocations: 31.92 MB / 382.8 MB, free: 260 kB / 362.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.319903949275613]