Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.SetPoints.Examples.HotWaterTemperatureReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) 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 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Controls.SetPoints.Examples.HotWaterTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.SetPoints.Examples.HotWaterTemperatureReset") translateModel(Buildings.Controls.SetPoints.Examples.HotWaterTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.SetPoints.Examples.HotWaterTemperatureReset") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.2487/0.2496, allocations: 82.22 MB / 0.5941 GB, free: 5.609 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.HotWaterTemperatureReset): time 0.003292/0.253, allocations: 1.54 MB / 0.5956 GB, free: 4.051 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004011/0.2534, allocations: 119.9 kB / 0.5957 GB, free: 3.934 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001261/0.2536, allocations: 0 / 0.5957 GB, free: 3.934 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000166/0.2537, allocations: 15.86 kB / 0.5957 GB, free: 3.918 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001292/0.2539, allocations: 43.62 kB / 0.5958 GB, free: 3.875 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000199/0.2541, allocations: 31.95 kB / 0.5958 GB, free: 3.844 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000299/0.2544, allocations: 167.1 kB / 0.596 GB, free: 3.68 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001821/0.2546, allocations: 29.03 kB / 0.596 GB, free: 3.652 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001099/0.2547, allocations: 43.86 kB / 0.596 GB, free: 3.609 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001519/0.2549, allocations: 71.69 kB / 0.5961 GB, free: 3.539 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.246e-05/0.2549, allocations: 4 kB / 0.5961 GB, free: 3.535 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.293e-05/0.2549, allocations: 4 kB / 0.5961 GB, free: 3.531 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.33e-05/0.255, allocations: 15.92 kB / 0.5961 GB, free: 3.516 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001317/0.2551, allocations: 85.36 kB / 0.5962 GB, free: 3.426 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002074/0.2554, allocations: 111.6 kB / 0.5963 GB, free: 3.316 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.021e-05/0.2554, allocations: 0 / 0.5963 GB, free: 3.316 MB / 446.1 MB Notification: Performance of FrontEnd: time 5.891e-06/0.2554, allocations: 3.984 kB / 0.5963 GB, free: 3.312 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.115e-06/0.2554, allocations: 0 / 0.5963 GB, free: 3.312 MB / 446.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.001075/0.2565, allocations: 442.9 kB / 0.5967 GB, free: 2.828 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.562e-05/0.2566, allocations: 16.02 kB / 0.5968 GB, free: 2.812 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.319e-05/0.2566, allocations: 16.69 kB / 0.5968 GB, free: 2.797 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003593/0.257, allocations: 209 kB / 0.597 GB, free: 2.555 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.006e-05/0.257, allocations: 4.375 kB / 0.597 GB, free: 2.551 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.346e-05/0.2571, allocations: 4.375 kB / 0.597 GB, free: 2.547 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003954/0.2575, allocations: 131.8 kB / 0.5971 GB, free: 2.406 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.72e-05/0.2575, allocations: 4.125 kB / 0.5971 GB, free: 2.402 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.379e-05/0.2575, allocations: 15.88 kB / 0.5971 GB, free: 2.387 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.797e-06/0.2576, allocations: 0 / 0.5971 GB, free: 2.387 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003405/0.2579, allocations: 103.9 kB / 0.5972 GB, free: 2.285 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009857/0.2589, allocations: 476.7 kB / 0.5977 GB, free: 1.766 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004827/0.2594, allocations: 141.2 kB / 0.5978 GB, free: 1.609 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001895/0.2596, allocations: 65.77 kB / 0.5979 GB, free: 1.539 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.067e-05/0.2597, allocations: 12 kB / 0.5979 GB, free: 1.527 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.185e-05/0.2597, allocations: 30.56 kB / 0.5979 GB, free: 1.488 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.353e-06/0.2597, allocations: 0 / 0.5979 GB, free: 1.488 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007244/0.2604, allocations: 209.3 kB / 0.5981 GB, free: 1.277 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.574e-05/0.2605, allocations: 77.11 kB / 0.5982 GB, free: 1.184 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002044/0.2607, allocations: 162.4 kB / 0.5983 GB, free: 1.016 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.698e-05/0.2608, allocations: 29.7 kB / 0.5984 GB, free: 0.9805 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/0.2609, allocations: 116 kB / 0.5985 GB, free: 0.8633 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.256e-05/0.2609, allocations: 31.55 kB / 0.5985 GB, free: 0.832 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.112e-05/0.261, allocations: 13.72 kB / 0.5985 GB, free: 0.8125 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.2611, allocations: 326.8 kB / 0.5988 GB, free: 496 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001522/0.2613, allocations: 51.97 kB / 0.5989 GB, free: 444 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001502/0.2615, allocations: 69.62 kB / 0.599 GB, free: 368 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002981/0.2618, allocations: 113.7 kB / 0.5991 GB, free: 248 kB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.2618, allocations: 4 kB / 0.5991 GB, free: 244 kB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003546/0.2621, allocations: 161.9 kB / 0.5992 GB, free: 76 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.2622, allocations: 4 kB / 0.5992 GB, free: 72 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.2622, allocations: 0 / 0.5992 GB, free: 72 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.2622, allocations: 4 kB / 0.5992 GB, free: 68 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001474/0.2624, allocations: 27.98 kB / 0.5993 GB, free: 40 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.097e-05/0.2624, allocations: 3.984 kB / 0.5993 GB, free: 36 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001179/0.2625, allocations: 16.09 kB / 0.5993 GB, free: 20 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.425e-05/0.2625, allocations: 7.938 kB / 0.5993 GB, free: 12 kB / 446.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 0.0001442/0.2627, allocations: 130.8 kB / 0.5994 GB, free: 15.88 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.072e-05/0.2627, allocations: 11.91 kB / 0.5994 GB, free: 15.86 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004653/0.2632, allocations: 170.5 kB / 0.5996 GB, free: 15.69 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.541e-06/0.2632, allocations: 4 kB / 0.5996 GB, free: 15.69 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.2632, allocations: 0 / 0.5996 GB, free: 15.69 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.2633, allocations: 0 / 0.5996 GB, free: 15.69 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003309/0.2636, allocations: 233.4 kB / 0.5998 GB, free: 15.41 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.2636, allocations: 7.938 kB / 0.5998 GB, free: 15.4 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001426/0.2638, allocations: 27.98 kB / 0.5998 GB, free: 15.38 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.2638, allocations: 0 / 0.5998 GB, free: 15.38 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.35e-05/0.2638, allocations: 0 / 0.5998 GB, free: 15.38 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.2638, allocations: 0 / 0.5998 GB, free: 15.38 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.2638, allocations: 4 kB / 0.5998 GB, free: 15.37 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000449/0.2643, allocations: 326.6 kB / 0.6002 GB, free: 15.04 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.127e-05/0.2643, allocations: 88.91 kB / 0.6002 GB, free: 14.93 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.418e-05/0.2644, allocations: 4 kB / 0.6002 GB, free: 14.93 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001857/0.2645, allocations: 15.98 kB / 0.6003 GB, free: 14.91 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.949e-05/0.2646, allocations: 8 kB / 0.6003 GB, free: 14.9 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.191e-05/0.2646, allocations: 11.92 kB / 0.6003 GB, free: 14.89 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001049/0.2647, allocations: 125.2 kB / 0.6004 GB, free: 14.77 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2648, allocations: 0 / 0.6004 GB, free: 14.77 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002795/0.265, allocations: 24 kB / 0.6004 GB, free: 14.75 MB / 462.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 0.0001477/0.2652, allocations: 107.2 kB / 0.6005 GB, free: 14.63 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0003782/0.2656, allocations: 115.9 kB / 0.6006 GB, free: 14.52 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.2656, allocations: 0 / 0.6006 GB, free: 14.52 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001711/0.2658, allocations: 71.89 kB / 0.6007 GB, free: 14.45 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005154/0.2663, allocations: 32.02 kB / 0.6007 GB, free: 14.42 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005632/0.2669, allocations: 276.3 kB / 0.601 GB, free: 14.11 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002794/0.2672, allocations: 0.7048 MB / 0.6017 GB, free: 13.38 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 7.891e-05/0.2672, allocations: 16.62 kB / 0.6017 GB, free: 13.37 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.146e-05/0.2673, allocations: 11.44 kB / 0.6017 GB, free: 13.36 MB / 462.1 MB Notification: Performance of SimCode: time 4.91e-07/0.2673, allocations: 7.938 kB / 0.6017 GB, free: 13.35 MB / 462.1 MB Notification: Performance of Templates: time 0.005021/0.2723, allocations: 1.896 MB / 0.6036 GB, free: 11.51 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Controls.SetPoints.Examples.HotWaterTemperatureReset.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Controls.SetPoints.Examples.HotWaterTemperatureReset.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.SetPoints.Examples.HotWaterTemperatureReset.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.SetPoints.Examples.HotWaterTemperatureReset.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.SetPoints.Examples.HotWaterTemperatureReset.sim & ./Buildings_3.0.0_Buildings.Controls.SetPoints.Examples.HotWaterTemperatureReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.SetPoints.Examples.HotWaterTemperatureReset.pipe 2>&1) Environment - environmentSimulation: