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/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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/Buildings 1.6.0+build.1/package.mo): time 0.5504/0.5504, allocations: 95.61 MB / 110.6 MB, free: 9.383 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001433/0.001433, allocations: 173.9 kB / 134.2 MB, free: 2.277 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.399/1.399, allocations: 170.7 MB / 328.4 MB, free: 12.26 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001625/0.001625, allocations: 105.9 kB / 390.7 MB, free: 13.94 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004073/0.0004073, allocations: 8 kB / 462.7 MB, free: 35.69 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.13, allocations: 61.53 MB / 0.512 GB, free: 6.098 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3727/0.5028, allocations: 94.48 MB / 0.6042 GB, free: 12.78 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002517/0.5031, allocations: 74.83 kB / 0.6043 GB, free: 12.73 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005394/0.5085, allocations: 1.851 MB / 0.6061 GB, free: 11.11 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.285e-06/0.5086, allocations: 0 / 0.6061 GB, free: 11.11 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.134e-05/0.5086, allocations: 0 / 0.6061 GB, free: 11.11 MB / 410.7 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.0006901/0.5093, allocations: 438.2 kB / 0.6065 GB, free: 10.64 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.5093, allocations: 11.98 kB / 0.6065 GB, free: 10.63 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.321e-05/0.5094, allocations: 15.81 kB / 0.6065 GB, free: 10.61 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002468/0.5097, allocations: 206.3 kB / 0.6067 GB, free: 10.38 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.5097, allocations: 4 kB / 0.6067 GB, free: 10.38 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.29e-05/0.5097, allocations: 15.56 kB / 0.6068 GB, free: 10.36 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002968/0.51, allocations: 124.9 kB / 0.6069 GB, free: 10.25 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.51, allocations: 0 / 0.6069 GB, free: 10.25 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.448e-05/0.5101, allocations: 3.188 kB / 0.6069 GB, free: 10.25 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.5101, allocations: 7.984 kB / 0.6069 GB, free: 10.24 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003184/0.5104, allocations: 110.5 kB / 0.607 GB, free: 10.16 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009543/0.5114, allocations: 478.8 kB / 0.6075 GB, free: 9.684 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004063/0.5118, allocations: 136 kB / 0.6076 GB, free: 9.559 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.024e-05/0.5118, allocations: 3.938 kB / 0.6076 GB, free: 9.555 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/0.5119, allocations: 34.56 kB / 0.6076 GB, free: 9.512 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.482e-06/0.5119, allocations: 0 / 0.6076 GB, free: 9.512 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006589/0.5125, allocations: 199.4 kB / 0.6078 GB, free: 9.348 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.766e-05/0.5126, allocations: 85.09 kB / 0.6079 GB, free: 9.246 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001625/0.5128, allocations: 157.6 kB / 0.608 GB, free: 9.102 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.273e-05/0.5128, allocations: 33.02 kB / 0.6081 GB, free: 9.066 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.969e-05/0.5129, allocations: 109.4 kB / 0.6082 GB, free: 8.965 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.884e-05/0.5129, allocations: 31.11 kB / 0.6082 GB, free: 8.938 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.514e-06/0.5129, allocations: 3.938 kB / 0.6082 GB, free: 8.938 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.5131, allocations: 325.8 kB / 0.6085 GB, free: 8.613 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001508/0.5132, allocations: 52.28 kB / 0.6086 GB, free: 8.574 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001351/0.5134, allocations: 60.81 kB / 0.6086 GB, free: 8.52 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001463/0.5135, allocations: 58.78 kB / 0.6087 GB, free: 8.477 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.5135, allocations: 0 / 0.6087 GB, free: 8.477 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003538/0.5139, allocations: 156 kB / 0.6088 GB, free: 8.344 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.5139, allocations: 8 kB / 0.6088 GB, free: 8.336 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.5139, allocations: 64 / 0.6088 GB, free: 8.336 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.514, allocations: 8 kB / 0.6088 GB, free: 8.328 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001657/0.5141, allocations: 23.98 kB / 0.6089 GB, free: 8.305 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.5142, allocations: 3.984 kB / 0.6089 GB, free: 8.301 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001301/0.5143, allocations: 15.94 kB / 0.6089 GB, free: 8.289 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.5143, allocations: 4 kB / 0.6089 GB, free: 8.285 MB / 410.7 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 0.0001075/0.5144, allocations: 125.5 kB / 0.609 GB, free: 8.156 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.495e-05/0.5145, allocations: 15.81 kB / 0.609 GB, free: 8.141 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004149/0.5149, allocations: 172 kB / 0.6092 GB, free: 8.004 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.5149, allocations: 0 / 0.6092 GB, free: 8.004 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.5149, allocations: 4 kB / 0.6092 GB, free: 8 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.5149, allocations: 0 / 0.6092 GB, free: 8 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002935/0.5152, allocations: 229.8 kB / 0.6094 GB, free: 7.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.5153, allocations: 4 kB / 0.6094 GB, free: 7.746 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001574/0.5154, allocations: 25.62 kB / 0.6094 GB, free: 7.723 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.586e-06/0.5154, allocations: 4.234 kB / 0.6094 GB, free: 7.719 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.5154, allocations: 0 / 0.6094 GB, free: 7.719 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.5155, allocations: 0 / 0.6094 GB, free: 7.719 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.5155, allocations: 4 kB / 0.6095 GB, free: 7.715 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004143/0.5159, allocations: 345.1 kB / 0.6098 GB, free: 7.383 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.646e-05/0.5159, allocations: 89 kB / 0.6099 GB, free: 7.277 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.518e-05/0.516, allocations: 7.5 kB / 0.6099 GB, free: 7.273 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001813/0.5162, allocations: 15.98 kB / 0.6099 GB, free: 7.258 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.064e-05/0.5162, allocations: 7.984 kB / 0.6099 GB, free: 7.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.714e-06/0.5162, allocations: 3.312 kB / 0.6099 GB, free: 7.25 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001046/0.5163, allocations: 129.1 kB / 0.61 GB, free: 7.137 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.11e-07/0.5164, allocations: 0 / 0.61 GB, free: 7.137 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002638/0.5166, allocations: 31.16 kB / 0.6101 GB, free: 7.109 MB / 410.7 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 0.0001021/0.5167, allocations: 99.19 kB / 0.6101 GB, free: 7.004 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003625/0.5171, allocations: 121.4 kB / 0.6103 GB, free: 6.906 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.5171, allocations: 0 / 0.6103 GB, free: 6.906 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00017/0.5173, allocations: 66.14 kB / 0.6103 GB, free: 6.855 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003805/0.5177, allocations: 40.58 kB / 0.6104 GB, free: 6.824 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000612/0.5183, allocations: 261.6 kB / 0.6106 GB, free: 6.551 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003551/0.5187, allocations: 0.7126 MB / 0.6113 GB, free: 5.812 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.976e-05/0.5188, allocations: 4.75 kB / 0.6113 GB, free: 5.809 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.227e-05/0.5188, allocations: 23.36 kB / 0.6113 GB, free: 5.785 MB / 410.7 MB Notification: Performance of SimCode: time 4.8e-07/0.5188, allocations: 4 kB / 0.6113 GB, free: 5.781 MB / 410.7 MB Notification: Performance of Templates: time 0.005013/0.5239, allocations: 1.831 MB / 0.6131 GB, free: 3.996 MB / 410.7 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)