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.001535/0.001535, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001112/0.001112, allocations: 191.1 kB / 16.25 MB, free: 6.629 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.362/1.362, allocations: 205.1 MB / 222.1 MB, free: 4.719 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.5768/0.5768, allocations: 95.47 MB / 364.9 MB, free: 10.09 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.001553/0.001553, allocations: 63.91 kB / 444.8 MB, free: 10.02 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3297/0.3312, allocations: 69.08 MB / 0.5019 GB, free: 17.57 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.HotWaterTemperatureReset): time 0.002507/0.3338, allocations: 1.865 MB / 0.5037 GB, free: 15.7 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000239/0.3341, allocations: 127.6 kB / 0.5038 GB, free: 15.57 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.575e-05/0.3342, allocations: 0 / 0.5038 GB, free: 15.57 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001133/0.3343, allocations: 7.922 kB / 0.5038 GB, free: 15.56 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.624e-05/0.3344, allocations: 47.61 kB / 0.5039 GB, free: 15.52 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001207/0.3345, allocations: 31.97 kB / 0.5039 GB, free: 15.48 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001622/0.3347, allocations: 171.1 kB / 0.5041 GB, free: 15.32 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.3348, allocations: 21.06 kB / 0.5041 GB, free: 15.29 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.247e-05/0.3348, allocations: 55.84 kB / 0.5041 GB, free: 15.24 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.712e-05/0.3349, allocations: 67.73 kB / 0.5042 GB, free: 15.17 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.35e-05/0.335, allocations: 19.94 kB / 0.5042 GB, free: 15.15 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.122e-05/0.335, allocations: 8 kB / 0.5042 GB, free: 15.14 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.322e-05/0.335, allocations: 23.92 kB / 0.5042 GB, free: 15.12 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.236e-05/0.3351, allocations: 63.72 kB / 0.5043 GB, free: 15.06 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001208/0.3352, allocations: 125.5 kB / 0.5044 GB, free: 14.94 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.3352, allocations: 3.938 kB / 0.5044 GB, free: 14.93 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3352, allocations: 0 / 0.5044 GB, free: 14.93 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.501e-06/0.3352, allocations: 0 / 0.5044 GB, free: 14.93 MB / 382.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.0006525/0.3359, allocations: 450.8 kB / 0.5049 GB, free: 14.44 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.3359, allocations: 11.98 kB / 0.5049 GB, free: 14.43 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.011e-05/0.336, allocations: 16.75 kB / 0.5049 GB, free: 14.41 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001598/0.3361, allocations: 204 kB / 0.5051 GB, free: 14.18 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.115e-06/0.3362, allocations: 8.375 kB / 0.5051 GB, free: 14.17 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.656e-05/0.3362, allocations: 4.375 kB / 0.5051 GB, free: 14.16 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002395/0.3364, allocations: 123.8 kB / 0.5052 GB, free: 14.03 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.3364, allocations: 4.188 kB / 0.5052 GB, free: 14.03 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.505e-05/0.3365, allocations: 3.938 kB / 0.5052 GB, free: 14.02 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.3365, allocations: 0 / 0.5052 GB, free: 14.02 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000252/0.3367, allocations: 95.92 kB / 0.5053 GB, free: 13.93 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005541/0.3373, allocations: 484.5 kB / 0.5058 GB, free: 13.4 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003232/0.3376, allocations: 133.2 kB / 0.5059 GB, free: 13.25 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001357/0.3378, allocations: 61.78 kB / 0.506 GB, free: 13.19 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.012e-05/0.3378, allocations: 7.922 kB / 0.506 GB, free: 13.18 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.347e-05/0.3378, allocations: 38.56 kB / 0.506 GB, free: 13.13 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.173e-06/0.3378, allocations: 0 / 0.506 GB, free: 13.13 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004821/0.3383, allocations: 177.5 kB / 0.5062 GB, free: 12.95 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.368e-05/0.3384, allocations: 85.09 kB / 0.5063 GB, free: 12.85 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001025/0.3385, allocations: 162.9 kB / 0.5064 GB, free: 12.68 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.161e-05/0.3385, allocations: 25.7 kB / 0.5064 GB, free: 12.65 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.829e-05/0.3385, allocations: 108 kB / 0.5065 GB, free: 12.54 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.947e-05/0.3386, allocations: 31.55 kB / 0.5066 GB, free: 12.51 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.215e-05/0.3386, allocations: 21.72 kB / 0.5066 GB, free: 12.48 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.499e-05/0.3387, allocations: 334.8 kB / 0.5069 GB, free: 12.15 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001243/0.3388, allocations: 43.91 kB / 0.5069 GB, free: 12.11 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001159/0.3389, allocations: 53.69 kB / 0.507 GB, free: 12.05 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002501/0.3392, allocations: 109.9 kB / 0.5071 GB, free: 11.93 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3392, allocations: 0 / 0.5071 GB, free: 11.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002841/0.3395, allocations: 145.4 kB / 0.5072 GB, free: 11.79 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.3395, allocations: 10.34 kB / 0.5073 GB, free: 11.78 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.3395, allocations: 0 / 0.5073 GB, free: 11.78 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.3395, allocations: 0 / 0.5073 GB, free: 11.78 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001439/0.3397, allocations: 19.98 kB / 0.5073 GB, free: 11.76 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.3397, allocations: 4 kB / 0.5073 GB, free: 11.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001134/0.3398, allocations: 19.92 kB / 0.5073 GB, free: 11.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.07e-05/0.3398, allocations: 7.938 kB / 0.5073 GB, free: 11.73 MB / 382.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 6.058e-05/0.3399, allocations: 121.7 kB / 0.5074 GB, free: 11.6 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.832e-05/0.3399, allocations: 19.8 kB / 0.5074 GB, free: 11.58 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003524/0.3403, allocations: 158.5 kB / 0.5076 GB, free: 11.42 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.3403, allocations: 0 / 0.5076 GB, free: 11.42 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.3403, allocations: 0 / 0.5076 GB, free: 11.42 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.3403, allocations: 0 / 0.5076 GB, free: 11.42 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000217/0.3405, allocations: 225.5 kB / 0.5078 GB, free: 11.15 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.3405, allocations: 0 / 0.5078 GB, free: 11.15 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000134/0.3407, allocations: 20.17 kB / 0.5078 GB, free: 11.13 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.3407, allocations: 0 / 0.5078 GB, free: 11.13 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.3407, allocations: 12.19 kB / 0.5078 GB, free: 11.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.3407, allocations: 0 / 0.5078 GB, free: 11.12 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.3407, allocations: 7.938 kB / 0.5078 GB, free: 11.11 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003059/0.341, allocations: 314.4 kB / 0.5081 GB, free: 10.79 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.936e-05/0.3411, allocations: 96.94 kB / 0.5082 GB, free: 10.67 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.491e-05/0.3411, allocations: 0 / 0.5082 GB, free: 10.67 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001684/0.3413, allocations: 11.98 kB / 0.5082 GB, free: 10.66 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.537e-05/0.3413, allocations: 8 kB / 0.5083 GB, free: 10.65 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.435e-06/0.3413, allocations: 7.938 kB / 0.5083 GB, free: 10.64 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.205e-05/0.3414, allocations: 129 kB / 0.5084 GB, free: 10.52 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3414, allocations: 3.938 kB / 0.5084 GB, free: 10.52 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002759/0.3417, allocations: 32 kB / 0.5084 GB, free: 10.48 MB / 382.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 6.853e-05/0.3418, allocations: 95.25 kB / 0.5085 GB, free: 10.38 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003021/0.3421, allocations: 107.9 kB / 0.5086 GB, free: 10.28 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.3421, allocations: 0 / 0.5086 GB, free: 10.28 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001332/0.3422, allocations: 59.89 kB / 0.5087 GB, free: 10.22 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004263/0.3427, allocations: 52.31 kB / 0.5087 GB, free: 10.17 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004199/0.3431, allocations: 275.8 kB / 0.509 GB, free: 9.871 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001105/0.3432, allocations: 0.7084 MB / 0.5097 GB, free: 9.137 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.919e-05/0.3433, allocations: 12.64 kB / 0.5097 GB, free: 9.125 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.525e-05/0.3433, allocations: 15.44 kB / 0.5097 GB, free: 9.109 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3433, allocations: 0 / 0.5097 GB, free: 9.109 MB / 382.1 MB Notification: Performance of Templates: time 0.003869/0.3472, allocations: 2.005 MB / 0.5117 GB, free: 7.152 MB / 382.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)