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.001021/0.001021, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001385/0.001385, allocations: 168.7 kB / 15.95 MB, free: 204 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.303/1.303, allocations: 223.3 MB / 240 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001734/0.001734, allocations: 278.7 kB / 291.4 MB, free: 1.938 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9172/0.9172, allocations: 169.5 MB / 0.5 GB, free: 14.22 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004163/0.0004163, allocations: 12.72 kB / 0.598 GB, free: 28.25 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1694/0.1699, allocations: 88.55 MB / 0.6845 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.001648/0.1716, allocations: 1.491 MB / 0.6859 GB, free: 13.98 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000227/0.1718, allocations: 115.3 kB / 0.686 GB, free: 13.87 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.263e-05/0.1719, allocations: 4 kB / 0.686 GB, free: 13.87 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.855e-05/0.172, allocations: 11.86 kB / 0.686 GB, free: 13.86 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.57e-05/0.1721, allocations: 44.39 kB / 0.6861 GB, free: 13.81 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.844e-05/0.1722, allocations: 24.47 kB / 0.6861 GB, free: 13.79 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001659/0.1723, allocations: 159.1 kB / 0.6863 GB, free: 13.63 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.451e-05/0.1724, allocations: 24.23 kB / 0.6863 GB, free: 13.61 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.509e-05/0.1725, allocations: 51.84 kB / 0.6863 GB, free: 13.56 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.517e-05/0.1726, allocations: 59.75 kB / 0.6864 GB, free: 13.5 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.124e-05/0.1726, allocations: 7.938 kB / 0.6864 GB, free: 13.5 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.186e-05/0.1727, allocations: 7.938 kB / 0.6864 GB, free: 13.49 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.274e-05/0.1727, allocations: 22.31 kB / 0.6864 GB, free: 13.47 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.957e-05/0.1727, allocations: 49.64 kB / 0.6865 GB, free: 13.41 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.25e-05/0.1728, allocations: 71.8 kB / 0.6865 GB, free: 13.34 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.1728, allocations: 8 kB / 0.6866 GB, free: 13.34 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1729, allocations: 0 / 0.6866 GB, free: 13.34 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.115e-06/0.1729, allocations: 0 / 0.6866 GB, free: 13.34 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.0006419/0.1735, allocations: 438.4 kB / 0.687 GB, free: 12.86 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.234e-05/0.1736, allocations: 12.69 kB / 0.687 GB, free: 12.85 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.804e-05/0.1736, allocations: 15.81 kB / 0.687 GB, free: 12.84 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001935/0.1738, allocations: 210 kB / 0.6872 GB, free: 12.59 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.1738, allocations: 4 kB / 0.6872 GB, free: 12.59 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.387e-05/0.1738, allocations: 4 kB / 0.6872 GB, free: 12.59 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002728/0.1741, allocations: 128.5 kB / 0.6873 GB, free: 12.45 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/0.1741, allocations: 0 / 0.6873 GB, free: 12.45 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.585e-05/0.1742, allocations: 8 kB / 0.6873 GB, free: 12.45 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.1742, allocations: 0 / 0.6873 GB, free: 12.45 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002826/0.1745, allocations: 106.8 kB / 0.6874 GB, free: 12.34 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006628/0.1751, allocations: 486.1 kB / 0.6879 GB, free: 11.82 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003397/0.1755, allocations: 133.2 kB / 0.688 GB, free: 11.67 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001632/0.1756, allocations: 73.72 kB / 0.6881 GB, free: 11.59 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.283e-05/0.1757, allocations: 0 / 0.6881 GB, free: 11.59 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.289e-05/0.1757, allocations: 46.52 kB / 0.6881 GB, free: 11.54 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 9.72e-07/0.1757, allocations: 0 / 0.6881 GB, free: 11.54 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005435/0.1763, allocations: 201.4 kB / 0.6883 GB, free: 11.33 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.736e-05/0.1763, allocations: 81.11 kB / 0.6884 GB, free: 11.23 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001383/0.1765, allocations: 168.1 kB / 0.6886 GB, free: 11.06 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.622e-05/0.1765, allocations: 25.7 kB / 0.6886 GB, free: 11.03 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.719e-05/0.1765, allocations: 112.2 kB / 0.6887 GB, free: 10.91 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.074e-05/0.1766, allocations: 31.55 kB / 0.6887 GB, free: 10.88 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.712e-06/0.1766, allocations: 0 / 0.6887 GB, free: 10.88 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001076/0.1767, allocations: 326.8 kB / 0.689 GB, free: 10.55 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001402/0.1769, allocations: 47.97 kB / 0.6891 GB, free: 10.51 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001422/0.177, allocations: 65.69 kB / 0.6892 GB, free: 10.44 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001514/0.1772, allocations: 55.91 kB / 0.6892 GB, free: 10.38 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.1772, allocations: 4.125 kB / 0.6892 GB, free: 10.38 MB / 494.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003381/0.1775, allocations: 157.5 kB / 0.6894 GB, free: 10.22 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.1775, allocations: 11.94 kB / 0.6894 GB, free: 10.21 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.1776, allocations: 3.953 kB / 0.6894 GB, free: 10.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.358e-06/0.1776, allocations: 0 / 0.6894 GB, free: 10.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001604/0.1777, allocations: 31.92 kB / 0.6894 GB, free: 10.17 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.1778, allocations: 4 kB / 0.6894 GB, free: 10.17 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000113/0.1779, allocations: 16.36 kB / 0.6894 GB, free: 10.15 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.072e-05/0.1779, allocations: 4 kB / 0.6894 GB, free: 10.15 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.302e-05/0.178, allocations: 121.8 kB / 0.6896 GB, free: 10.02 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.028e-05/0.178, allocations: 11.81 kB / 0.6896 GB, free: 10.01 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004071/0.1784, allocations: 174.5 kB / 0.6897 GB, free: 9.832 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.491e-06/0.1785, allocations: 7.953 kB / 0.6897 GB, free: 9.824 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.1785, allocations: 0 / 0.6897 GB, free: 9.824 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.1785, allocations: 0 / 0.6897 GB, free: 9.824 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002813/0.1788, allocations: 233.6 kB / 0.69 GB, free: 9.547 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.1788, allocations: 0 / 0.69 GB, free: 9.547 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001439/0.1789, allocations: 23.98 kB / 0.69 GB, free: 9.523 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.838e-06/0.1789, allocations: 0 / 0.69 GB, free: 9.523 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-06/0.179, allocations: 3.938 kB / 0.69 GB, free: 9.52 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.526e-06/0.179, allocations: 4 kB / 0.69 GB, free: 9.516 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.179, allocations: 3.953 kB / 0.69 GB, free: 9.512 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003881/0.1794, allocations: 326.5 kB / 0.6903 GB, free: 9.176 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.371e-05/0.1794, allocations: 85 kB / 0.6904 GB, free: 9.074 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.231e-05/0.1794, allocations: 8 kB / 0.6904 GB, free: 9.066 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001721/0.1796, allocations: 15.98 kB / 0.6904 GB, free: 9.051 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.051e-05/0.1797, allocations: 7.953 kB / 0.6904 GB, free: 9.043 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.578e-06/0.1797, allocations: 7.984 kB / 0.6904 GB, free: 9.035 MB / 494.1 MB Notification: Performance of sorting global known variables: time 8.961e-05/0.1798, allocations: 129.2 kB / 0.6905 GB, free: 8.91 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1798, allocations: 0 / 0.6905 GB, free: 8.91 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002875/0.1801, allocations: 27.91 kB / 0.6906 GB, free: 8.883 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 (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.582e-05/0.1802, allocations: 103.2 kB / 0.6907 GB, free: 8.77 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003313/0.1805, allocations: 111.9 kB / 0.6908 GB, free: 8.66 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1805, allocations: 4 kB / 0.6908 GB, free: 8.656 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001548/0.1807, allocations: 63.91 kB / 0.6908 GB, free: 8.594 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004435/0.1811, allocations: 48.69 kB / 0.6909 GB, free: 8.547 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00042/0.1816, allocations: 248.1 kB / 0.6911 GB, free: 8.277 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000226/0.1818, allocations: 0.7087 MB / 0.6918 GB, free: 7.543 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 8.748e-05/0.1819, allocations: 20.95 kB / 0.6918 GB, free: 7.523 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.493e-05/0.1819, allocations: 11.44 kB / 0.6918 GB, free: 7.512 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.182, allocations: 0 / 0.6918 GB, free: 7.512 MB / 494.1 MB Notification: Performance of Templates: time 0.004252/0.1862, allocations: 1.833 MB / 0.6936 GB, free: 5.73 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)