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.00126/0.00126, allocations: 112.9 kB / 17.08 MB, free: 5.996 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.001167/0.001167, allocations: 192.7 kB / 18.02 MB, free: 5.07 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.317/1.317, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7115/0.7115, allocations: 115.3 MB / 407.2 MB, free: 6.191 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 66.2 kB / 0.5583 GB, free: 32.48 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1449/0.1462, allocations: 76.18 MB / 0.6327 GB, free: 4.52 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.005817/0.1521, allocations: 3.71 MB / 0.6363 GB, free: 0.7812 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002169/0.1523, allocations: 155.5 kB / 0.6365 GB, free: 0.6289 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.6e-05/0.1523, allocations: 3.938 kB / 0.6365 GB, free: 0.625 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001046/0.1525, allocations: 11.92 kB / 0.6365 GB, free: 0.6133 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 7.756e-05/0.1526, allocations: 7.984 kB / 0.6365 GB, free: 0.6055 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003628/0.1529, allocations: 90.94 kB / 0.6366 GB, free: 0.5195 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 9.531e-05/0.153, allocations: 23.92 kB / 0.6366 GB, free: 0.4961 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.831e-05/0.1531, allocations: 11.91 kB / 0.6366 GB, free: 496 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.445e-05/0.1532, allocations: 16 kB / 0.6366 GB, free: 480 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.598e-05/0.1532, allocations: 11.92 kB / 0.6367 GB, free: 468 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.743e-05/0.1533, allocations: 4 kB / 0.6367 GB, free: 464 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005875/0.1539, allocations: 187.4 kB / 0.6368 GB, free: 276 kB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 4.27e-05/0.1539, allocations: 7.984 kB / 0.6368 GB, free: 268 kB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.558e-05/0.1539, allocations: 7.984 kB / 0.6369 GB, free: 260 kB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001371/0.1541, allocations: 43.84 kB / 0.6369 GB, free: 216 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.1541, allocations: 0 / 0.6369 GB, free: 216 kB / 478.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1541, allocations: 0 / 0.6369 GB, free: 216 kB / 478.1 MB Notification: Performance of Transformations before backend: time 5.199e-06/0.1541, allocations: 0 / 0.6369 GB, free: 216 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.0004186/0.1545, allocations: 339.5 kB / 0.6372 GB, free: 15.83 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.1546, allocations: 12.03 kB / 0.6372 GB, free: 15.82 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.5e-05/0.1546, allocations: 0.9375 kB / 0.6372 GB, free: 15.82 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001256/0.1548, allocations: 172.2 kB / 0.6374 GB, free: 15.61 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.205e-05/0.1548, allocations: 34.25 kB / 0.6374 GB, free: 15.57 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.162e-05/0.1549, allocations: 384 / 0.6374 GB, free: 15.57 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001508/0.155, allocations: 45.62 kB / 0.6375 GB, free: 15.52 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.155, allocations: 0 / 0.6375 GB, free: 15.52 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.1551, allocations: 4 kB / 0.6375 GB, free: 15.52 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.103e-05/0.1551, allocations: 4 kB / 0.6375 GB, free: 15.52 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.476e-05/0.1551, allocations: 11.98 kB / 0.6375 GB, free: 15.5 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004711/0.1556, allocations: 334 kB / 0.6378 GB, free: 15.11 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.034e-05/0.1557, allocations: 22.52 kB / 0.6378 GB, free: 15.08 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.493e-05/0.1557, allocations: 8.922 kB / 0.6378 GB, free: 15.07 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.83e-05/0.1558, allocations: 81.11 kB / 0.6379 GB, free: 14.97 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.033e-05/0.1558, allocations: 38.55 kB / 0.638 GB, free: 14.92 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.162e-06/0.1558, allocations: 0 / 0.638 GB, free: 14.92 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001519/0.156, allocations: 41.55 kB / 0.638 GB, free: 14.88 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.156e-05/0.156, allocations: 55.34 kB / 0.638 GB, free: 14.81 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.63e-05/0.1561, allocations: 105.8 kB / 0.6381 GB, free: 14.7 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.6e-05/0.1562, allocations: 25.7 kB / 0.6382 GB, free: 14.66 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.968e-05/0.1562, allocations: 84.14 kB / 0.6383 GB, free: 14.58 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.741e-06/0.1562, allocations: 7.844 kB / 0.6383 GB, free: 14.57 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.146e-05/0.1563, allocations: 17.84 kB / 0.6383 GB, free: 14.55 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001005/0.1564, allocations: 318.8 kB / 0.6386 GB, free: 14.23 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.541e-05/0.1564, allocations: 8 kB / 0.6386 GB, free: 14.22 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.263e-05/0.1564, allocations: 13.72 kB / 0.6386 GB, free: 14.2 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.76e-05/0.1565, allocations: 25.7 kB / 0.6386 GB, free: 14.17 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.1565, allocations: 4 kB / 0.6386 GB, free: 14.16 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.67e-05/0.1566, allocations: 45.64 kB / 0.6387 GB, free: 14.11 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.1566, allocations: 4 kB / 0.6387 GB, free: 14.11 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.1566, allocations: 7.984 kB / 0.6387 GB, free: 14.1 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.1566, allocations: 288 / 0.6387 GB, free: 14.1 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.643e-05/0.1567, allocations: 8 kB / 0.6387 GB, free: 14.09 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.1567, allocations: 0 / 0.6387 GB, free: 14.09 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.05e-05/0.1567, allocations: 0 / 0.6387 GB, free: 14.09 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.032e-05/0.1567, allocations: 7.938 kB / 0.6387 GB, free: 14.09 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 6.937e-05/0.1568, allocations: 114.5 kB / 0.6388 GB, free: 13.96 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.153e-05/0.1568, allocations: 11.89 kB / 0.6388 GB, free: 13.95 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001231/0.157, allocations: 125 kB / 0.6389 GB, free: 13.82 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-05/0.157, allocations: 180.2 kB / 0.6391 GB, free: 13.64 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.463e-05/0.1571, allocations: 176.3 kB / 0.6393 GB, free: 13.46 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.648e-05/0.1571, allocations: 180.3 kB / 0.6395 GB, free: 13.27 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002146/0.1574, allocations: 413.1 kB / 0.6398 GB, free: 12.81 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-05/0.1574, allocations: 105 kB / 0.6399 GB, free: 12.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.939e-05/0.1574, allocations: 104.9 kB / 0.64 GB, free: 12.59 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.661e-05/0.1575, allocations: 180.3 kB / 0.6402 GB, free: 12.41 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.006e-05/0.1576, allocations: 176.3 kB / 0.6404 GB, free: 12.23 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.269e-05/0.1576, allocations: 188.2 kB / 0.6406 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.515e-05/0.1577, allocations: 180.3 kB / 0.6407 GB, free: 11.86 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001314/0.1578, allocations: 307.7 kB / 0.641 GB, free: 11.53 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.715e-05/0.1579, allocations: 182.1 kB / 0.6412 GB, free: 11.33 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.06e-05/0.158, allocations: 192.1 kB / 0.6414 GB, free: 11.13 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001553/0.1582, allocations: 105 kB / 0.6415 GB, free: 11.02 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.068e-05/0.1582, allocations: 184.1 kB / 0.6417 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.741e-05/0.1583, allocations: 105 kB / 0.6418 GB, free: 10.73 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.591e-05/0.1583, allocations: 91.27 kB / 0.6419 GB, free: 10.64 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1583, allocations: 0 / 0.6419 GB, free: 10.64 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002528/0.1586, allocations: 12 kB / 0.6419 GB, free: 10.62 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.0002703/0.1589, allocations: 202.4 kB / 0.6421 GB, free: 10.42 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 7.366e-05/0.1589, allocations: 11.94 kB / 0.6421 GB, free: 10.41 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.982e-06/0.159, allocations: 0 / 0.6421 GB, free: 10.41 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.563e-06/0.159, allocations: 0 / 0.6421 GB, free: 10.41 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003806/0.1593, allocations: 467.8 kB / 0.6425 GB, free: 9.945 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002633/0.1596, allocations: 203.6 kB / 0.6427 GB, free: 9.711 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000237/0.1599, allocations: 0.6729 MB / 0.6434 GB, free: 9.012 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.442e-05/0.1599, allocations: 15.38 kB / 0.6434 GB, free: 8.996 MB / 494.1 MB Notification: Performance of SimCode: time 3.9e-07/0.1599, allocations: 0 / 0.6434 GB, free: 8.996 MB / 494.1 MB Notification: Performance of Templates: time 0.002472/0.1624, allocations: 0.7488 MB / 0.6441 GB, free: 8.254 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)