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.001259/0.001259, allocations: 99.86 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.001557/0.001557, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.368/1.368, allocations: 205.4 MB / 222.1 MB, free: 5.672 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.5395/0.5395, allocations: 95.58 MB / 366 MB, free: 10.42 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.0006031/0.0006033, allocations: 16 kB / 446.8 MB, free: 9.438 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.283/0.2836, allocations: 70.33 MB / 0.505 GB, free: 16.52 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.HotWaterTemperatureReset): time 0.001425/0.2851, allocations: 1.441 MB / 0.5064 GB, free: 15.07 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002541/0.2853, allocations: 131.6 kB / 0.5065 GB, free: 14.94 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.902e-05/0.2854, allocations: 0 / 0.5065 GB, free: 14.94 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.329e-05/0.2855, allocations: 7.922 kB / 0.5065 GB, free: 14.93 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001343/0.2856, allocations: 63.8 kB / 0.5066 GB, free: 14.87 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001047/0.2857, allocations: 23.97 kB / 0.5066 GB, free: 14.85 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001772/0.2859, allocations: 123.7 kB / 0.5067 GB, free: 14.73 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.588e-05/0.286, allocations: 17.11 kB / 0.5067 GB, free: 14.71 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.669e-05/0.2861, allocations: 43.8 kB / 0.5068 GB, free: 14.66 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.93e-05/0.2862, allocations: 71.69 kB / 0.5069 GB, free: 14.59 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.968e-05/0.2862, allocations: 4 kB / 0.5069 GB, free: 14.59 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.996e-05/0.2862, allocations: 4 kB / 0.5069 GB, free: 14.59 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.941e-05/0.2863, allocations: 23.91 kB / 0.5069 GB, free: 14.56 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.701e-05/0.2863, allocations: 45.64 kB / 0.5069 GB, free: 14.51 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 9.05e-05/0.2864, allocations: 81.75 kB / 0.507 GB, free: 14.43 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.2864, allocations: 0 / 0.507 GB, free: 14.43 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2864, allocations: 0 / 0.507 GB, free: 14.43 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.2864, allocations: 0 / 0.507 GB, free: 14.43 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.000617/0.287, allocations: 446.8 kB / 0.5074 GB, free: 13.95 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.207e-05/0.2871, allocations: 11.98 kB / 0.5074 GB, free: 13.94 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.413e-05/0.2871, allocations: 15.81 kB / 0.5075 GB, free: 13.92 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001674/0.2873, allocations: 202.8 kB / 0.5077 GB, free: 13.68 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.2873, allocations: 8 kB / 0.5077 GB, free: 13.68 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.722e-05/0.2873, allocations: 8 kB / 0.5077 GB, free: 13.67 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002432/0.2876, allocations: 123.3 kB / 0.5078 GB, free: 13.54 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.2876, allocations: 0 / 0.5078 GB, free: 13.54 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.2876, allocations: 0 / 0.5078 GB, free: 13.54 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.2876, allocations: 4 kB / 0.5078 GB, free: 13.53 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002686/0.2879, allocations: 111.9 kB / 0.5079 GB, free: 13.42 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006151/0.2885, allocations: 476.7 kB / 0.5083 GB, free: 12.9 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000329/0.2889, allocations: 137.3 kB / 0.5085 GB, free: 12.75 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.012e-05/0.2889, allocations: 0 / 0.5085 GB, free: 12.75 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.485e-05/0.2889, allocations: 38.5 kB / 0.5085 GB, free: 12.7 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.032e-06/0.2889, allocations: 0 / 0.5085 GB, free: 12.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005389/0.2895, allocations: 205.4 kB / 0.5087 GB, free: 12.5 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.612e-05/0.2895, allocations: 81.11 kB / 0.5088 GB, free: 12.4 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001151/0.2897, allocations: 166.9 kB / 0.5089 GB, free: 12.23 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.288e-05/0.2897, allocations: 25.7 kB / 0.509 GB, free: 12.2 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.796e-05/0.2897, allocations: 112.2 kB / 0.5091 GB, free: 12.08 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.051e-05/0.2897, allocations: 31.55 kB / 0.5091 GB, free: 12.05 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.693e-06/0.2898, allocations: 0 / 0.5091 GB, free: 12.05 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.888e-05/0.2898, allocations: 330.8 kB / 0.5094 GB, free: 11.71 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001331/0.29, allocations: 51.97 kB / 0.5095 GB, free: 11.66 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001286/0.2901, allocations: 61.69 kB / 0.5095 GB, free: 11.6 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001416/0.2902, allocations: 60.34 kB / 0.5096 GB, free: 11.54 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.2903, allocations: 0 / 0.5096 GB, free: 11.54 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003493/0.2906, allocations: 165.4 kB / 0.5098 GB, free: 11.37 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.2906, allocations: 6.188 kB / 0.5098 GB, free: 11.37 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.2906, allocations: 0 / 0.5098 GB, free: 11.37 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.2907, allocations: 4.188 kB / 0.5098 GB, free: 11.36 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001488/0.2908, allocations: 31.92 kB / 0.5098 GB, free: 11.33 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.084e-06/0.2908, allocations: 3.984 kB / 0.5098 GB, free: 11.33 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001202/0.291, allocations: 23.84 kB / 0.5098 GB, free: 11.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.096e-05/0.291, allocations: 0 / 0.5098 GB, free: 11.3 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.667e-05/0.2911, allocations: 125.8 kB / 0.5099 GB, free: 11.17 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.095e-05/0.2911, allocations: 19.8 kB / 0.51 GB, free: 11.15 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003856/0.2915, allocations: 170.5 kB / 0.5101 GB, free: 10.98 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.2915, allocations: 0 / 0.5101 GB, free: 10.98 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.2915, allocations: 0 / 0.5101 GB, free: 10.98 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.2915, allocations: 4 kB / 0.5101 GB, free: 10.98 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002339/0.2918, allocations: 225.6 kB / 0.5103 GB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.2918, allocations: 0 / 0.5103 GB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001294/0.2919, allocations: 27.98 kB / 0.5104 GB, free: 10.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.2919, allocations: 4 kB / 0.5104 GB, free: 10.68 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.799e-06/0.292, allocations: 0 / 0.5104 GB, free: 10.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.292, allocations: 0 / 0.5104 GB, free: 10.68 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.292, allocations: 3.938 kB / 0.5104 GB, free: 10.67 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003207/0.2923, allocations: 340.2 kB / 0.5107 GB, free: 10.32 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.893e-05/0.2923, allocations: 85.02 kB / 0.5108 GB, free: 10.21 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.568e-05/0.2924, allocations: 4 kB / 0.5108 GB, free: 10.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001646/0.2925, allocations: 28.05 kB / 0.5108 GB, free: 10.18 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.188e-05/0.2926, allocations: 7.984 kB / 0.5108 GB, free: 10.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.314e-06/0.2926, allocations: 4 kB / 0.5108 GB, free: 10.17 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.252e-05/0.2927, allocations: 129 kB / 0.5109 GB, free: 10.05 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2927, allocations: 4 kB / 0.5109 GB, free: 10.04 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002678/0.2929, allocations: 28 kB / 0.511 GB, free: 10.02 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 6.773e-05/0.293, allocations: 95.25 kB / 0.5111 GB, free: 9.914 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003026/0.2933, allocations: 115.9 kB / 0.5112 GB, free: 9.801 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.2933, allocations: 4 kB / 0.5112 GB, free: 9.797 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001351/0.2935, allocations: 67.89 kB / 0.5112 GB, free: 9.73 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003226/0.2938, allocations: 43.91 kB / 0.5113 GB, free: 9.688 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004129/0.2942, allocations: 256.1 kB / 0.5115 GB, free: 9.406 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001365/0.2944, allocations: 0.7087 MB / 0.5122 GB, free: 8.672 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.246e-05/0.2945, allocations: 12.66 kB / 0.5122 GB, free: 8.66 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.887e-05/0.2945, allocations: 15.42 kB / 0.5122 GB, free: 8.645 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2945, allocations: 0 / 0.5122 GB, free: 8.645 MB / 382.1 MB Notification: Performance of Templates: time 0.003623/0.2981, allocations: 1.834 MB / 0.514 GB, free: 6.855 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: