Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0012/0.001201, allocations: 183.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7675/0.7675, allocations: 132.2 MB / 148.9 MB, free: 12.15 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 222.9 MB / 403.4 MB, free: 7.09 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 99.75 kB / 484.3 MB, free: 8.723 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001477/0.001477, allocations: 51.92 kB / 0.5618 GB, free: 71.06 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1778/0.1793, allocations: 80.2 MB / 0.6402 GB, free: 6.789 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.005472/0.1849, allocations: 3.789 MB / 0.6439 GB, free: 2.969 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001955/0.1851, allocations: 151.5 kB / 0.644 GB, free: 2.82 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.549e-05/0.1851, allocations: 4 kB / 0.644 GB, free: 2.816 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 9.938e-05/0.1853, allocations: 3.984 kB / 0.644 GB, free: 2.812 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 7.124e-05/0.1853, allocations: 11.92 kB / 0.644 GB, free: 2.801 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002852/0.1856, allocations: 86.31 kB / 0.6441 GB, free: 2.719 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 9.249e-05/0.1857, allocations: 63.83 kB / 0.6442 GB, free: 2.656 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.83e-05/0.1858, allocations: 3.984 kB / 0.6442 GB, free: 2.652 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.429e-05/0.1858, allocations: 11.98 kB / 0.6442 GB, free: 2.641 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.992e-05/0.1859, allocations: 8 kB / 0.6442 GB, free: 2.633 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.214e-05/0.1859, allocations: 0 / 0.6442 GB, free: 2.633 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000513/0.1864, allocations: 203.4 kB / 0.6444 GB, free: 2.434 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 3.699e-05/0.1865, allocations: 7.984 kB / 0.6444 GB, free: 2.426 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.543e-05/0.1865, allocations: 7.984 kB / 0.6444 GB, free: 2.418 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001264/0.1866, allocations: 52.06 kB / 0.6444 GB, free: 2.367 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1866, allocations: 0 / 0.6444 GB, free: 2.367 MB / 442.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.1867, allocations: 0 / 0.6444 GB, free: 2.367 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.337e-06/0.1867, allocations: 0 / 0.6444 GB, free: 2.367 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003655/0.187, allocations: 331.6 kB / 0.6448 GB, free: 1.996 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.1871, allocations: 16.03 kB / 0.6448 GB, free: 1.98 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.548e-05/0.1871, allocations: 4.844 kB / 0.6448 GB, free: 1.977 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001115/0.1872, allocations: 164.4 kB / 0.6449 GB, free: 1.777 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.071e-05/0.1873, allocations: 30.27 kB / 0.645 GB, free: 1.742 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.021e-05/0.1873, allocations: 384 / 0.645 GB, free: 1.742 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001322/0.1875, allocations: 61.55 kB / 0.645 GB, free: 1.676 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.1875, allocations: 0 / 0.645 GB, free: 1.676 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.1875, allocations: 0 / 0.645 GB, free: 1.676 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.59e-05/0.1875, allocations: 0 / 0.645 GB, free: 1.676 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.976e-05/0.1876, allocations: 19.98 kB / 0.645 GB, free: 1.656 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004361/0.188, allocations: 338 kB / 0.6454 GB, free: 1.258 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.652e-05/0.1881, allocations: 22.52 kB / 0.6454 GB, free: 1.227 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.547e-05/0.1881, allocations: 8.844 kB / 0.6454 GB, free: 1.215 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.39e-05/0.1882, allocations: 81.17 kB / 0.6455 GB, free: 1.117 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.515e-05/0.1882, allocations: 38.56 kB / 0.6455 GB, free: 1.07 MB / 442.7 MB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.1882, allocations: 0 / 0.6455 GB, free: 1.07 MB / 442.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001415/0.1884, allocations: 37.69 kB / 0.6455 GB, free: 1.027 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.081e-05/0.1884, allocations: 51.41 kB / 0.6456 GB, free: 0.9648 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.227e-05/0.1885, allocations: 101.8 kB / 0.6457 GB, free: 0.8555 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.89e-05/0.1885, allocations: 29.7 kB / 0.6457 GB, free: 0.8203 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.406e-05/0.1886, allocations: 91.92 kB / 0.6458 GB, free: 0.7266 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.112e-06/0.1886, allocations: 3.906 kB / 0.6458 GB, free: 0.7227 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.357e-05/0.1886, allocations: 17.84 kB / 0.6458 GB, free: 0.6992 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001039/0.1887, allocations: 326.8 kB / 0.6461 GB, free: 380 kB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.355e-05/0.1887, allocations: 0 / 0.6461 GB, free: 380 kB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.537e-05/0.1888, allocations: 13.72 kB / 0.6461 GB, free: 360 kB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.214e-05/0.1888, allocations: 21.72 kB / 0.6462 GB, free: 332 kB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.1888, allocations: 0 / 0.6462 GB, free: 332 kB / 442.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.018e-05/0.1889, allocations: 53.62 kB / 0.6462 GB, free: 272 kB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.1889, allocations: 8 kB / 0.6462 GB, free: 264 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.1889, allocations: 0 / 0.6462 GB, free: 264 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.1889, allocations: 0 / 0.6462 GB, free: 264 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.226e-05/0.189, allocations: 7.984 kB / 0.6462 GB, free: 256 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.189, allocations: 0 / 0.6462 GB, free: 256 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.799e-05/0.189, allocations: 4 kB / 0.6462 GB, free: 252 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.654e-06/0.189, allocations: 0 / 0.6462 GB, free: 252 kB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.046e-05/0.1891, allocations: 119.2 kB / 0.6464 GB, free: 124 kB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.434e-05/0.1892, allocations: 3.938 kB / 0.6464 GB, free: 120 kB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001456/0.1893, allocations: 124.9 kB / 0.6465 GB, free: 15.98 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.289e-05/0.1894, allocations: 176.3 kB / 0.6466 GB, free: 15.8 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.594e-05/0.1894, allocations: 180.2 kB / 0.6468 GB, free: 15.62 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.164e-05/0.1895, allocations: 176.3 kB / 0.647 GB, free: 15.44 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002205/0.1897, allocations: 417.1 kB / 0.6474 GB, free: 14.98 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.127e-05/0.1898, allocations: 101 kB / 0.6475 GB, free: 14.87 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.028e-05/0.1898, allocations: 109 kB / 0.6476 GB, free: 14.76 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.219e-05/0.1899, allocations: 184.2 kB / 0.6478 GB, free: 14.57 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.114e-05/0.19, allocations: 180.3 kB / 0.6479 GB, free: 14.38 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.587e-05/0.19, allocations: 184.2 kB / 0.6481 GB, free: 14.2 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.99e-05/0.1901, allocations: 180.3 kB / 0.6483 GB, free: 14.01 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003562/0.1905, allocations: 0.8453 MB / 0.6491 GB, free: 13.1 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.635e-05/0.1905, allocations: 182 kB / 0.6493 GB, free: 12.9 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.847e-05/0.1906, allocations: 188.3 kB / 0.6495 GB, free: 12.71 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001456/0.1907, allocations: 116.8 kB / 0.6496 GB, free: 12.59 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.982e-05/0.1908, allocations: 180.3 kB / 0.6497 GB, free: 12.4 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.198e-05/0.1909, allocations: 101 kB / 0.6498 GB, free: 12.3 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.108e-05/0.1909, allocations: 87.22 kB / 0.6499 GB, free: 12.21 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1909, allocations: 3.938 kB / 0.6499 GB, free: 12.21 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003749/0.1913, allocations: 27.92 kB / 0.6499 GB, free: 12.18 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002524/0.1915, allocations: 186.5 kB / 0.6501 GB, free: 11.99 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 5.988e-05/0.1916, allocations: 11.98 kB / 0.6501 GB, free: 11.98 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.1916, allocations: 0 / 0.6501 GB, free: 11.98 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 1.192e-06/0.1916, allocations: 0 / 0.6501 GB, free: 11.98 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003957/0.192, allocations: 0.5278 MB / 0.6507 GB, free: 11.45 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002523/0.1923, allocations: 187.6 kB / 0.6508 GB, free: 11.23 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002192/0.1925, allocations: 0.6731 MB / 0.6515 GB, free: 10.53 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 4.239e-05/0.1926, allocations: 11.98 kB / 0.6515 GB, free: 10.52 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.844e-05/0.1926, allocations: 7.438 kB / 0.6515 GB, free: 10.51 MB / 458.7 MB Notification: Performance of SimCode: time 3.11e-07/0.1926, allocations: 0 / 0.6515 GB, free: 10.51 MB / 458.7 MB Notification: Performance of Templates: time 0.002525/0.1951, allocations: 0.6321 MB / 0.6521 GB, free: 9.883 MB / 458.7 MB make -j1 -f IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile (rm -f IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)