Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") translateModel(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001361/0.001361, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.0013/0.0013, allocations: 194.8 kB / 16.26 MB, free: 6.621 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.384/1.384, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9879/0.9879, allocations: 135.6 MB / 425.6 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001847/0.001847, allocations: 64.48 kB / 0.5054 GB, free: 5.184 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1654/0.1672, allocations: 81.03 MB / 0.5845 GB, free: 4.285 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.002981/0.1703, allocations: 1.86 MB / 0.5863 GB, free: 2.41 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002584/0.1705, allocations: 115.6 kB / 0.5864 GB, free: 2.297 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.277e-05/0.1706, allocations: 0 / 0.5864 GB, free: 2.297 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001121/0.1707, allocations: 11.92 kB / 0.5864 GB, free: 2.285 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.396e-05/0.1708, allocations: 55.55 kB / 0.5865 GB, free: 2.23 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001247/0.171, allocations: 31.97 kB / 0.5865 GB, free: 2.199 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002196/0.1712, allocations: 167.1 kB / 0.5867 GB, free: 2.035 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000121/0.1713, allocations: 37.08 kB / 0.5867 GB, free: 1.996 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.876e-05/0.1714, allocations: 55.8 kB / 0.5868 GB, free: 1.941 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001101/0.1715, allocations: 67.69 kB / 0.5868 GB, free: 1.875 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.349e-05/0.1716, allocations: 8 kB / 0.5868 GB, free: 1.867 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.512e-05/0.1716, allocations: 12 kB / 0.5868 GB, free: 1.855 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.161e-05/0.1716, allocations: 23.92 kB / 0.5869 GB, free: 1.832 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.51e-05/0.1717, allocations: 63.66 kB / 0.5869 GB, free: 1.77 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001592/0.1719, allocations: 119.9 kB / 0.587 GB, free: 1.652 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.1719, allocations: 0 / 0.587 GB, free: 1.652 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1719, allocations: 0 / 0.587 GB, free: 1.652 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.1719, allocations: 0 / 0.587 GB, free: 1.652 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.000805/0.1727, allocations: 454.8 kB / 0.5875 GB, free: 1.156 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.1728, allocations: 12.02 kB / 0.5875 GB, free: 1.145 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.694e-05/0.1728, allocations: 20.75 kB / 0.5875 GB, free: 1.125 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002318/0.173, allocations: 208.7 kB / 0.5877 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.1731, allocations: 12.31 kB / 0.5877 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.87e-05/0.1731, allocations: 8.375 kB / 0.5877 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002809/0.1734, allocations: 111.9 kB / 0.5878 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.1734, allocations: 192 / 0.5878 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.783e-05/0.1734, allocations: 11.94 kB / 0.5878 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.1734, allocations: 3.984 kB / 0.5879 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002848/0.1737, allocations: 95.81 kB / 0.5879 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007282/0.1745, allocations: 476.7 kB / 0.5884 GB, free: 116 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000379/0.1748, allocations: 133.2 kB / 0.5885 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001544/0.175, allocations: 57.78 kB / 0.5886 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.428e-05/0.175, allocations: 0 / 0.5886 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.963e-05/0.1751, allocations: 42.5 kB / 0.5886 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 9.62e-07/0.1751, allocations: 4 kB / 0.5886 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.000555/0.1756, allocations: 173.4 kB / 0.5888 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.471e-05/0.1757, allocations: 89.05 kB / 0.5889 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001505/0.1759, allocations: 162.4 kB / 0.589 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.918e-05/0.1759, allocations: 25.7 kB / 0.5891 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.633e-05/0.176, allocations: 116 kB / 0.5892 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.313e-05/0.176, allocations: 31.55 kB / 0.5892 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.948e-05/0.1761, allocations: 21.72 kB / 0.5892 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.1762, allocations: 326.8 kB / 0.5895 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000138/0.1764, allocations: 39.97 kB / 0.5896 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001443/0.1765, allocations: 61.67 kB / 0.5896 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002643/0.1768, allocations: 105.6 kB / 0.5897 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1768, allocations: 0 / 0.5897 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003396/0.1771, allocations: 137.9 kB / 0.5899 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.1772, allocations: 8 kB / 0.5899 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.321e-06/0.1772, allocations: 4.062 kB / 0.5899 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.1772, allocations: 4 kB / 0.5899 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001509/0.1773, allocations: 27.91 kB / 0.5899 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.1774, allocations: 4 kB / 0.5899 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001122/0.1775, allocations: 7.906 kB / 0.5899 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.431e-05/0.1775, allocations: 11.94 kB / 0.5899 GB, free: 14.44 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001022/0.1776, allocations: 117.8 kB / 0.59 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.819e-05/0.1777, allocations: 11.91 kB / 0.59 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004041/0.1781, allocations: 154.7 kB / 0.5902 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.638e-06/0.1781, allocations: 4 kB / 0.5902 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.1781, allocations: 3.938 kB / 0.5902 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.1781, allocations: 3.984 kB / 0.5902 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003091/0.1784, allocations: 233.4 kB / 0.5904 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1784, allocations: 0 / 0.5904 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001415/0.1786, allocations: 19.98 kB / 0.5904 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.1786, allocations: 11.88 kB / 0.5905 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.496e-05/0.1786, allocations: 4 kB / 0.5905 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.1786, allocations: 0 / 0.5905 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1786, allocations: 0 / 0.5905 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004106/0.179, allocations: 318.5 kB / 0.5908 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.458e-05/0.1791, allocations: 88.92 kB / 0.5908 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.355e-05/0.1791, allocations: 4 kB / 0.5909 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001646/0.1793, allocations: 7.984 kB / 0.5909 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.746e-05/0.1793, allocations: 12.22 kB / 0.5909 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.183e-05/0.1794, allocations: 7.938 kB / 0.5909 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001066/0.1795, allocations: 125.5 kB / 0.591 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1795, allocations: 0 / 0.591 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002744/0.1798, allocations: 32 kB / 0.591 GB, free: 13.2 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 (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.0001047/0.1799, allocations: 95.25 kB / 0.5911 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003402/0.1802, allocations: 111.8 kB / 0.5912 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1802, allocations: 0 / 0.5912 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001635/0.1804, allocations: 56.22 kB / 0.5913 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000463/0.1809, allocations: 50.53 kB / 0.5913 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004905/0.1814, allocations: 267.4 kB / 0.5916 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003323/0.1817, allocations: 0.7045 MB / 0.5923 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.384e-05/0.1818, allocations: 8.656 kB / 0.5923 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.572e-05/0.1819, allocations: 15.44 kB / 0.5923 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1819, allocations: 0 / 0.5923 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of Templates: time 0.004876/0.1867, allocations: 2.018 MB / 0.5943 GB, free: 9.883 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.makefile (rm -f IDEAS_dev_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/IDEAS_dev_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & ./IDEAS_dev_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1)