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.5957/0.5957, allocations: 94.7 MB / 107.3 MB, free: 5.18 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.001771/0.001772, allocations: 173 kB / 130.7 MB, free: 7.555 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.916/1.916, allocations: 170.5 MB / 324.5 MB, free: 4.008 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.001713/0.001713, allocations: 108.9 kB / 386.6 MB, free: 16.22 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.09e-05/4.093e-05, allocations: 3.938 kB / 456 MB, free: 11.78 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6294/0.6295, allocations: 61.51 MB / 0.5054 GB, free: 49.38 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1551/0.7846, allocations: 94.39 MB / 0.5975 GB, free: 1.191 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000338/0.785, allocations: 72.62 kB / 0.5976 GB, free: 1.121 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005679/0.7907, allocations: 1.857 MB / 0.5994 GB, free: 15.34 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.334e-06/0.7908, allocations: 0 / 0.5994 GB, free: 15.34 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.593e-05/0.7908, allocations: 4 kB / 0.5994 GB, free: 15.34 MB / 426.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.0006417/0.7915, allocations: 414.7 kB / 0.5998 GB, free: 14.89 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.36e-05/0.7915, allocations: 8.031 kB / 0.5998 GB, free: 14.88 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.888e-05/0.7916, allocations: 15.81 kB / 0.5999 GB, free: 14.87 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003041/0.7919, allocations: 202.8 kB / 0.6 GB, free: 14.63 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.108e-05/0.7919, allocations: 12.45 kB / 0.6001 GB, free: 14.62 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.487e-05/0.792, allocations: 8 kB / 0.6001 GB, free: 14.61 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002407/0.7922, allocations: 95.34 kB / 0.6002 GB, free: 14.5 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.7922, allocations: 3.688 kB / 0.6002 GB, free: 14.5 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.667e-05/0.7923, allocations: 10.06 kB / 0.6002 GB, free: 14.5 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.7923, allocations: 0 / 0.6002 GB, free: 14.5 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001531/0.7925, allocations: 63.92 kB / 0.6002 GB, free: 14.43 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008461/0.7933, allocations: 480.7 kB / 0.6007 GB, free: 13.91 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003188/0.7936, allocations: 114.2 kB / 0.6008 GB, free: 13.78 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.27e-05/0.7938, allocations: 45.66 kB / 0.6008 GB, free: 13.73 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.182e-05/0.7938, allocations: 4.125 kB / 0.6008 GB, free: 13.73 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.496e-05/0.7938, allocations: 38.56 kB / 0.6009 GB, free: 13.68 MB / 426.7 MB Notification: Performance of pre-optimization done (n=9): time 1.362e-06/0.7938, allocations: 0 / 0.6009 GB, free: 13.68 MB / 426.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003003/0.7941, allocations: 104.1 kB / 0.601 GB, free: 13.57 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.592e-05/0.7942, allocations: 81.11 kB / 0.6011 GB, free: 13.48 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001836/0.7944, allocations: 155.5 kB / 0.6012 GB, free: 13.32 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.021e-05/0.7944, allocations: 25.7 kB / 0.6012 GB, free: 13.29 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.597e-05/0.7945, allocations: 112.2 kB / 0.6013 GB, free: 13.17 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.001e-05/0.7946, allocations: 27.56 kB / 0.6014 GB, free: 13.14 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.031e-06/0.7946, allocations: 0 / 0.6014 GB, free: 13.14 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.7947, allocations: 326.8 kB / 0.6017 GB, free: 12.81 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.822e-05/0.7948, allocations: 24 kB / 0.6017 GB, free: 12.79 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.573e-05/0.7949, allocations: 51.02 kB / 0.6017 GB, free: 12.73 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.689e-05/0.795, allocations: 24 kB / 0.6018 GB, free: 12.71 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.795, allocations: 0 / 0.6018 GB, free: 12.71 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001955/0.7952, allocations: 115.8 kB / 0.6019 GB, free: 12.59 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.7952, allocations: 8 kB / 0.6019 GB, free: 12.59 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/0.7952, allocations: 3.984 kB / 0.6019 GB, free: 12.58 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/0.7953, allocations: 0 / 0.6019 GB, free: 12.58 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001585/0.7954, allocations: 26.72 kB / 0.6019 GB, free: 12.56 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.279e-05/0.7954, allocations: 11.94 kB / 0.6019 GB, free: 12.55 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001166/0.7956, allocations: 11.98 kB / 0.6019 GB, free: 12.54 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.237e-05/0.7956, allocations: 4 kB / 0.6019 GB, free: 12.53 MB / 426.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 () * 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 9.098e-05/0.7957, allocations: 114.4 kB / 0.6021 GB, free: 12.41 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.983e-05/0.7957, allocations: 15.81 kB / 0.6021 GB, free: 12.4 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002906/0.796, allocations: 126.5 kB / 0.6022 GB, free: 12.27 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.7961, allocations: 8 kB / 0.6022 GB, free: 12.26 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.7961, allocations: 3.984 kB / 0.6022 GB, free: 12.26 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.7961, allocations: 0 / 0.6022 GB, free: 12.26 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003101/0.7964, allocations: 221.6 kB / 0.6024 GB, free: 11.99 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.7964, allocations: 2.312 kB / 0.6024 GB, free: 11.99 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001434/0.7966, allocations: 23.98 kB / 0.6024 GB, free: 11.97 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.7966, allocations: 0 / 0.6024 GB, free: 11.97 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.48e-05/0.7966, allocations: 4 kB / 0.6024 GB, free: 11.96 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.7966, allocations: 4 kB / 0.6024 GB, free: 11.96 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.7966, allocations: 4 kB / 0.6024 GB, free: 11.96 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000315/0.7969, allocations: 293.4 kB / 0.6027 GB, free: 11.65 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.616e-05/0.797, allocations: 85.02 kB / 0.6028 GB, free: 11.55 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.041e-05/0.797, allocations: 4 kB / 0.6028 GB, free: 11.54 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001734/0.7972, allocations: 19.98 kB / 0.6028 GB, free: 11.52 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.196e-05/0.7973, allocations: 11.92 kB / 0.6028 GB, free: 11.51 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/0.7973, allocations: 0 / 0.6028 GB, free: 11.51 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001094/0.7974, allocations: 126.8 kB / 0.603 GB, free: 11.39 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.834e-06/0.7974, allocations: 0 / 0.603 GB, free: 11.39 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002556/0.7977, allocations: 35.84 kB / 0.603 GB, free: 11.36 MB / 426.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 () * 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.0001459/0.7978, allocations: 97.5 kB / 0.6031 GB, free: 11.25 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002117/0.7981, allocations: 68.78 kB / 0.6032 GB, free: 11.19 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.7981, allocations: 4 kB / 0.6032 GB, free: 11.18 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.076e-05/0.7982, allocations: 41.98 kB / 0.6032 GB, free: 11.14 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003676/0.7985, allocations: 46.39 kB / 0.6032 GB, free: 11.1 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003986/0.7989, allocations: 154.8 kB / 0.6034 GB, free: 10.93 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003069/0.7993, allocations: 0.7087 MB / 0.6041 GB, free: 10.2 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 8.425e-05/0.7994, allocations: 12.77 kB / 0.6041 GB, free: 10.19 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.397e-05/0.7994, allocations: 15.44 kB / 0.6041 GB, free: 10.18 MB / 426.7 MB Notification: Performance of SimCode: time 5.81e-07/0.7994, allocations: 0 / 0.6041 GB, free: 10.18 MB / 426.7 MB Notification: Performance of Templates: time 0.004894/0.8043, allocations: 1.841 MB / 0.6059 GB, free: 8.441 MB / 426.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)