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.2483/0.2507, allocations: 80.83 MB / 0.6706 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.HotWaterTemperatureReset): time 0.003452/0.2542, allocations: 1.82 MB / 0.6724 GB, free: 200 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003736/0.2546, allocations: 131.4 kB / 0.6725 GB, free: 68 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001169/0.2548, allocations: 4 kB / 0.6725 GB, free: 64 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001653/0.2549, allocations: 15.86 kB / 0.6725 GB, free: 48 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001465/0.2551, allocations: 51.59 kB / 0.6726 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001581/0.2553, allocations: 35.95 kB / 0.6726 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002601/0.2555, allocations: 163.1 kB / 0.6728 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001603/0.2557, allocations: 28.89 kB / 0.6728 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 9.936e-05/0.2558, allocations: 55.84 kB / 0.6728 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001306/0.2559, allocations: 71.62 kB / 0.6729 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.806e-05/0.256, allocations: 16 kB / 0.6729 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 2.75e-05/0.256, allocations: 8 kB / 0.6729 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.148e-05/0.2561, allocations: 23.92 kB / 0.6729 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 9.411e-05/0.2562, allocations: 67.66 kB / 0.673 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002105/0.2564, allocations: 123.5 kB / 0.6731 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.2564, allocations: 0 / 0.6731 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.076e-06/0.2564, allocations: 0 / 0.6731 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.586e-06/0.2564, allocations: 0 / 0.6731 GB, free: 15.41 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.0008851/0.2573, allocations: 450.8 kB / 0.6736 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.277e-05/0.2574, allocations: 12.02 kB / 0.6736 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.806e-05/0.2574, allocations: 20.78 kB / 0.6736 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003253/0.2578, allocations: 204.7 kB / 0.6738 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.848e-05/0.2578, allocations: 12.31 kB / 0.6738 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.354e-05/0.2578, allocations: 4.375 kB / 0.6738 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003093/0.2581, allocations: 119.9 kB / 0.6739 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.2581, allocations: 192 / 0.6739 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.934e-05/0.2582, allocations: 3.938 kB / 0.6739 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.2582, allocations: 4 kB / 0.6739 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002959/0.2585, allocations: 91.88 kB / 0.674 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007928/0.2593, allocations: 484.6 kB / 0.6745 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004181/0.2597, allocations: 125.2 kB / 0.6746 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001639/0.2599, allocations: 65.77 kB / 0.6747 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.073e-05/0.2599, allocations: 0 / 0.6747 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.874e-05/0.26, allocations: 38.5 kB / 0.6747 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=9): time 1.393e-06/0.26, allocations: 0 / 0.6747 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of matching and sorting (n=9): time 0.0005843/0.2606, allocations: 185.3 kB / 0.6749 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.159e-05/0.2606, allocations: 85.11 kB / 0.675 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001611/0.2608, allocations: 164.4 kB / 0.6751 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.015e-05/0.2608, allocations: 25.7 kB / 0.6751 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.522e-05/0.2609, allocations: 104.1 kB / 0.6752 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.355e-05/0.2609, allocations: 31.55 kB / 0.6753 GB, free: 13 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.312e-05/0.261, allocations: 21.72 kB / 0.6753 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.2611, allocations: 330.7 kB / 0.6756 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001446/0.2613, allocations: 43.97 kB / 0.6756 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001449/0.2614, allocations: 61.67 kB / 0.6757 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002814/0.2617, allocations: 105.9 kB / 0.6758 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.2617, allocations: 4 kB / 0.6758 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003358/0.2621, allocations: 141.5 kB / 0.6759 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.2621, allocations: 4 kB / 0.6759 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.2621, allocations: 3.938 kB / 0.6759 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.057e-05/0.2622, allocations: 4 kB / 0.676 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001543/0.2623, allocations: 23.97 kB / 0.676 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.2623, allocations: 4 kB / 0.676 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000113/0.2625, allocations: 11.98 kB / 0.676 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.616e-05/0.2625, allocations: 11.94 kB / 0.676 GB, free: 12.21 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.0001059/0.2626, allocations: 118 kB / 0.6761 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.323e-05/0.2626, allocations: 15.81 kB / 0.6761 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004346/0.2631, allocations: 162.4 kB / 0.6763 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.2631, allocations: 4 kB / 0.6763 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.2631, allocations: 3.984 kB / 0.6763 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.2631, allocations: 0 / 0.6763 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000301/0.2634, allocations: 221.6 kB / 0.6765 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.2634, allocations: 4 kB / 0.6765 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001493/0.2636, allocations: 23.92 kB / 0.6765 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.2636, allocations: 0 / 0.6765 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.557e-05/0.2636, allocations: 4 kB / 0.6765 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.2636, allocations: 4 kB / 0.6765 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.2636, allocations: 4 kB / 0.6765 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004085/0.2641, allocations: 310.5 kB / 0.6768 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.08e-05/0.2641, allocations: 92.92 kB / 0.6769 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.019e-05/0.2642, allocations: 4.188 kB / 0.6769 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001703/0.2644, allocations: 15.98 kB / 0.6769 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.476e-05/0.2644, allocations: 11.98 kB / 0.677 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.326e-06/0.2644, allocations: 3.938 kB / 0.677 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001059/0.2645, allocations: 131.5 kB / 0.6771 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.1e-07/0.2646, allocations: 0 / 0.6771 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003026/0.2649, allocations: 28 kB / 0.6771 GB, free: 10.96 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.0001362/0.265, allocations: 95.25 kB / 0.6772 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003781/0.2654, allocations: 115.8 kB / 0.6773 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.2654, allocations: 0 / 0.6773 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00016/0.2656, allocations: 55.91 kB / 0.6774 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004631/0.266, allocations: 36.02 kB / 0.6774 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005698/0.2666, allocations: 235.8 kB / 0.6776 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003185/0.2669, allocations: 0.7006 MB / 0.6783 GB, free: 9.664 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 7.712e-05/0.267, allocations: 16.64 kB / 0.6783 GB, free: 9.648 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.59e-05/0.2671, allocations: 11.44 kB / 0.6783 GB, free: 9.641 MB / 0.5137 GB Notification: Performance of SimCode: time 2.4e-07/0.2671, allocations: 4 kB / 0.6783 GB, free: 9.637 MB / 0.5137 GB Notification: Performance of Templates: time 0.005319/0.2724, allocations: 2.101 MB / 0.6804 GB, free: 7.582 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)