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.001107/0.001107, allocations: 105.8 kB / 16.4 MB, free: 6.023 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.001023/0.001023, allocations: 192.5 kB / 17.34 MB, free: 5.633 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.254/1.254, allocations: 222.9 MB / 241 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.6812/0.6812, allocations: 115.3 MB / 406.5 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 67.67 kB / 0.5577 GB, free: 32.25 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1363/0.1375, allocations: 76.18 MB / 0.6321 GB, free: 4.414 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.005301/0.1428, allocations: 3.712 MB / 0.6357 GB, free: 0.6758 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001968/0.1431, allocations: 155.5 kB / 0.6358 GB, free: 0.5234 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.139e-05/0.1431, allocations: 8 kB / 0.6358 GB, free: 0.5156 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 9.229e-05/0.1432, allocations: 3.938 kB / 0.6358 GB, free: 0.5117 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 6.872e-05/0.1433, allocations: 11.86 kB / 0.6359 GB, free: 0.5 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003398/0.1437, allocations: 86.75 kB / 0.6359 GB, free: 428 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 9.113e-05/0.1438, allocations: 35.84 kB / 0.636 GB, free: 392 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.352e-05/0.1438, allocations: 4 kB / 0.636 GB, free: 388 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.51e-05/0.1438, allocations: 11.98 kB / 0.636 GB, free: 376 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.646e-05/0.1439, allocations: 19.92 kB / 0.636 GB, free: 356 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.344e-05/0.1439, allocations: 0 / 0.636 GB, free: 356 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000583/0.1445, allocations: 191.4 kB / 0.6362 GB, free: 164 kB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 4.523e-05/0.1446, allocations: 7.984 kB / 0.6362 GB, free: 156 kB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.621e-05/0.1446, allocations: 4 kB / 0.6362 GB, free: 152 kB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001587/0.1448, allocations: 47.83 kB / 0.6362 GB, free: 104 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.1448, allocations: 0 / 0.6362 GB, free: 104 kB / 478.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1448, allocations: 0 / 0.6362 GB, free: 104 kB / 478.1 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.1448, allocations: 0 / 0.6362 GB, free: 104 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.0004286/0.1452, allocations: 339.5 kB / 0.6366 GB, free: 15.72 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.1453, allocations: 8.031 kB / 0.6366 GB, free: 15.71 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.266e-05/0.1454, allocations: 8.922 kB / 0.6366 GB, free: 15.71 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001273/0.1455, allocations: 164.3 kB / 0.6367 GB, free: 15.51 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.996e-05/0.1456, allocations: 26.27 kB / 0.6368 GB, free: 15.48 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.133e-05/0.1456, allocations: 4.375 kB / 0.6368 GB, free: 15.47 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001478/0.1457, allocations: 49.61 kB / 0.6368 GB, free: 15.42 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.1458, allocations: 0 / 0.6368 GB, free: 15.42 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.1458, allocations: 0 / 0.6368 GB, free: 15.42 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.159e-05/0.1458, allocations: 11.94 kB / 0.6368 GB, free: 15.41 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.693e-05/0.1458, allocations: 15.98 kB / 0.6368 GB, free: 15.39 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004783/0.1463, allocations: 334 kB / 0.6372 GB, free: 15 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.402e-05/0.1464, allocations: 14.58 kB / 0.6372 GB, free: 14.97 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.562e-05/0.1464, allocations: 4.859 kB / 0.6372 GB, free: 14.96 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.015e-05/0.1465, allocations: 89.16 kB / 0.6373 GB, free: 14.86 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.802e-05/0.1465, allocations: 34.56 kB / 0.6373 GB, free: 14.82 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 2.374e-06/0.1466, allocations: 3.938 kB / 0.6373 GB, free: 14.81 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001474/0.1467, allocations: 45.55 kB / 0.6373 GB, free: 14.76 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.199e-05/0.1468, allocations: 51.41 kB / 0.6374 GB, free: 14.7 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.069e-05/0.1468, allocations: 97.84 kB / 0.6375 GB, free: 14.59 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.376e-05/0.1469, allocations: 25.7 kB / 0.6375 GB, free: 14.56 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.204e-05/0.1469, allocations: 88.14 kB / 0.6376 GB, free: 14.47 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.971e-06/0.1469, allocations: 8.031 kB / 0.6376 GB, free: 14.46 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.157e-05/0.147, allocations: 17.7 kB / 0.6376 GB, free: 14.44 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000106/0.1471, allocations: 318.8 kB / 0.6379 GB, free: 14.12 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.57e-05/0.1471, allocations: 4 kB / 0.6379 GB, free: 14.12 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.398e-05/0.1471, allocations: 13.91 kB / 0.6379 GB, free: 14.1 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.625e-05/0.1472, allocations: 33.58 kB / 0.638 GB, free: 14.06 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1472, allocations: 0 / 0.638 GB, free: 14.06 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.486e-05/0.1473, allocations: 53.72 kB / 0.638 GB, free: 14 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.1473, allocations: 4 kB / 0.638 GB, free: 14 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.1473, allocations: 0 / 0.638 GB, free: 14 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.1473, allocations: 3.984 kB / 0.638 GB, free: 13.99 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.75e-05/0.1474, allocations: 8 kB / 0.638 GB, free: 13.98 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.471e-06/0.1474, allocations: 0 / 0.638 GB, free: 13.98 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.796e-05/0.1474, allocations: 0 / 0.638 GB, free: 13.98 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.043e-05/0.1474, allocations: 4 kB / 0.638 GB, free: 13.98 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.24e-05/0.1475, allocations: 117.8 kB / 0.6382 GB, free: 13.86 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.649e-05/0.1475, allocations: 3.906 kB / 0.6382 GB, free: 13.85 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001223/0.1477, allocations: 128.9 kB / 0.6383 GB, free: 13.71 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.318e-05/0.1477, allocations: 176.3 kB / 0.6385 GB, free: 13.54 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.162e-05/0.1478, allocations: 180.3 kB / 0.6386 GB, free: 13.35 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.493e-05/0.1479, allocations: 188.2 kB / 0.6388 GB, free: 13.16 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002077/0.1481, allocations: 409.2 kB / 0.6392 GB, free: 12.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.002e-05/0.1481, allocations: 104.9 kB / 0.6393 GB, free: 12.59 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.866e-05/0.1481, allocations: 101 kB / 0.6394 GB, free: 12.49 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.315e-05/0.1482, allocations: 176.3 kB / 0.6396 GB, free: 12.31 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.162e-05/0.1483, allocations: 188.2 kB / 0.6397 GB, free: 12.12 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.801e-05/0.1483, allocations: 180.3 kB / 0.6399 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.545e-05/0.1484, allocations: 184.2 kB / 0.6401 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001224/0.1485, allocations: 307.7 kB / 0.6404 GB, free: 11.42 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.836e-05/0.1486, allocations: 182.1 kB / 0.6406 GB, free: 11.22 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.41e-05/0.1487, allocations: 188.2 kB / 0.6407 GB, free: 11.03 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001606/0.1488, allocations: 112.9 kB / 0.6408 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.969e-05/0.1489, allocations: 176.3 kB / 0.641 GB, free: 10.73 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.88e-05/0.149, allocations: 108.9 kB / 0.6411 GB, free: 10.62 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.259e-05/0.1491, allocations: 87.27 kB / 0.6412 GB, free: 10.53 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1491, allocations: 0 / 0.6412 GB, free: 10.53 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002376/0.1493, allocations: 12 kB / 0.6412 GB, free: 10.52 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.0002155/0.1496, allocations: 206.4 kB / 0.6414 GB, free: 10.31 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 6.631e-05/0.1496, allocations: 8 kB / 0.6414 GB, free: 10.3 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.1496, allocations: 4 kB / 0.6414 GB, free: 10.3 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.764e-06/0.1496, allocations: 0 / 0.6414 GB, free: 10.3 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003975/0.1501, allocations: 467.7 kB / 0.6419 GB, free: 9.836 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002385/0.1503, allocations: 169.9 kB / 0.642 GB, free: 9.641 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002259/0.1505, allocations: 0.6768 MB / 0.6427 GB, free: 8.938 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.106e-05/0.1506, allocations: 11.94 kB / 0.6427 GB, free: 8.926 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.785e-05/0.1506, allocations: 7.438 kB / 0.6427 GB, free: 8.918 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1506, allocations: 0 / 0.6427 GB, free: 8.918 MB / 494.1 MB Notification: Performance of Templates: time 0.002753/0.1534, allocations: 0.637 MB / 0.6433 GB, free: 8.285 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)