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.2741/0.277, allocations: 80.84 MB / 0.6706 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.HotWaterTemperatureReset): time 0.004725/0.2819, allocations: 1.809 MB / 0.6724 GB, free: 216 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004383/0.2824, allocations: 143.4 kB / 0.6725 GB, free: 72 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001131/0.2825, allocations: 0 / 0.6725 GB, free: 72 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001782/0.2827, allocations: 11.86 kB / 0.6725 GB, free: 60 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000107/0.2828, allocations: 55.48 kB / 0.6726 GB, free: 4 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002022/0.283, allocations: 35.95 kB / 0.6726 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003067/0.2833, allocations: 167.2 kB / 0.6728 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000194/0.2835, allocations: 20.91 kB / 0.6728 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001384/0.2837, allocations: 55.84 kB / 0.6728 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001743/0.2839, allocations: 71.62 kB / 0.6729 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 6.48e-05/0.2839, allocations: 8 kB / 0.6729 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 3.343e-05/0.284, allocations: 16 kB / 0.6729 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.774e-05/0.284, allocations: 23.91 kB / 0.6729 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 9.888e-05/0.2841, allocations: 67.66 kB / 0.673 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.000271/0.2844, allocations: 123.5 kB / 0.6731 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 1.054e-05/0.2844, allocations: 0 / 0.6731 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of FrontEnd: time 4.177e-06/0.2845, allocations: 4 kB / 0.6731 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.02e-05/0.2845, allocations: 0 / 0.6731 GB, free: 15.42 MB / 0.5137 GB 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.001078/0.2856, allocations: 454.8 kB / 0.6736 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.956e-05/0.2856, allocations: 8.031 kB / 0.6736 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.137e-05/0.2857, allocations: 12.84 kB / 0.6736 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003874/0.2861, allocations: 208.7 kB / 0.6738 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.693e-05/0.2861, allocations: 8.312 kB / 0.6738 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.903e-05/0.2861, allocations: 4.375 kB / 0.6738 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000349/0.2865, allocations: 123.9 kB / 0.6739 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.591e-05/0.2865, allocations: 192 / 0.6739 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.24e-05/0.2865, allocations: 3.938 kB / 0.6739 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.159e-05/0.2866, allocations: 4 kB / 0.6739 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000309/0.2869, allocations: 91.88 kB / 0.674 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009431/0.2878, allocations: 480.6 kB / 0.6745 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004536/0.2883, allocations: 121.2 kB / 0.6746 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001739/0.2885, allocations: 61.78 kB / 0.6746 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.954e-05/0.2885, allocations: 8 kB / 0.6747 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.623e-05/0.2886, allocations: 38.5 kB / 0.6747 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=9): time 1.673e-06/0.2886, allocations: 0 / 0.6747 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of matching and sorting (n=9): time 0.0006503/0.2892, allocations: 193.3 kB / 0.6749 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.763e-05/0.2893, allocations: 77.11 kB / 0.6749 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002062/0.2895, allocations: 164.4 kB / 0.6751 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.573e-05/0.2896, allocations: 25.7 kB / 0.6751 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001162/0.2897, allocations: 112.2 kB / 0.6752 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.92e-05/0.2898, allocations: 31.55 kB / 0.6753 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.748e-05/0.2898, allocations: 17.72 kB / 0.6753 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001689/0.29, allocations: 338.7 kB / 0.6756 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001455/0.2901, allocations: 43.91 kB / 0.6756 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000146/0.2903, allocations: 57.67 kB / 0.6757 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003092/0.2906, allocations: 105.6 kB / 0.6758 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.2906, allocations: 4 kB / 0.6758 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003593/0.291, allocations: 141.5 kB / 0.6759 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.409e-05/0.291, allocations: 7.938 kB / 0.6759 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.291, allocations: 0 / 0.6759 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.338e-05/0.2911, allocations: 3.984 kB / 0.676 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001512/0.2912, allocations: 23.98 kB / 0.676 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.165e-05/0.2913, allocations: 3.984 kB / 0.676 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000116/0.2914, allocations: 19.98 kB / 0.676 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.404e-05/0.2914, allocations: 4.312 kB / 0.676 GB, free: 12.22 MB / 0.5137 GB 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.0001295/0.2915, allocations: 117.8 kB / 0.6761 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.264e-05/0.2916, allocations: 15.81 kB / 0.6761 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000491/0.2921, allocations: 166.5 kB / 0.6763 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.2921, allocations: 7.984 kB / 0.6763 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.2921, allocations: 0 / 0.6763 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.806e-06/0.2921, allocations: 4 kB / 0.6763 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003262/0.2925, allocations: 213.5 kB / 0.6765 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.2925, allocations: 0 / 0.6765 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001367/0.2926, allocations: 23.92 kB / 0.6765 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.2926, allocations: 4 kB / 0.6765 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.523e-05/0.2926, allocations: 4 kB / 0.6765 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.2927, allocations: 0 / 0.6765 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.2927, allocations: 0 / 0.6765 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000492/0.2932, allocations: 322.5 kB / 0.6768 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.91e-05/0.2932, allocations: 88.92 kB / 0.6769 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.635e-05/0.2933, allocations: 0 / 0.6769 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001695/0.2935, allocations: 11.98 kB / 0.6769 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.358e-05/0.2935, allocations: 12.27 kB / 0.6769 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-05/0.2936, allocations: 7.938 kB / 0.677 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001255/0.2937, allocations: 135.5 kB / 0.6771 GB, free: 11 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2937, allocations: 3.938 kB / 0.6771 GB, free: 11 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002976/0.294, allocations: 24 kB / 0.6771 GB, free: 10.97 MB / 0.5137 GB 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.0001745/0.2942, allocations: 99.25 kB / 0.6772 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004219/0.2946, allocations: 103.9 kB / 0.6773 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.2946, allocations: 3.938 kB / 0.6773 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001631/0.2948, allocations: 55.91 kB / 0.6774 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004623/0.2953, allocations: 36.42 kB / 0.6774 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007755/0.2961, allocations: 239.5 kB / 0.6776 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007854/0.2969, allocations: 0.7006 MB / 0.6783 GB, free: 9.672 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 9.652e-05/0.297, allocations: 16.97 kB / 0.6783 GB, free: 9.656 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.918e-05/0.297, allocations: 11.44 kB / 0.6783 GB, free: 9.648 MB / 0.5137 GB Notification: Performance of SimCode: time 2e-07/0.297, allocations: 0 / 0.6783 GB, free: 9.648 MB / 0.5137 GB Notification: Performance of Templates: time 0.006676/0.3037, allocations: 2.162 MB / 0.6804 GB, free: 7.531 MB / 0.5137 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.SetPoints.Examples.HotWaterTemperatureReset.makefile (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)