Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") translateModel(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008564/0.0008561, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0008779/0.0008779, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.192/1.192, allocations: 223.2 MB / 239.9 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8501/0.8501, allocations: 135.2 MB / 426.2 MB, free: 14.22 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002977/0.0002977, allocations: 8 kB / 0.5068 GB, free: 5.344 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1546/0.1549, allocations: 82.32 MB / 0.5872 GB, free: 3.203 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.001774/0.1567, allocations: 1.441 MB / 0.5886 GB, free: 1.754 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002345/0.157, allocations: 131.6 kB / 0.5887 GB, free: 1.625 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.562e-05/0.157, allocations: 0 / 0.5887 GB, free: 1.625 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.159e-05/0.1571, allocations: 7.922 kB / 0.5887 GB, free: 1.617 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001203/0.1572, allocations: 55.88 kB / 0.5888 GB, free: 1.562 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001517/0.1574, allocations: 31.89 kB / 0.5888 GB, free: 1.531 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001594/0.1575, allocations: 115.8 kB / 0.5889 GB, free: 1.418 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.332e-05/0.1576, allocations: 21.11 kB / 0.5889 GB, free: 1.395 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.089e-05/0.1577, allocations: 51.78 kB / 0.589 GB, free: 1.344 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.997e-05/0.1578, allocations: 59.75 kB / 0.589 GB, free: 1.285 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.1578, allocations: 4 kB / 0.5891 GB, free: 1.281 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.108e-05/0.1578, allocations: 12 kB / 0.5891 GB, free: 1.27 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.192e-05/0.1579, allocations: 11.92 kB / 0.5891 GB, free: 1.258 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.504e-05/0.1579, allocations: 49.64 kB / 0.5891 GB, free: 1.203 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.023e-05/0.158, allocations: 84.06 kB / 0.5892 GB, free: 1.121 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.158, allocations: 0 / 0.5892 GB, free: 1.121 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.158, allocations: 0 / 0.5892 GB, free: 1.121 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.987e-06/0.158, allocations: 0 / 0.5892 GB, free: 1.121 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007597/0.1588, allocations: 450.7 kB / 0.5896 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.227e-05/0.1588, allocations: 8.031 kB / 0.5896 GB, free: 0.625 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.502e-05/0.1589, allocations: 15.81 kB / 0.5897 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003023/0.1592, allocations: 206.8 kB / 0.5899 GB, free: 376 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.1592, allocations: 0 / 0.5899 GB, free: 376 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.269e-05/0.1593, allocations: 12 kB / 0.5899 GB, free: 364 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002703/0.1595, allocations: 119.3 kB / 0.59 GB, free: 232 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.1596, allocations: 4 kB / 0.59 GB, free: 228 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.533e-05/0.1596, allocations: 7.984 kB / 0.59 GB, free: 220 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.1596, allocations: 3.938 kB / 0.59 GB, free: 216 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00029/0.1599, allocations: 107.9 kB / 0.5901 GB, free: 108 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007309/0.1606, allocations: 480.8 kB / 0.5906 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003626/0.161, allocations: 137.2 kB / 0.5907 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.178e-05/0.161, allocations: 4 kB / 0.5907 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.332e-05/0.1611, allocations: 34.5 kB / 0.5907 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.313e-06/0.1611, allocations: 0 / 0.5907 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0005901/0.1617, allocations: 209.5 kB / 0.5909 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.431e-05/0.1617, allocations: 81.05 kB / 0.591 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002728/0.162, allocations: 168.6 kB / 0.5912 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.057e-05/0.162, allocations: 25.7 kB / 0.5912 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.314e-05/0.1621, allocations: 116.2 kB / 0.5913 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.626e-05/0.1622, allocations: 27.56 kB / 0.5913 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.963e-06/0.1622, allocations: 4 kB / 0.5913 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.1623, allocations: 322.8 kB / 0.5916 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001407/0.1625, allocations: 51.97 kB / 0.5917 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002327/0.1627, allocations: 61.7 kB / 0.5917 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001441/0.1629, allocations: 64.16 kB / 0.5918 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.1629, allocations: 0 / 0.5918 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003316/0.1632, allocations: 157.5 kB / 0.592 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.1633, allocations: 4 kB / 0.592 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.1633, allocations: 4 kB / 0.592 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.1633, allocations: 0 / 0.592 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001504/0.1634, allocations: 27.98 kB / 0.592 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.1634, allocations: 3.953 kB / 0.592 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000114/0.1636, allocations: 15.89 kB / 0.592 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.173e-05/0.1636, allocations: 8 kB / 0.592 GB, free: 13.99 MB / 0.4981 GB 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 (10): * Single equations (assignments): 10 * 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.127e-05/0.1637, allocations: 121.8 kB / 0.5921 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.568e-05/0.1637, allocations: 15.89 kB / 0.5921 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003908/0.1641, allocations: 170.5 kB / 0.5923 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.1641, allocations: 0 / 0.5923 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.1641, allocations: 0 / 0.5923 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.1642, allocations: 3.953 kB / 0.5923 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000251/0.1644, allocations: 221.5 kB / 0.5925 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.1644, allocations: 3.984 kB / 0.5925 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001331/0.1646, allocations: 24.17 kB / 0.5926 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.1646, allocations: 0 / 0.5926 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.1646, allocations: 11.94 kB / 0.5926 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.1646, allocations: 0 / 0.5926 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1646, allocations: 0 / 0.5926 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004387/0.165, allocations: 344.5 kB / 0.5929 GB, free: 13 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.739e-05/0.1651, allocations: 96.84 kB / 0.593 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.469e-05/0.1651, allocations: 4 kB / 0.593 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001711/0.1653, allocations: 11.98 kB / 0.593 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.321e-05/0.1654, allocations: 16.19 kB / 0.593 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.764e-06/0.1654, allocations: 4 kB / 0.593 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.283e-05/0.1655, allocations: 136.2 kB / 0.5931 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1655, allocations: 0 / 0.5931 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002668/0.1657, allocations: 32 kB / 0.5932 GB, free: 12.69 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (9): * Single equations (assignments): 9 * 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 8.793e-05/0.1658, allocations: 91.25 kB / 0.5933 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003258/0.1662, allocations: 123.9 kB / 0.5934 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.1662, allocations: 0 / 0.5934 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001569/0.1663, allocations: 63.97 kB / 0.5934 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003256/0.1667, allocations: 39.94 kB / 0.5935 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004561/0.1671, allocations: 260.1 kB / 0.5937 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003469/0.1675, allocations: 0.7087 MB / 0.5944 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.15e-05/0.1676, allocations: 12.66 kB / 0.5944 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.058e-05/0.1676, allocations: 11.44 kB / 0.5944 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of SimCode: time 3.51e-07/0.1676, allocations: 0 / 0.5944 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of Templates: time 0.00414/0.1718, allocations: 1.834 MB / 0.5962 GB, free: 9.547 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.makefile Environment - environmentSimulation: (rm -f IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & ./IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) Environment - environmentSimulation: