Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.SetPoints.Examples.HotWaterTemperatureReset.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Controls.SetPoints.Examples.HotWaterTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.SetPoints.Examples.HotWaterTemperatureReset") translateModel(Buildings.Controls.SetPoints.Examples.HotWaterTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.SetPoints.Examples.HotWaterTemperatureReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01071/0.01071, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001982/0.001982, allocations: 194.3 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.724/1.724, allocations: 205.1 MB / 222.6 MB, free: 4.504 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6149/0.6149, allocations: 95.48 MB / 365.4 MB, free: 9.781 MB / 302.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001543/0.001544, allocations: 70.81 kB / 0.5036 GB, free: 13.49 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1611/0.1627, allocations: 69.09 MB / 0.5711 GB, free: 8.332 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.HotWaterTemperatureReset): time 0.003665/0.1664, allocations: 1.816 MB / 0.5728 GB, free: 6.5 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003675/0.1668, allocations: 123.6 kB / 0.5729 GB, free: 6.379 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001078/0.1669, allocations: 7.938 kB / 0.573 GB, free: 6.371 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001501/0.1671, allocations: 15.86 kB / 0.573 GB, free: 6.355 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001004/0.1672, allocations: 43.56 kB / 0.573 GB, free: 6.312 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001601/0.1674, allocations: 31.95 kB / 0.573 GB, free: 6.281 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002696/0.1676, allocations: 175.1 kB / 0.5732 GB, free: 6.109 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001596/0.1678, allocations: 29.05 kB / 0.5732 GB, free: 6.082 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001072/0.1679, allocations: 59.78 kB / 0.5733 GB, free: 6.023 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001398/0.1681, allocations: 59.77 kB / 0.5734 GB, free: 5.965 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.675e-05/0.1681, allocations: 12 kB / 0.5734 GB, free: 5.953 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.952e-05/0.1681, allocations: 8 kB / 0.5734 GB, free: 5.945 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.671e-05/0.1682, allocations: 35.84 kB / 0.5734 GB, free: 5.91 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.512e-05/0.1683, allocations: 63.72 kB / 0.5735 GB, free: 5.848 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002068/0.1685, allocations: 131.4 kB / 0.5736 GB, free: 5.719 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.1685, allocations: 0 / 0.5736 GB, free: 5.719 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.624e-06/0.1685, allocations: 0 / 0.5736 GB, free: 5.719 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.1685, allocations: 0 / 0.5736 GB, free: 5.719 MB / 446.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.0008571/0.1694, allocations: 458.8 kB / 0.574 GB, free: 5.219 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.1694, allocations: 11.98 kB / 0.574 GB, free: 5.207 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.653e-05/0.1695, allocations: 16.84 kB / 0.5741 GB, free: 5.191 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002831/0.1698, allocations: 196.2 kB / 0.5742 GB, free: 4.961 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.1698, allocations: 8.375 kB / 0.5742 GB, free: 4.953 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.91e-05/0.1698, allocations: 8.312 kB / 0.5743 GB, free: 4.945 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000311/0.1701, allocations: 123.8 kB / 0.5744 GB, free: 4.812 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.1701, allocations: 192 / 0.5744 GB, free: 4.812 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.608e-05/0.1702, allocations: 7.875 kB / 0.5744 GB, free: 4.805 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.1702, allocations: 4 kB / 0.5744 GB, free: 4.801 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000292/0.1705, allocations: 99.86 kB / 0.5745 GB, free: 4.703 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007811/0.1713, allocations: 468.8 kB / 0.5749 GB, free: 4.191 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003768/0.1717, allocations: 129.2 kB / 0.5751 GB, free: 4.047 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001698/0.1718, allocations: 65.77 kB / 0.5751 GB, free: 3.977 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.597e-05/0.1719, allocations: 0 / 0.5751 GB, free: 3.977 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.586e-05/0.1719, allocations: 38.56 kB / 0.5752 GB, free: 3.93 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 4.859e-06/0.1719, allocations: 3.984 kB / 0.5752 GB, free: 3.926 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006809/0.1726, allocations: 177.5 kB / 0.5753 GB, free: 3.746 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.684e-05/0.1727, allocations: 93.05 kB / 0.5754 GB, free: 3.637 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002084/0.1729, allocations: 174.3 kB / 0.5756 GB, free: 3.457 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.585e-05/0.173, allocations: 25.7 kB / 0.5756 GB, free: 3.426 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001231/0.1731, allocations: 108.1 kB / 0.5757 GB, free: 3.316 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.669e-05/0.1732, allocations: 31.81 kB / 0.5757 GB, free: 3.285 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.77e-05/0.1732, allocations: 25.7 kB / 0.5758 GB, free: 3.254 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002173/0.1735, allocations: 326.8 kB / 0.5761 GB, free: 2.926 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001553/0.1736, allocations: 43.97 kB / 0.5761 GB, free: 2.883 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001617/0.1738, allocations: 61.62 kB / 0.5762 GB, free: 2.816 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003203/0.1741, allocations: 105.6 kB / 0.5763 GB, free: 2.707 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.1741, allocations: 0 / 0.5763 GB, free: 2.707 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003656/0.1745, allocations: 145.5 kB / 0.5764 GB, free: 2.559 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.402e-05/0.1745, allocations: 4 kB / 0.5764 GB, free: 2.555 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.1746, allocations: 0 / 0.5764 GB, free: 2.555 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.99e-05/0.1746, allocations: 4 kB / 0.5764 GB, free: 2.551 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001554/0.1748, allocations: 23.92 kB / 0.5764 GB, free: 2.527 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.717e-06/0.1748, allocations: 0 / 0.5764 GB, free: 2.527 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001129/0.1749, allocations: 15.98 kB / 0.5765 GB, free: 2.512 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.324e-05/0.1749, allocations: 12.31 kB / 0.5765 GB, free: 2.5 MB / 446.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 0.0001039/0.175, allocations: 113.8 kB / 0.5766 GB, free: 2.379 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.994e-05/0.1751, allocations: 11.91 kB / 0.5766 GB, free: 2.367 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000439/0.1755, allocations: 166.5 kB / 0.5768 GB, free: 2.191 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.1755, allocations: 4 kB / 0.5768 GB, free: 2.188 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.81e-06/0.1755, allocations: 4 kB / 0.5768 GB, free: 2.184 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.1756, allocations: 0 / 0.5768 GB, free: 2.184 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002926/0.1759, allocations: 217.5 kB / 0.577 GB, free: 1.922 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.1759, allocations: 7.938 kB / 0.577 GB, free: 1.914 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001315/0.176, allocations: 23.97 kB / 0.577 GB, free: 1.891 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.176, allocations: 0 / 0.577 GB, free: 1.891 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/0.176, allocations: 4 kB / 0.577 GB, free: 1.887 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.362e-06/0.176, allocations: 7.938 kB / 0.577 GB, free: 1.879 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.176, allocations: 0 / 0.577 GB, free: 1.879 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004052/0.1765, allocations: 310.6 kB / 0.5773 GB, free: 1.559 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.857e-05/0.1765, allocations: 93.02 kB / 0.5774 GB, free: 1.449 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.712e-05/0.1766, allocations: 7.984 kB / 0.5774 GB, free: 1.441 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001598/0.1767, allocations: 4 kB / 0.5774 GB, free: 1.438 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.513e-05/0.1768, allocations: 11.98 kB / 0.5774 GB, free: 1.426 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.586e-06/0.1768, allocations: 7.938 kB / 0.5774 GB, free: 1.418 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001025/0.1769, allocations: 124.2 kB / 0.5775 GB, free: 1.297 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1769, allocations: 0 / 0.5775 GB, free: 1.297 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002885/0.1772, allocations: 28 kB / 0.5776 GB, free: 1.27 MB / 446.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 0.0001092/0.1773, allocations: 99.23 kB / 0.5777 GB, free: 1.16 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000378/0.1777, allocations: 108.2 kB / 0.5778 GB, free: 1.055 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1777, allocations: 7.938 kB / 0.5778 GB, free: 1.047 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001577/0.1779, allocations: 55.91 kB / 0.5778 GB, free: 0.9922 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004191/0.1783, allocations: 40.39 kB / 0.5779 GB, free: 0.9531 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005298/0.1789, allocations: 235.3 kB / 0.5781 GB, free: 0.6875 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003121/0.1792, allocations: 0.7007 MB / 0.5788 GB, free: 15.96 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 8.172e-05/0.1793, allocations: 20.95 kB / 0.5788 GB, free: 15.94 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.952e-05/0.1793, allocations: 11.44 kB / 0.5788 GB, free: 15.93 MB / 462.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1793, allocations: 0 / 0.5788 GB, free: 15.93 MB / 462.1 MB Notification: Performance of Templates: time 0.004963/0.1843, allocations: 2.108 MB / 0.5809 GB, free: 13.87 MB / 462.1 MB make -j1 -f Buildings_1.6_Buildings.Controls.SetPoints.Examples.HotWaterTemperatureReset.makefile (rm -f Buildings_1.6_Buildings.Controls.SetPoints.Examples.HotWaterTemperatureReset.pipe ; mkfifo Buildings_1.6_Buildings.Controls.SetPoints.Examples.HotWaterTemperatureReset.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.SetPoints.Examples.HotWaterTemperatureReset.pipe >> ../files/Buildings_1.6_Buildings.Controls.SetPoints.Examples.HotWaterTemperatureReset.sim & ./Buildings_1.6_Buildings.Controls.SetPoints.Examples.HotWaterTemperatureReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.SetPoints.Examples.HotWaterTemperatureReset.pipe 2>&1)