Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") translateModel(BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001047/0.001047, allocations: 107.3 kB / 15.23 MB, free: 0.6523 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.001192/0.001192, allocations: 198 kB / 16.14 MB, free: 6.125 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.3/1.3, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00206/0.00206, allocations: 278.9 kB / 290.2 MB, free: 2.23 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9307/0.9307, allocations: 169.2 MB / 0.4977 GB, free: 14.17 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002498/0.002498, allocations: 88.66 kB / 0.5945 GB, free: 28.42 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1617/0.1642, allocations: 86.98 MB / 0.6794 GB, free: 1.191 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.00267/0.1669, allocations: 1.875 MB / 0.6813 GB, free: 15.32 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002273/0.1672, allocations: 125.6 kB / 0.6814 GB, free: 15.2 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.816e-05/0.1673, allocations: 0 / 0.6814 GB, free: 15.2 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 8.885e-05/0.1674, allocations: 8.516 kB / 0.6814 GB, free: 15.19 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001196/0.1675, allocations: 49.16 kB / 0.6814 GB, free: 15.14 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001023/0.1676, allocations: 32.59 kB / 0.6815 GB, free: 15.11 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001599/0.1678, allocations: 156.6 kB / 0.6816 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.897e-05/0.1679, allocations: 37.67 kB / 0.6816 GB, free: 14.92 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.506e-05/0.168, allocations: 55.72 kB / 0.6817 GB, free: 14.87 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.568e-05/0.168, allocations: 63.77 kB / 0.6818 GB, free: 14.8 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.307e-05/0.1681, allocations: 4 kB / 0.6818 GB, free: 14.8 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.68e-05/0.1681, allocations: 4 kB / 0.6818 GB, free: 14.8 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.732e-05/0.1681, allocations: 19.91 kB / 0.6818 GB, free: 14.78 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.763e-05/0.1682, allocations: 59.67 kB / 0.6818 GB, free: 14.72 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001284/0.1683, allocations: 119.5 kB / 0.682 GB, free: 14.6 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1684, allocations: 3.938 kB / 0.682 GB, free: 14.6 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.001e-06/0.1684, allocations: 0 / 0.682 GB, free: 14.6 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.458e-06/0.1684, allocations: 0 / 0.682 GB, free: 14.6 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.0007085/0.1691, allocations: 451 kB / 0.6824 GB, free: 14.11 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.847e-05/0.1691, allocations: 8.031 kB / 0.6824 GB, free: 14.1 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.838e-05/0.1692, allocations: 16.75 kB / 0.6824 GB, free: 14.08 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001839/0.1694, allocations: 210 kB / 0.6826 GB, free: 13.84 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.628e-06/0.1694, allocations: 4.375 kB / 0.6826 GB, free: 13.84 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.026e-05/0.1694, allocations: 12.38 kB / 0.6826 GB, free: 13.82 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002679/0.1697, allocations: 115.8 kB / 0.6827 GB, free: 13.7 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.1697, allocations: 192 / 0.6827 GB, free: 13.7 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.726e-05/0.1697, allocations: 11.94 kB / 0.6828 GB, free: 13.69 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.898e-06/0.1697, allocations: 0 / 0.6828 GB, free: 13.69 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003084/0.17, allocations: 99.86 kB / 0.6829 GB, free: 13.59 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006707/0.1707, allocations: 464.7 kB / 0.6833 GB, free: 13.08 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003538/0.1711, allocations: 133.2 kB / 0.6834 GB, free: 12.93 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001621/0.1712, allocations: 65.77 kB / 0.6835 GB, free: 12.86 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.3e-05/0.1713, allocations: 0 / 0.6835 GB, free: 12.86 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.874e-05/0.1713, allocations: 38.5 kB / 0.6835 GB, free: 12.82 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 2.184e-06/0.1713, allocations: 7.984 kB / 0.6835 GB, free: 12.81 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005352/0.1719, allocations: 169.7 kB / 0.6837 GB, free: 12.64 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.457e-05/0.172, allocations: 85.05 kB / 0.6838 GB, free: 12.54 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001424/0.1721, allocations: 168.1 kB / 0.6839 GB, free: 12.36 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.726e-05/0.1721, allocations: 29.7 kB / 0.684 GB, free: 12.33 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.911e-05/0.1722, allocations: 112 kB / 0.6841 GB, free: 12.21 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.594e-05/0.1722, allocations: 27.56 kB / 0.6841 GB, free: 12.19 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.392e-05/0.1723, allocations: 29.7 kB / 0.6841 GB, free: 12.15 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001034/0.1724, allocations: 326.8 kB / 0.6844 GB, free: 11.82 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001465/0.1725, allocations: 44.03 kB / 0.6845 GB, free: 11.78 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001433/0.1727, allocations: 57.69 kB / 0.6845 GB, free: 11.72 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002769/0.173, allocations: 101.6 kB / 0.6846 GB, free: 11.61 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.173, allocations: 0 / 0.6846 GB, free: 11.61 MB / 494.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003383/0.1733, allocations: 149.4 kB / 0.6848 GB, free: 11.46 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.1734, allocations: 8 kB / 0.6848 GB, free: 11.45 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.1734, allocations: 0 / 0.6848 GB, free: 11.45 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.368e-06/0.1734, allocations: 4.188 kB / 0.6848 GB, free: 11.45 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001616/0.1735, allocations: 27.92 kB / 0.6848 GB, free: 11.42 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/0.1736, allocations: 7.938 kB / 0.6848 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000118/0.1737, allocations: 7.984 kB / 0.6848 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.252e-05/0.1737, allocations: 7.938 kB / 0.6848 GB, free: 11.4 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 (10): * Single equations (assignments): 10 * 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 8.863e-05/0.1738, allocations: 118.5 kB / 0.6849 GB, free: 11.27 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.334e-05/0.1739, allocations: 15.81 kB / 0.685 GB, free: 11.26 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004187/0.1743, allocations: 158.5 kB / 0.6851 GB, free: 11.1 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.1743, allocations: 4 kB / 0.6851 GB, free: 11.09 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.1743, allocations: 192 / 0.6851 GB, free: 11.09 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.1743, allocations: 0 / 0.6851 GB, free: 11.09 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002723/0.1746, allocations: 233.5 kB / 0.6853 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1746, allocations: 0 / 0.6853 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001474/0.1748, allocations: 23.98 kB / 0.6854 GB, free: 10.79 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.1748, allocations: 3.938 kB / 0.6854 GB, free: 10.79 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.1748, allocations: 7.984 kB / 0.6854 GB, free: 10.78 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.1748, allocations: 0 / 0.6854 GB, free: 10.78 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.1748, allocations: 0 / 0.6854 GB, free: 10.78 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003841/0.1752, allocations: 318.5 kB / 0.6857 GB, free: 10.45 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.498e-05/0.1752, allocations: 81.02 kB / 0.6858 GB, free: 10.36 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.556e-05/0.1753, allocations: 7.984 kB / 0.6858 GB, free: 10.35 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001752/0.1754, allocations: 11.91 kB / 0.6858 GB, free: 10.34 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.552e-05/0.1755, allocations: 7.984 kB / 0.6858 GB, free: 10.33 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.919e-06/0.1755, allocations: 7.938 kB / 0.6858 GB, free: 10.32 MB / 494.1 MB Notification: Performance of sorting global known variables: time 8.888e-05/0.1756, allocations: 129.2 kB / 0.6859 GB, free: 10.2 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1756, allocations: 0 / 0.6859 GB, free: 10.2 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002795/0.1759, allocations: 28 kB / 0.6859 GB, free: 10.17 MB / 494.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.257e-05/0.176, allocations: 107.2 kB / 0.686 GB, free: 10.05 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003267/0.1763, allocations: 99.88 kB / 0.6861 GB, free: 9.953 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1763, allocations: 0 / 0.6861 GB, free: 9.953 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001526/0.1765, allocations: 55.91 kB / 0.6862 GB, free: 9.898 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004531/0.1769, allocations: 45.89 kB / 0.6862 GB, free: 9.855 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004356/0.1774, allocations: 265.2 kB / 0.6865 GB, free: 9.566 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002335/0.1776, allocations: 0.7009 MB / 0.6872 GB, free: 8.84 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 8.504e-05/0.1777, allocations: 20.95 kB / 0.6872 GB, free: 8.82 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.591e-05/0.1778, allocations: 11.44 kB / 0.6872 GB, free: 8.809 MB / 494.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1778, allocations: 0 / 0.6872 GB, free: 8.809 MB / 494.1 MB Notification: Performance of Templates: time 0.004235/0.182, allocations: 1.921 MB / 0.6891 GB, free: 6.941 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.makefile (rm -f BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & ./BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1)