Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") translateModel(BuildSysPro.IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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.0009605/0.0009605, allocations: 100.3 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.0008837/0.0008838, 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.404/1.404, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.036/1.036, allocations: 143.3 MB / 434.3 MB, free: 13.71 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003471/0.0003473, allocations: 8 kB / 0.5158 GB, free: 11.31 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1677/0.168, allocations: 83.41 MB / 0.5973 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.00179/0.1699, allocations: 1.444 MB / 0.5987 GB, free: 6.383 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000246/0.1701, allocations: 127.6 kB / 0.5988 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.105e-05/0.1702, allocations: 7.938 kB / 0.5988 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.432e-05/0.1703, allocations: 11.92 kB / 0.5988 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001384/0.1704, allocations: 59.8 kB / 0.5989 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001041/0.1705, allocations: 27.91 kB / 0.5989 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001791/0.1707, allocations: 115.8 kB / 0.599 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.1708, allocations: 25.11 kB / 0.599 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.475e-05/0.1709, allocations: 43.84 kB / 0.5991 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000103/0.171, allocations: 63.75 kB / 0.5991 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.023e-05/0.171, allocations: 4 kB / 0.5991 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.322e-05/0.171, allocations: 8 kB / 0.5992 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.213e-05/0.1711, allocations: 11.92 kB / 0.5992 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.869e-05/0.1711, allocations: 45.64 kB / 0.5992 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.753e-05/0.1712, allocations: 92.05 kB / 0.5993 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1712, allocations: 0 / 0.5993 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.352e-06/0.1712, allocations: 3.938 kB / 0.5993 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.319e-06/0.1712, allocations: 4 kB / 0.5993 GB, free: 5.738 MB / 0.4981 GB 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.0007181/0.172, allocations: 446.7 kB / 0.5997 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.166e-05/0.172, allocations: 12.03 kB / 0.5997 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.409e-05/0.1721, allocations: 11.91 kB / 0.5998 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002183/0.1723, allocations: 206.7 kB / 0.6 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.094e-05/0.1723, allocations: 0 / 0.6 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.051e-05/0.1723, allocations: 12 kB / 0.6 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002715/0.1726, allocations: 123.3 kB / 0.6001 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.1726, allocations: 0 / 0.6001 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.701e-05/0.1726, allocations: 8 kB / 0.6001 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.1727, allocations: 3.984 kB / 0.6001 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003148/0.173, allocations: 103.9 kB / 0.6002 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006846/0.1737, allocations: 476.6 kB / 0.6006 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003643/0.174, allocations: 137.3 kB / 0.6008 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.355e-05/0.1741, allocations: 8 kB / 0.6008 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.959e-05/0.1741, allocations: 30.66 kB / 0.6008 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.252e-06/0.1741, allocations: 4 kB / 0.6008 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0005996/0.1747, allocations: 217.3 kB / 0.601 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.254e-05/0.1748, allocations: 77.11 kB / 0.6011 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000152/0.1749, allocations: 168.3 kB / 0.6013 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.571e-05/0.1749, allocations: 25.7 kB / 0.6013 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.372e-05/0.175, allocations: 108.2 kB / 0.6014 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.024e-05/0.175, allocations: 31.55 kB / 0.6014 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.637e-06/0.1751, allocations: 4 kB / 0.6014 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.024e-05/0.1752, allocations: 326.8 kB / 0.6017 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001456/0.1753, allocations: 47.97 kB / 0.6018 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001588/0.1755, allocations: 73.56 kB / 0.6018 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001535/0.1756, allocations: 51.97 kB / 0.6019 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1756, allocations: 0 / 0.6019 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000349/0.176, allocations: 161.5 kB / 0.6021 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.176, allocations: 7.938 kB / 0.6021 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.176, allocations: 0 / 0.6021 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.069e-05/0.1761, allocations: 0 / 0.6021 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001617/0.1762, allocations: 35.92 kB / 0.6021 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.1762, allocations: 0 / 0.6021 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001193/0.1764, allocations: 15.91 kB / 0.6021 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.048e-05/0.1764, allocations: 4 kB / 0.6021 GB, free: 2.613 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.181e-05/0.1765, allocations: 121.8 kB / 0.6022 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.975e-05/0.1765, allocations: 11.91 kB / 0.6022 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004189/0.1769, allocations: 170.5 kB / 0.6024 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.177, allocations: 0 / 0.6024 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.992e-06/0.177, allocations: 3.953 kB / 0.6024 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.177, allocations: 3.984 kB / 0.6024 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002722/0.1773, allocations: 225.6 kB / 0.6026 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.1773, allocations: 4 kB / 0.6026 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001457/0.1774, allocations: 27.92 kB / 0.6027 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.1774, allocations: 448 / 0.6027 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.1774, allocations: 4 kB / 0.6027 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1774, allocations: 0 / 0.6027 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.1775, allocations: 4 kB / 0.6027 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004097/0.1779, allocations: 340.3 kB / 0.603 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.779e-05/0.1779, allocations: 96.86 kB / 0.6031 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.495e-05/0.178, allocations: 4 kB / 0.6031 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001752/0.1781, allocations: 11.98 kB / 0.6031 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.414e-05/0.1782, allocations: 11.94 kB / 0.6031 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.105e-05/0.1782, allocations: 11.94 kB / 0.6031 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.154e-05/0.1783, allocations: 121.8 kB / 0.6032 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.1783, allocations: 0 / 0.6032 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002807/0.1786, allocations: 28 kB / 0.6033 GB, free: 1.332 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 0.0001081/0.1787, allocations: 107.4 kB / 0.6034 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003484/0.1791, allocations: 111.9 kB / 0.6035 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1791, allocations: 8 kB / 0.6035 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001635/0.1792, allocations: 63.89 kB / 0.6035 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003627/0.1796, allocations: 40.06 kB / 0.6036 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004328/0.1801, allocations: 252.1 kB / 0.6038 GB, free: 0.7188 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2963/0.4764, allocations: 0.7048 MB / 0.6045 GB, free: 40.4 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001609/0.4766, allocations: 10.58 kB / 0.6045 GB, free: 40.4 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.235e-05/0.4767, allocations: 12.38 kB / 0.6045 GB, free: 40.39 MB / 0.4981 GB Notification: Performance of SimCode: time 8.01e-07/0.4767, allocations: 5.812 kB / 0.6045 GB, free: 40.39 MB / 0.4981 GB Notification: Performance of Templates: time 0.004161/0.4809, allocations: 1.826 MB / 0.6063 GB, free: 40.37 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.makefile Environment - environmentSimulation: (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & ./BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) Environment - environmentSimulation: