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.001666/0.001666, allocations: 113.8 kB / 17.08 MB, free: 5.828 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.001933/0.001933, allocations: 199 kB / 18.01 MB, free: 4.965 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.333/1.333, 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.7075/0.7075, allocations: 115.3 MB / 407.2 MB, free: 6.184 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 66.39 kB / 0.5583 GB, free: 32.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.1506, allocations: 76.18 MB / 0.6327 GB, free: 4.449 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.006266/0.1569, allocations: 3.71 MB / 0.6363 GB, free: 0.7109 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002213/0.1572, allocations: 155.4 kB / 0.6365 GB, free: 0.5586 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.734e-05/0.1572, allocations: 0 / 0.6365 GB, free: 0.5586 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001238/0.1573, allocations: 11.92 kB / 0.6365 GB, free: 0.5469 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 7.474e-05/0.1574, allocations: 7.938 kB / 0.6365 GB, free: 0.5391 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003838/0.1578, allocations: 86.5 kB / 0.6366 GB, free: 468 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 9.393e-05/0.1579, allocations: 35.84 kB / 0.6366 GB, free: 432 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.664e-05/0.158, allocations: 7.984 kB / 0.6366 GB, free: 424 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.613e-05/0.158, allocations: 11.98 kB / 0.6366 GB, free: 412 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.679e-05/0.1581, allocations: 15.92 kB / 0.6367 GB, free: 396 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.59e-05/0.1582, allocations: 4 kB / 0.6367 GB, free: 392 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005776/0.1587, allocations: 191.4 kB / 0.6368 GB, free: 200 kB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 4.199e-05/0.1588, allocations: 3.984 kB / 0.6368 GB, free: 196 kB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.609e-05/0.1588, allocations: 8 kB / 0.6369 GB, free: 188 kB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001343/0.159, allocations: 43.83 kB / 0.6369 GB, free: 144 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.159, allocations: 0 / 0.6369 GB, free: 144 kB / 478.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.159, allocations: 0 / 0.6369 GB, free: 144 kB / 478.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.159, allocations: 4 kB / 0.6369 GB, free: 140 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.000437/0.1594, allocations: 339.5 kB / 0.6372 GB, free: 15.76 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.1595, allocations: 8.031 kB / 0.6372 GB, free: 15.75 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.259e-05/0.1595, allocations: 0.9375 kB / 0.6372 GB, free: 15.75 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001371/0.1597, allocations: 172.3 kB / 0.6374 GB, free: 15.54 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.1e-05/0.1597, allocations: 30.27 kB / 0.6374 GB, free: 15.51 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.234e-05/0.1598, allocations: 384 / 0.6374 GB, free: 15.51 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001279/0.1599, allocations: 49.62 kB / 0.6375 GB, free: 15.45 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.375e-06/0.1599, allocations: 0 / 0.6375 GB, free: 15.45 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.1599, allocations: 0 / 0.6375 GB, free: 15.45 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.795e-05/0.16, allocations: 4 kB / 0.6375 GB, free: 15.45 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.668e-05/0.16, allocations: 19.92 kB / 0.6375 GB, free: 15.43 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004571/0.1605, allocations: 338 kB / 0.6378 GB, free: 15.03 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.155e-05/0.1605, allocations: 18.58 kB / 0.6378 GB, free: 15 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.324e-05/0.1605, allocations: 4.859 kB / 0.6378 GB, free: 15 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.915e-05/0.1606, allocations: 85.16 kB / 0.6379 GB, free: 14.89 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.428e-05/0.1607, allocations: 38.56 kB / 0.638 GB, free: 14.85 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 2.905e-06/0.1607, allocations: 0 / 0.638 GB, free: 14.85 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001448/0.1608, allocations: 45.48 kB / 0.638 GB, free: 14.8 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.043e-05/0.1609, allocations: 51.41 kB / 0.6381 GB, free: 14.73 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.188e-05/0.161, allocations: 105.8 kB / 0.6382 GB, free: 14.62 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.415e-05/0.161, allocations: 25.7 kB / 0.6382 GB, free: 14.59 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.421e-05/0.161, allocations: 84.14 kB / 0.6383 GB, free: 14.5 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.925e-06/0.161, allocations: 15.97 kB / 0.6383 GB, free: 14.49 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.927e-05/0.1611, allocations: 13.7 kB / 0.6383 GB, free: 14.47 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001017/0.1612, allocations: 322.8 kB / 0.6386 GB, free: 14.14 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.23e-05/0.1612, allocations: 0 / 0.6386 GB, free: 14.14 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.217e-05/0.1612, allocations: 13.72 kB / 0.6386 GB, free: 14.12 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.852e-05/0.1613, allocations: 29.64 kB / 0.6386 GB, free: 14.09 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.1613, allocations: 4 kB / 0.6386 GB, free: 14.09 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.706e-05/0.1614, allocations: 45.64 kB / 0.6387 GB, free: 14.04 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.1614, allocations: 13.86 kB / 0.6387 GB, free: 14.02 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.1614, allocations: 0 / 0.6387 GB, free: 14.02 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.1614, allocations: 0 / 0.6387 GB, free: 14.02 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.02e-05/0.1615, allocations: 4 kB / 0.6387 GB, free: 14.02 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.1615, allocations: 0 / 0.6387 GB, free: 14.02 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.187e-05/0.1615, allocations: 4 kB / 0.6387 GB, free: 14.02 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-06/0.1615, allocations: 0 / 0.6387 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 7.261e-05/0.1616, allocations: 117.8 kB / 0.6388 GB, free: 13.89 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.901e-05/0.1616, allocations: 3.906 kB / 0.6388 GB, free: 13.89 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001212/0.1618, allocations: 128.9 kB / 0.6389 GB, free: 13.75 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.009e-05/0.1618, allocations: 176.3 kB / 0.6391 GB, free: 13.57 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.234e-05/0.1619, allocations: 176.3 kB / 0.6393 GB, free: 13.39 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.524e-05/0.162, allocations: 188.2 kB / 0.6395 GB, free: 13.2 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002286/0.1622, allocations: 405.2 kB / 0.6398 GB, free: 12.75 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.982e-05/0.1623, allocations: 108.9 kB / 0.6399 GB, free: 12.63 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.346e-05/0.1623, allocations: 105 kB / 0.64 GB, free: 12.52 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.403e-05/0.1624, allocations: 176.3 kB / 0.6402 GB, free: 12.34 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.433e-05/0.1625, allocations: 184.2 kB / 0.6404 GB, free: 12.16 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.174e-05/0.1625, allocations: 180.3 kB / 0.6406 GB, free: 11.97 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001269/0.1627, allocations: 188.2 kB / 0.6407 GB, free: 11.78 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001634/0.1629, allocations: 303.8 kB / 0.641 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.897e-05/0.1629, allocations: 182 kB / 0.6412 GB, free: 11.26 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.692e-05/0.163, allocations: 196.2 kB / 0.6414 GB, free: 11.06 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001589/0.1632, allocations: 108.9 kB / 0.6415 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.365e-05/0.1633, allocations: 176.3 kB / 0.6417 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.638e-05/0.1633, allocations: 109 kB / 0.6418 GB, free: 10.65 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.699e-05/0.1634, allocations: 91.2 kB / 0.6419 GB, free: 10.56 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1634, allocations: 0 / 0.6419 GB, free: 10.56 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002567/0.1637, allocations: 12 kB / 0.6419 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.0003171/0.164, allocations: 202.4 kB / 0.6421 GB, free: 10.34 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 7.89e-05/0.1641, allocations: 12 kB / 0.6421 GB, free: 10.33 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/0.1641, allocations: 0 / 0.6421 GB, free: 10.33 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.312e-06/0.1641, allocations: 0 / 0.6421 GB, free: 10.33 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004461/0.1645, allocations: 463.8 kB / 0.6425 GB, free: 9.875 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003019/0.1649, allocations: 207.5 kB / 0.6427 GB, free: 9.637 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003046/0.1652, allocations: 0.6768 MB / 0.6434 GB, free: 8.934 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.756e-05/0.1652, allocations: 7.438 kB / 0.6434 GB, free: 8.926 MB / 494.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1652, allocations: 0 / 0.6434 GB, free: 8.926 MB / 494.1 MB Notification: Performance of Templates: time 0.002547/0.1678, allocations: 0.7572 MB / 0.6441 GB, free: 8.176 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)