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.2651/0.2672, allocations: 80.84 MB / 0.5897 GB, free: 7.113 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.HotWaterTemperatureReset): time 0.004228/0.2716, allocations: 1.881 MB / 0.5915 GB, free: 5.207 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004374/0.272, allocations: 111.9 kB / 0.5916 GB, free: 5.098 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000161/0.2722, allocations: 0 / 0.5916 GB, free: 5.098 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001569/0.2724, allocations: 15.86 kB / 0.5916 GB, free: 5.082 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001593/0.2726, allocations: 47.61 kB / 0.5917 GB, free: 5.035 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001815/0.2728, allocations: 35.91 kB / 0.5917 GB, free: 5 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002926/0.2731, allocations: 159.1 kB / 0.5919 GB, free: 4.844 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001582/0.2733, allocations: 37.02 kB / 0.5919 GB, free: 4.809 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001426/0.2734, allocations: 47.84 kB / 0.5919 GB, free: 4.762 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000128/0.2735, allocations: 63.7 kB / 0.592 GB, free: 4.699 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.179e-05/0.2736, allocations: 8 kB / 0.592 GB, free: 4.691 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.05e-05/0.2736, allocations: 7.938 kB / 0.592 GB, free: 4.684 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.925e-05/0.2737, allocations: 19.91 kB / 0.592 GB, free: 4.664 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.703e-05/0.2738, allocations: 59.67 kB / 0.5921 GB, free: 4.605 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001798/0.2739, allocations: 115.6 kB / 0.5922 GB, free: 4.492 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.431e-06/0.274, allocations: 0 / 0.5922 GB, free: 4.492 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.274, allocations: 4 kB / 0.5922 GB, free: 4.488 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.034e-06/0.274, allocations: 0 / 0.5922 GB, free: 4.488 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.0008748/0.2749, allocations: 454.3 kB / 0.5926 GB, free: 3.996 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.985e-05/0.2749, allocations: 8.031 kB / 0.5926 GB, free: 3.988 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.904e-05/0.275, allocations: 16.75 kB / 0.5927 GB, free: 3.973 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002786/0.2753, allocations: 212.9 kB / 0.5929 GB, free: 3.727 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/0.2753, allocations: 4.375 kB / 0.5929 GB, free: 3.723 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.308e-05/0.2753, allocations: 8.375 kB / 0.5929 GB, free: 3.715 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003247/0.2757, allocations: 115.8 kB / 0.593 GB, free: 3.59 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.2757, allocations: 8.062 kB / 0.593 GB, free: 3.582 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.241e-05/0.2757, allocations: 11.94 kB / 0.593 GB, free: 3.57 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.2757, allocations: 0 / 0.593 GB, free: 3.57 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002923/0.276, allocations: 95.92 kB / 0.5931 GB, free: 3.477 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008279/0.2769, allocations: 464.7 kB / 0.5935 GB, free: 2.969 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004073/0.2773, allocations: 133.2 kB / 0.5937 GB, free: 2.82 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000173/0.2775, allocations: 65.77 kB / 0.5937 GB, free: 2.75 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.997e-05/0.2775, allocations: 0 / 0.5937 GB, free: 2.75 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.036e-05/0.2775, allocations: 38.56 kB / 0.5938 GB, free: 2.703 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.562e-06/0.2775, allocations: 0 / 0.5938 GB, free: 2.703 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005986/0.2782, allocations: 181.4 kB / 0.5939 GB, free: 2.52 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.032e-05/0.2782, allocations: 81.11 kB / 0.594 GB, free: 2.422 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001798/0.2784, allocations: 166.4 kB / 0.5942 GB, free: 2.25 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.752e-05/0.2784, allocations: 33.7 kB / 0.5942 GB, free: 2.211 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.262e-05/0.2785, allocations: 108 kB / 0.5943 GB, free: 2.102 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.231e-05/0.2786, allocations: 27.56 kB / 0.5943 GB, free: 2.074 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.765e-05/0.2786, allocations: 29.7 kB / 0.5944 GB, free: 2.039 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.00014/0.2788, allocations: 326.8 kB / 0.5947 GB, free: 1.711 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001404/0.2789, allocations: 39.97 kB / 0.5947 GB, free: 1.672 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001405/0.2791, allocations: 65.62 kB / 0.5948 GB, free: 1.602 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002665/0.2794, allocations: 97.66 kB / 0.5949 GB, free: 1.5 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.2794, allocations: 192 / 0.5949 GB, free: 1.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003457/0.2797, allocations: 141.5 kB / 0.595 GB, free: 1.355 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.2798, allocations: 11.94 kB / 0.595 GB, free: 1.344 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.2798, allocations: 4 kB / 0.595 GB, free: 1.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.2798, allocations: 0 / 0.595 GB, free: 1.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001617/0.28, allocations: 23.98 kB / 0.595 GB, free: 1.316 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.28, allocations: 4 kB / 0.5951 GB, free: 1.312 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001252/0.2801, allocations: 11.89 kB / 0.5951 GB, free: 1.301 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.544e-05/0.2802, allocations: 8.312 kB / 0.5951 GB, free: 1.293 MB / 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.0001177/0.2803, allocations: 122.9 kB / 0.5952 GB, free: 1.164 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.012e-05/0.2803, allocations: 15.91 kB / 0.5952 GB, free: 1.148 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004139/0.2808, allocations: 162.6 kB / 0.5954 GB, free: 0.9844 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.663e-06/0.2808, allocations: 4 kB / 0.5954 GB, free: 0.9805 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.2808, allocations: 48 / 0.5954 GB, free: 0.9805 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.173e-06/0.2808, allocations: 3.984 kB / 0.5954 GB, free: 0.9766 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003024/0.2811, allocations: 233.5 kB / 0.5956 GB, free: 0.6992 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/0.2811, allocations: 4 kB / 0.5956 GB, free: 0.6953 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001322/0.2813, allocations: 19.98 kB / 0.5956 GB, free: 0.6758 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/0.2813, allocations: 3.984 kB / 0.5956 GB, free: 0.6719 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.2813, allocations: 0 / 0.5956 GB, free: 0.6719 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.14e-06/0.2813, allocations: 4 kB / 0.5956 GB, free: 0.668 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.2813, allocations: 0 / 0.5956 GB, free: 0.668 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004114/0.2817, allocations: 310.6 kB / 0.5959 GB, free: 356 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.351e-05/0.2818, allocations: 88.92 kB / 0.596 GB, free: 248 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.077e-05/0.2818, allocations: 7.984 kB / 0.596 GB, free: 240 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001661/0.282, allocations: 8 kB / 0.596 GB, free: 232 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.739e-05/0.2821, allocations: 7.984 kB / 0.596 GB, free: 224 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.027e-05/0.2821, allocations: 7.938 kB / 0.596 GB, free: 216 kB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001053/0.2822, allocations: 126 kB / 0.5962 GB, free: 92 kB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2822, allocations: 4 kB / 0.5962 GB, free: 88 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002903/0.2825, allocations: 24 kB / 0.5962 GB, free: 64 kB / 446.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.0001355/0.2826, allocations: 107.2 kB / 0.5963 GB, free: 15.95 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0003564/0.283, allocations: 99.94 kB / 0.5964 GB, free: 15.85 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.283, allocations: 0 / 0.5964 GB, free: 15.85 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001512/0.2832, allocations: 59.91 kB / 0.5964 GB, free: 15.79 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006028/0.2838, allocations: 38.19 kB / 0.5965 GB, free: 15.76 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000617/0.2844, allocations: 277.1 kB / 0.5967 GB, free: 15.45 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002969/0.2847, allocations: 0.7009 MB / 0.5974 GB, free: 14.73 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001043/0.2848, allocations: 16.64 kB / 0.5974 GB, free: 14.71 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.325e-05/0.2849, allocations: 11.44 kB / 0.5974 GB, free: 14.7 MB / 462.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2849, allocations: 4 kB / 0.5974 GB, free: 14.7 MB / 462.1 MB Notification: Performance of Templates: time 0.005034/0.29, allocations: 1.915 MB / 0.5993 GB, free: 12.84 MB / 462.1 MB 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)