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.0009161/0.0009161, allocations: 96.97 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001072/0.001072, allocations: 175 kB / 16.57 MB, free: 6.395 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.327/1.327, allocations: 223.2 MB / 240.5 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6562/0.6562, allocations: 113.8 MB / 405.4 MB, free: 4.59 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002976/0.0002977, allocations: 8 kB / 493 MB, free: 8.574 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1365, allocations: 77.15 MB / 0.5568 GB, free: 11.63 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.004006/0.1405, allocations: 3.13 MB / 0.5599 GB, free: 8.48 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001568/0.1407, allocations: 127.8 kB / 0.56 GB, free: 8.355 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.878e-05/0.1407, allocations: 0 / 0.56 GB, free: 8.355 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 9.1e-05/0.1408, allocations: 3.984 kB / 0.56 GB, free: 8.352 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.487e-05/0.1409, allocations: 11.92 kB / 0.56 GB, free: 8.34 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002771/0.1412, allocations: 75.3 kB / 0.5601 GB, free: 8.27 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.47e-05/0.1412, allocations: 19.92 kB / 0.5601 GB, free: 8.25 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.91e-05/0.1413, allocations: 0 / 0.5601 GB, free: 8.25 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.501e-05/0.1413, allocations: 19.97 kB / 0.5601 GB, free: 8.23 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.265e-05/0.1414, allocations: 7.938 kB / 0.5601 GB, free: 8.223 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.229e-05/0.1414, allocations: 4 kB / 0.5601 GB, free: 8.219 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004267/0.1418, allocations: 155.7 kB / 0.5603 GB, free: 8.066 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.436e-05/0.1419, allocations: 0 / 0.5603 GB, free: 8.066 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.788e-05/0.1419, allocations: 33.69 kB / 0.5603 GB, free: 8.027 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 8.037e-05/0.142, allocations: 23.98 kB / 0.5603 GB, free: 8.004 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.503e-06/0.142, allocations: 4 kB / 0.5603 GB, free: 8 MB / 430.1 MB Notification: Performance of FrontEnd: time 8.22e-07/0.142, allocations: 0 / 0.5603 GB, free: 8 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.186e-06/0.142, allocations: 0 / 0.5603 GB, free: 8 MB / 430.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.0003388/0.1423, allocations: 327.7 kB / 0.5607 GB, free: 7.633 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.1424, allocations: 12.02 kB / 0.5607 GB, free: 7.621 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.262e-05/0.1424, allocations: 0 / 0.5607 GB, free: 7.621 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001106/0.1425, allocations: 167 kB / 0.5608 GB, free: 7.418 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.499e-05/0.1426, allocations: 25.7 kB / 0.5609 GB, free: 7.387 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.268e-05/0.1426, allocations: 11.94 kB / 0.5609 GB, free: 7.375 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001153/0.1427, allocations: 45.62 kB / 0.5609 GB, free: 7.324 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.1428, allocations: 4 kB / 0.5609 GB, free: 7.32 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.1428, allocations: 0 / 0.5609 GB, free: 7.32 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.765e-05/0.1428, allocations: 0 / 0.5609 GB, free: 7.32 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.892e-05/0.1429, allocations: 11.98 kB / 0.5609 GB, free: 7.309 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004363/0.1433, allocations: 334 kB / 0.5612 GB, free: 6.914 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.741e-05/0.1433, allocations: 30.58 kB / 0.5613 GB, free: 6.875 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.281e-05/0.1434, allocations: 85.09 kB / 0.5614 GB, free: 6.773 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.671e-05/0.1435, allocations: 30.56 kB / 0.5614 GB, free: 6.734 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.1435, allocations: 3.938 kB / 0.5614 GB, free: 6.73 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001356/0.1436, allocations: 33.7 kB / 0.5614 GB, free: 6.691 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.19e-05/0.1437, allocations: 51.41 kB / 0.5615 GB, free: 6.629 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.211e-05/0.1437, allocations: 101.8 kB / 0.5616 GB, free: 6.52 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.609e-05/0.1438, allocations: 29.83 kB / 0.5616 GB, free: 6.484 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.884e-05/0.1438, allocations: 91.98 kB / 0.5617 GB, free: 6.391 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.394e-06/0.1438, allocations: 4 kB / 0.5617 GB, free: 6.387 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.025e-06/0.1438, allocations: 3.938 kB / 0.5617 GB, free: 6.383 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001164/0.144, allocations: 314.8 kB / 0.562 GB, free: 6.066 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.393e-05/0.144, allocations: 4 kB / 0.562 GB, free: 6.062 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.581e-05/0.144, allocations: 17.72 kB / 0.562 GB, free: 6.039 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.298e-05/0.144, allocations: 11.95 kB / 0.562 GB, free: 6.027 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.1441, allocations: 0 / 0.562 GB, free: 6.027 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.609e-05/0.1441, allocations: 53.53 kB / 0.5621 GB, free: 5.969 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.1442, allocations: 6.031 kB / 0.5621 GB, free: 5.965 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-06/0.1442, allocations: 7.938 kB / 0.5621 GB, free: 5.957 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.1442, allocations: 0 / 0.5621 GB, free: 5.957 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.511e-05/0.1442, allocations: 11.98 kB / 0.5621 GB, free: 5.945 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.1443, allocations: 0 / 0.5621 GB, free: 5.945 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.768e-05/0.1443, allocations: 0 / 0.5621 GB, free: 5.945 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.477e-06/0.1443, allocations: 8.062 kB / 0.5621 GB, free: 5.938 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.819e-05/0.1444, allocations: 111.5 kB / 0.5622 GB, free: 5.82 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.372e-05/0.1444, allocations: 4 kB / 0.5622 GB, free: 5.816 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001166/0.1445, allocations: 124.9 kB / 0.5623 GB, free: 5.684 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.433e-05/0.1446, allocations: 176.3 kB / 0.5625 GB, free: 5.504 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.9e-05/0.1447, allocations: 176.3 kB / 0.5627 GB, free: 5.324 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.87e-05/0.1447, allocations: 188.2 kB / 0.5629 GB, free: 5.133 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002151/0.145, allocations: 405.2 kB / 0.5632 GB, free: 4.68 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.004e-05/0.145, allocations: 108.9 kB / 0.5633 GB, free: 4.566 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.157e-05/0.145, allocations: 105 kB / 0.5634 GB, free: 4.457 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.877e-05/0.1451, allocations: 180.2 kB / 0.5636 GB, free: 4.273 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.979e-05/0.1452, allocations: 188.5 kB / 0.5638 GB, free: 4.082 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.848e-05/0.1452, allocations: 176.3 kB / 0.564 GB, free: 3.902 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.012e-05/0.1453, allocations: 184.2 kB / 0.5641 GB, free: 3.715 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001246/0.1454, allocations: 303.8 kB / 0.5644 GB, free: 3.395 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.545e-05/0.1455, allocations: 193.9 kB / 0.5646 GB, free: 3.18 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.475e-05/0.1456, allocations: 184.2 kB / 0.5648 GB, free: 2.992 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00015/0.1457, allocations: 112.9 kB / 0.5649 GB, free: 2.875 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.742e-05/0.1458, allocations: 180.3 kB / 0.5651 GB, free: 2.691 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.9e-05/0.1458, allocations: 101 kB / 0.5652 GB, free: 2.586 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.469e-05/0.1459, allocations: 91.2 kB / 0.5652 GB, free: 2.496 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1459, allocations: 0 / 0.5652 GB, free: 2.496 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002341/0.1461, allocations: 20 kB / 0.5653 GB, free: 2.477 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001499/0.1463, allocations: 191.1 kB / 0.5655 GB, free: 2.281 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 6.062e-05/0.1463, allocations: 8 kB / 0.5655 GB, free: 2.273 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1463, allocations: 0 / 0.5655 GB, free: 2.273 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.182e-06/0.1463, allocations: 0 / 0.5655 GB, free: 2.273 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003463/0.1467, allocations: 0.5274 MB / 0.566 GB, free: 1.742 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002431/0.1469, allocations: 187.8 kB / 0.5662 GB, free: 1.527 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000287/0.1472, allocations: 0.677 MB / 0.5668 GB, free: 0.8242 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.079e-05/0.1473, allocations: 11.98 kB / 0.5668 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.766e-05/0.1473, allocations: 11.44 kB / 0.5668 GB, free: 0.8008 MB / 430.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1473, allocations: 0 / 0.5668 GB, free: 0.8008 MB / 430.1 MB Notification: Performance of Templates: time 0.002493/0.1498, allocations: 0.5425 MB / 0.5674 GB, free: 280 kB / 430.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)