Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001177/0.001178, allocations: 105.1 kB / 16.4 MB, free: 6.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 196 kB / 17.34 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.463/1.463, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7868/0.7868, allocations: 115.3 MB / 406.5 MB, free: 6.137 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001919/0.001919, allocations: 65.2 kB / 0.5577 GB, free: 32.21 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1726/0.1745, allocations: 76.17 MB / 0.6321 GB, free: 4.449 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.006448/0.181, allocations: 3.711 MB / 0.6357 GB, free: 0.7148 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002045/0.1813, allocations: 163.4 kB / 0.6358 GB, free: 0.5547 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.717e-05/0.1813, allocations: 0 / 0.6358 GB, free: 0.5547 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001026/0.1814, allocations: 3.984 kB / 0.6358 GB, free: 0.5508 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 7.467e-05/0.1815, allocations: 11.94 kB / 0.6358 GB, free: 0.5391 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003619/0.1819, allocations: 83.69 kB / 0.6359 GB, free: 468 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 8.883e-05/0.182, allocations: 35.91 kB / 0.636 GB, free: 432 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.967e-05/0.1821, allocations: 3.984 kB / 0.636 GB, free: 428 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.944e-05/0.1821, allocations: 19.92 kB / 0.636 GB, free: 408 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.808e-05/0.1822, allocations: 11.92 kB / 0.636 GB, free: 396 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.11e-05/0.1822, allocations: 4 kB / 0.636 GB, free: 392 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005494/0.1827, allocations: 187.4 kB / 0.6362 GB, free: 204 kB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 4.14e-05/0.1828, allocations: 7.984 kB / 0.6362 GB, free: 196 kB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.441e-05/0.1828, allocations: 4 kB / 0.6362 GB, free: 192 kB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001318/0.183, allocations: 47.83 kB / 0.6362 GB, free: 144 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.183, allocations: 0 / 0.6362 GB, free: 144 kB / 478.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.183, allocations: 0 / 0.6362 GB, free: 144 kB / 478.1 MB Notification: Performance of Transformations before backend: time 9.288e-06/0.183, allocations: 0 / 0.6362 GB, free: 144 kB / 478.1 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.0004401/0.1834, allocations: 335.5 kB / 0.6366 GB, free: 15.77 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.1835, allocations: 16.03 kB / 0.6366 GB, free: 15.75 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.455e-05/0.1835, allocations: 0.9375 kB / 0.6366 GB, free: 15.75 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001284/0.1837, allocations: 168.3 kB / 0.6367 GB, free: 15.55 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.493e-05/0.1838, allocations: 30.27 kB / 0.6368 GB, free: 15.51 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.17e-05/0.1838, allocations: 8.312 kB / 0.6368 GB, free: 15.5 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001404/0.1839, allocations: 41.62 kB / 0.6368 GB, free: 15.46 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.1839, allocations: 0 / 0.6368 GB, free: 15.46 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.1839, allocations: 0 / 0.6368 GB, free: 15.46 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.694e-05/0.184, allocations: 4 kB / 0.6368 GB, free: 15.45 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.662e-05/0.184, allocations: 19.98 kB / 0.6368 GB, free: 15.43 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004877/0.1845, allocations: 338 kB / 0.6372 GB, free: 15.04 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.091e-05/0.1846, allocations: 18.52 kB / 0.6372 GB, free: 15.01 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.671e-05/0.1846, allocations: 8.922 kB / 0.6372 GB, free: 15 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.856e-05/0.1847, allocations: 85.09 kB / 0.6373 GB, free: 14.89 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.892e-05/0.1847, allocations: 34.56 kB / 0.6373 GB, free: 14.85 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 3.767e-06/0.1847, allocations: 3.984 kB / 0.6373 GB, free: 14.85 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.000155/0.1849, allocations: 45.55 kB / 0.6373 GB, free: 14.8 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.84e-05/0.185, allocations: 51.41 kB / 0.6374 GB, free: 14.73 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.81e-05/0.185, allocations: 109.8 kB / 0.6375 GB, free: 14.62 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.387e-05/0.1851, allocations: 25.7 kB / 0.6375 GB, free: 14.59 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.704e-05/0.1851, allocations: 84.12 kB / 0.6376 GB, free: 14.5 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.412e-06/0.1851, allocations: 3.906 kB / 0.6376 GB, free: 14.5 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.069e-05/0.1852, allocations: 17.84 kB / 0.6376 GB, free: 14.47 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.1853, allocations: 322.8 kB / 0.6379 GB, free: 14.15 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.53e-05/0.1853, allocations: 4 kB / 0.6379 GB, free: 14.14 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.452e-05/0.1853, allocations: 13.72 kB / 0.6379 GB, free: 14.12 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.658e-05/0.1854, allocations: 25.7 kB / 0.638 GB, free: 14.09 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1854, allocations: 0 / 0.638 GB, free: 14.09 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.853e-05/0.1855, allocations: 49.64 kB / 0.638 GB, free: 14.04 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.1855, allocations: 5.562 kB / 0.638 GB, free: 14.04 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.1855, allocations: 3.984 kB / 0.638 GB, free: 14.03 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.1855, allocations: 4 kB / 0.638 GB, free: 14.03 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.369e-05/0.1856, allocations: 4 kB / 0.638 GB, free: 14.02 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.1856, allocations: 0 / 0.638 GB, free: 14.02 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.785e-05/0.1856, allocations: 0 / 0.638 GB, free: 14.02 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.391e-05/0.1856, allocations: 8 kB / 0.638 GB, free: 14.02 MB / 494.1 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.602e-05/0.1857, allocations: 113.8 kB / 0.6382 GB, free: 13.89 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.805e-05/0.1858, allocations: 11.84 kB / 0.6382 GB, free: 13.88 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00012/0.1859, allocations: 124.9 kB / 0.6383 GB, free: 13.75 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.287e-05/0.186, allocations: 180.3 kB / 0.6385 GB, free: 13.57 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.086e-05/0.1861, allocations: 180.2 kB / 0.6386 GB, free: 13.38 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.401e-05/0.1861, allocations: 176.3 kB / 0.6388 GB, free: 13.2 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002477/0.1864, allocations: 417.1 kB / 0.6392 GB, free: 12.74 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.456e-05/0.1864, allocations: 105 kB / 0.6393 GB, free: 12.63 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.131e-05/0.1865, allocations: 101 kB / 0.6394 GB, free: 12.52 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.103e-05/0.1865, allocations: 188.2 kB / 0.6396 GB, free: 12.33 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.755e-05/0.1866, allocations: 176.3 kB / 0.6397 GB, free: 12.15 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.022e-05/0.1867, allocations: 184.2 kB / 0.6399 GB, free: 11.96 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-05/0.1868, allocations: 176.3 kB / 0.6401 GB, free: 11.79 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001544/0.1869, allocations: 311.7 kB / 0.6404 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.064e-05/0.187, allocations: 182.1 kB / 0.6406 GB, free: 11.25 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.093e-05/0.1871, allocations: 188.1 kB / 0.6407 GB, free: 11.06 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001584/0.1873, allocations: 116.9 kB / 0.6408 GB, free: 10.94 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.275e-05/0.1873, allocations: 180.2 kB / 0.641 GB, free: 10.76 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.801e-05/0.1874, allocations: 109 kB / 0.6411 GB, free: 10.64 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.185e-05/0.1875, allocations: 87.27 kB / 0.6412 GB, free: 10.56 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1875, allocations: 0 / 0.6412 GB, free: 10.56 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002523/0.1877, allocations: 12 kB / 0.6412 GB, free: 10.55 MB / 494.1 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.0002897/0.188, allocations: 202.4 kB / 0.6414 GB, free: 10.34 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 8.196e-05/0.1881, allocations: 15.94 kB / 0.6414 GB, free: 10.32 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.1881, allocations: 0 / 0.6414 GB, free: 10.32 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.994e-06/0.1881, allocations: 0 / 0.6414 GB, free: 10.32 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004066/0.1885, allocations: 461.1 kB / 0.6419 GB, free: 9.871 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002926/0.1888, allocations: 177.9 kB / 0.642 GB, free: 9.668 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002944/0.1891, allocations: 0.6729 MB / 0.6427 GB, free: 8.969 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.092e-05/0.1892, allocations: 8 kB / 0.6427 GB, free: 8.961 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.718e-05/0.1892, allocations: 7.438 kB / 0.6427 GB, free: 8.953 MB / 494.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1892, allocations: 4 kB / 0.6427 GB, free: 8.949 MB / 494.1 MB Notification: Performance of Templates: time 0.003038/0.1923, allocations: 0.6412 MB / 0.6433 GB, free: 8.312 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile (rm -f IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)