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.0008752/0.0008753, allocations: 91.14 kB / 15.06 MB, free: 1.098 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.0008428/0.0008431, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.029/2.029, allocations: 205.4 MB / 222.1 MB, free: 5.523 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.7045/0.7045, allocations: 95.62 MB / 366 MB, free: 10.3 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.0005966/0.0005968, allocations: 12 kB / 446.8 MB, free: 9.309 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4189/0.4195, allocations: 70.34 MB / 0.5051 GB, free: 16.47 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.HotWaterTemperatureReset): time 0.001469/0.421, allocations: 1.488 MB / 0.5065 GB, free: 14.98 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001942/0.4212, allocations: 119.6 kB / 0.5066 GB, free: 14.86 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.758e-05/0.4213, allocations: 4 kB / 0.5066 GB, free: 14.86 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 6.069e-05/0.4214, allocations: 7.922 kB / 0.5066 GB, free: 14.85 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.907e-05/0.4214, allocations: 47.61 kB / 0.5067 GB, free: 14.8 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.107e-05/0.4215, allocations: 23.97 kB / 0.5067 GB, free: 14.78 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001192/0.4216, allocations: 163.1 kB / 0.5069 GB, free: 14.62 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.796e-05/0.4217, allocations: 17.12 kB / 0.5069 GB, free: 14.6 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.717e-05/0.4218, allocations: 47.84 kB / 0.5069 GB, free: 14.55 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.618e-05/0.4219, allocations: 55.77 kB / 0.507 GB, free: 14.5 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.23e-05/0.4219, allocations: 4 kB / 0.507 GB, free: 14.49 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.796e-05/0.4219, allocations: 4 kB / 0.507 GB, free: 14.49 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.065e-05/0.4219, allocations: 23.91 kB / 0.507 GB, free: 14.46 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.923e-05/0.422, allocations: 45.64 kB / 0.5071 GB, free: 14.41 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 7.965e-05/0.4221, allocations: 81.7 kB / 0.5071 GB, free: 14.34 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.4221, allocations: 4 kB / 0.5071 GB, free: 14.33 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.4221, allocations: 4 kB / 0.5071 GB, free: 14.33 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.266e-06/0.4221, allocations: 0 / 0.5071 GB, free: 14.33 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.0005026/0.4226, allocations: 442.8 kB / 0.5076 GB, free: 13.85 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.881e-05/0.4226, allocations: 15.98 kB / 0.5076 GB, free: 13.83 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.167e-05/0.4227, allocations: 11.81 kB / 0.5076 GB, free: 13.82 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001394/0.4228, allocations: 206.8 kB / 0.5078 GB, free: 13.58 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.333e-06/0.4228, allocations: 4 kB / 0.5078 GB, free: 13.57 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.328e-05/0.4228, allocations: 8 kB / 0.5078 GB, free: 13.57 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000215/0.4231, allocations: 127.2 kB / 0.5079 GB, free: 13.43 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.929e-06/0.4231, allocations: 0 / 0.5079 GB, free: 13.43 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.4231, allocations: 7.984 kB / 0.5079 GB, free: 13.42 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.376e-06/0.4231, allocations: 0 / 0.5079 GB, free: 13.42 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002365/0.4233, allocations: 107.9 kB / 0.508 GB, free: 13.32 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005139/0.4239, allocations: 480.6 kB / 0.5085 GB, free: 12.79 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002849/0.4242, allocations: 133.2 kB / 0.5086 GB, free: 12.64 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001288/0.4243, allocations: 73.78 kB / 0.5087 GB, free: 12.57 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.093e-05/0.4243, allocations: 0 / 0.5087 GB, free: 12.57 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.256e-05/0.4243, allocations: 34.56 kB / 0.5087 GB, free: 12.52 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.282e-06/0.4244, allocations: 3.984 kB / 0.5087 GB, free: 12.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004409/0.4248, allocations: 205.3 kB / 0.5089 GB, free: 12.31 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.691e-05/0.4248, allocations: 85.11 kB / 0.509 GB, free: 12.21 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.289e-05/0.4249, allocations: 166.8 kB / 0.5092 GB, free: 12.04 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.819e-06/0.425, allocations: 29.7 kB / 0.5092 GB, free: 12 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.276e-05/0.425, allocations: 104.2 kB / 0.5093 GB, free: 11.89 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.838e-05/0.425, allocations: 35.48 kB / 0.5093 GB, free: 11.86 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.122e-06/0.425, allocations: 4 kB / 0.5093 GB, free: 11.86 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.349e-05/0.4251, allocations: 326.8 kB / 0.5096 GB, free: 11.53 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000116/0.4252, allocations: 51.91 kB / 0.5097 GB, free: 11.48 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000112/0.4253, allocations: 61.69 kB / 0.5097 GB, free: 11.41 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001186/0.4255, allocations: 60.22 kB / 0.5098 GB, free: 11.35 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.4255, allocations: 0 / 0.5098 GB, free: 11.35 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002733/0.4258, allocations: 161.5 kB / 0.51 GB, free: 11.19 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.047e-05/0.4258, allocations: 4 kB / 0.51 GB, free: 11.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.4258, allocations: 4 kB / 0.51 GB, free: 11.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.808e-06/0.4258, allocations: 0 / 0.51 GB, free: 11.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001306/0.4259, allocations: 23.98 kB / 0.51 GB, free: 11.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.4259, allocations: 0 / 0.51 GB, free: 11.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.864e-05/0.426, allocations: 23.83 kB / 0.51 GB, free: 11.13 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-06/0.4261, allocations: 8 kB / 0.51 GB, free: 11.12 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.167e-05/0.4261, allocations: 125.7 kB / 0.5101 GB, free: 10.99 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.422e-05/0.4262, allocations: 11.81 kB / 0.5101 GB, free: 10.98 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003353/0.4265, allocations: 174.5 kB / 0.5103 GB, free: 10.8 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.4265, allocations: 4 kB / 0.5103 GB, free: 10.8 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.4266, allocations: 0 / 0.5103 GB, free: 10.8 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.4266, allocations: 0 / 0.5103 GB, free: 10.8 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002096/0.4268, allocations: 225.6 kB / 0.5105 GB, free: 10.53 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.4268, allocations: 0 / 0.5105 GB, free: 10.53 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001219/0.4269, allocations: 35.91 kB / 0.5106 GB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.4269, allocations: 0 / 0.5106 GB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.4269, allocations: 0 / 0.5106 GB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.4269, allocations: 0 / 0.5106 GB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.4269, allocations: 4 kB / 0.5106 GB, free: 10.49 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002967/0.4272, allocations: 330.7 kB / 0.5109 GB, free: 10.15 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.926e-05/0.4273, allocations: 93.09 kB / 0.511 GB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.085e-05/0.4273, allocations: 7.938 kB / 0.511 GB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002127/0.4275, allocations: 15.92 kB / 0.511 GB, free: 10.02 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.978e-05/0.4276, allocations: 8.188 kB / 0.511 GB, free: 10.01 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.189e-05/0.4276, allocations: 8 kB / 0.511 GB, free: 10 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.996e-05/0.4277, allocations: 133 kB / 0.5111 GB, free: 9.875 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.715e-06/0.4277, allocations: 0 / 0.5111 GB, free: 9.875 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002864/0.428, allocations: 31.94 kB / 0.5112 GB, free: 9.844 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 (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 7.274e-05/0.4281, allocations: 95.25 kB / 0.5113 GB, free: 9.742 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002855/0.4284, allocations: 119.9 kB / 0.5114 GB, free: 9.625 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.4284, allocations: 0 / 0.5114 GB, free: 9.625 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001253/0.4286, allocations: 63.91 kB / 0.5114 GB, free: 9.562 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004168/0.429, allocations: 42.27 kB / 0.5115 GB, free: 9.523 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003902/0.4294, allocations: 264 kB / 0.5117 GB, free: 9.234 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001396/0.4295, allocations: 0.7087 MB / 0.5124 GB, free: 8.5 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.512e-05/0.4296, allocations: 12.95 kB / 0.5124 GB, free: 8.488 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.084e-05/0.4297, allocations: 19.38 kB / 0.5125 GB, free: 8.469 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4297, allocations: 4 kB / 0.5125 GB, free: 8.465 MB / 382.1 MB Notification: Performance of Templates: time 0.00386/0.4335, allocations: 1.824 MB / 0.5142 GB, free: 6.684 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Controls.SetPoints.Examples.HotWaterTemperatureReset.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: