Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.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.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer") translateModel(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer") [/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.1702/0.1722, allocations: 80.83 MB / 0.6706 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.004024/0.1762, allocations: 3.146 MB / 0.6737 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001552/0.1778, allocations: 1.033 MB / 0.6747 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000224/0.178, allocations: 11.94 kB / 0.6747 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0002006/0.1783, allocations: 71.2 kB / 0.6748 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001896/0.1785, allocations: 99.09 kB / 0.6749 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.000492/0.179, allocations: 251 kB / 0.6751 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0004758/0.1794, allocations: 0.5582 MB / 0.6756 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003972/0.1798, allocations: 251.5 kB / 0.6759 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002115/0.1801, allocations: 203.1 kB / 0.6761 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002175/0.1803, allocations: 222.8 kB / 0.6763 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 6.912e-05/0.1804, allocations: 56 kB / 0.6763 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 6.173e-05/0.1804, allocations: 56 kB / 0.6764 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 8.258e-05/0.1805, allocations: 119.6 kB / 0.6765 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001693/0.1807, allocations: 250.6 kB / 0.6767 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0004999/0.1812, allocations: 0.6033 MB / 0.6773 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.1812, allocations: 0 / 0.6773 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.302e-06/0.1812, allocations: 0 / 0.6773 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.064e-06/0.1812, allocations: 4 kB / 0.6773 GB, free: 11.1 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: 95 * Number of variables: 95 Notification: Performance of Generate backend data structure: time 0.001138/0.1824, allocations: 0.7816 MB / 0.6781 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.305e-05/0.1824, allocations: 8.031 kB / 0.6781 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.003e-05/0.1825, allocations: 60.19 kB / 0.6782 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005543/0.1831, allocations: 415.1 kB / 0.6786 GB, free: 9.758 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.807e-05/0.1831, allocations: 29.38 kB / 0.6786 GB, free: 9.73 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.015e-05/0.1832, allocations: 44.38 kB / 0.6786 GB, free: 9.688 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000669/0.1839, allocations: 428.9 kB / 0.679 GB, free: 9.246 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.719e-05/0.1839, allocations: 0 / 0.679 GB, free: 9.246 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.359e-05/0.1839, allocations: 16 kB / 0.6791 GB, free: 9.23 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.238e-05/0.1839, allocations: 12 kB / 0.6791 GB, free: 9.219 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005829/0.1845, allocations: 287.8 kB / 0.6793 GB, free: 8.938 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001674/0.1862, allocations: 1.316 MB / 0.6806 GB, free: 7.547 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006453/0.1869, allocations: 343.9 kB / 0.681 GB, free: 7.203 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002467/0.1871, allocations: 148.8 kB / 0.6811 GB, free: 7.055 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.491e-05/0.1872, allocations: 4 kB / 0.6811 GB, free: 7.051 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003236/0.1875, allocations: 185.5 kB / 0.6813 GB, free: 6.859 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=33): time 1.743e-06/0.1875, allocations: 0 / 0.6813 GB, free: 6.859 MB / 0.5137 GB Notification: Performance of matching and sorting (n=33): time 0.0008206/0.1883, allocations: 422.6 kB / 0.6817 GB, free: 6.441 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.193e-05/0.1884, allocations: 106.8 kB / 0.6818 GB, free: 6.312 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003372/0.1888, allocations: 377.6 kB / 0.6821 GB, free: 5.941 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.912e-05/0.1888, allocations: 29.7 kB / 0.6822 GB, free: 5.906 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001575/0.189, allocations: 248.4 kB / 0.6824 GB, free: 5.66 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 7.346e-05/0.189, allocations: 98.56 kB / 0.6825 GB, free: 5.562 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.94e-05/0.1891, allocations: 69.69 kB / 0.6826 GB, free: 5.488 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.1893, allocations: 358.7 kB / 0.6829 GB, free: 5.129 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000236/0.1895, allocations: 120.8 kB / 0.683 GB, free: 5.008 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002625/0.1898, allocations: 170.2 kB / 0.6832 GB, free: 4.82 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004587/0.1902, allocations: 270.1 kB / 0.6834 GB, free: 4.543 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.1903, allocations: 0 / 0.6834 GB, free: 4.543 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0006073/0.1909, allocations: 365.5 kB / 0.6838 GB, free: 4.18 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.1909, allocations: 4 kB / 0.6838 GB, free: 4.176 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.1909, allocations: 4 kB / 0.6838 GB, free: 4.172 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.1909, allocations: 0 / 0.6838 GB, free: 4.172 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002699/0.1912, allocations: 67.88 kB / 0.6839 GB, free: 4.105 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/0.1912, allocations: 4 kB / 0.6839 GB, free: 4.102 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001971/0.1914, allocations: 47.8 kB / 0.6839 GB, free: 4.055 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.322e-05/0.1915, allocations: 8 kB / 0.6839 GB, free: 4.047 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000293/0.1918, allocations: 228.8 kB / 0.6841 GB, free: 3.82 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002042/0.192, allocations: 166.6 kB / 0.6843 GB, free: 3.637 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003533/0.1923, allocations: 244.4 kB / 0.6845 GB, free: 3.383 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.202e-06/0.1923, allocations: 0 / 0.6845 GB, free: 3.383 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43) (initialization_lambda0): time 0.0004867/0.1928, allocations: 344.8 kB / 0.6849 GB, free: 3.039 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.578e-06/0.1929, allocations: 10.19 kB / 0.6849 GB, free: 3.031 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.044e-06/0.1929, allocations: 128 / 0.6849 GB, free: 3.031 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.55e-06/0.1929, allocations: 8 kB / 0.6849 GB, free: 3.023 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002262/0.1931, allocations: 63.84 kB / 0.6849 GB, free: 2.961 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.1931, allocations: 4 kB / 0.6849 GB, free: 2.957 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001742/0.1933, allocations: 31.77 kB / 0.685 GB, free: 2.926 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.972e-05/0.1933, allocations: 12 kB / 0.685 GB, free: 2.914 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 14 (con.greaterEqualThreshold.y,con.hys.y,$PRE.con.hys.y,con.on,con.offTimer.entryTime,$PRE.con.offTimer.entryTime,con.onTimer.entryTime,$PRE.con.onTimer.entryTime,con.offHys.entryTime,$PRE.con.offHys.entryTime,$whenCondition1,$whenCondition2,$whenCondition3,con.con.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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.0001209/0.1934, allocations: 212 kB / 0.6852 GB, free: 2.699 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.501e-05/0.1935, allocations: 47.44 kB / 0.6852 GB, free: 2.652 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.397e-05/0.1936, allocations: 48.3 kB / 0.6853 GB, free: 2.602 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.1936, allocations: 4 kB / 0.6853 GB, free: 2.598 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.1936, allocations: 0 / 0.6853 GB, free: 2.598 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.1936, allocations: 3.984 kB / 0.6853 GB, free: 2.594 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001062/0.1947, allocations: 0.8735 MB / 0.6861 GB, free: 1.664 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.1947, allocations: 0 / 0.6861 GB, free: 1.664 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002424/0.195, allocations: 47.91 kB / 0.6862 GB, free: 1.617 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.195, allocations: 8 kB / 0.6862 GB, free: 1.609 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.154e-05/0.195, allocations: 4 kB / 0.6862 GB, free: 1.605 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/0.195, allocations: 7.984 kB / 0.6862 GB, free: 1.598 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.195, allocations: 7.938 kB / 0.6862 GB, free: 1.59 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000836/0.1959, allocations: 0.5468 MB / 0.6867 GB, free: 1.023 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001387/0.196, allocations: 144.6 kB / 0.6869 GB, free: 0.8633 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.16e-05/0.1961, allocations: 8 kB / 0.6869 GB, free: 0.8555 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002109/0.1963, allocations: 23.97 kB / 0.6869 GB, free: 0.832 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.308e-05/0.1964, allocations: 31.84 kB / 0.6869 GB, free: 0.8008 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.582e-05/0.1964, allocations: 4 kB / 0.6869 GB, free: 0.7969 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.000257/0.1966, allocations: 267.2 kB / 0.6872 GB, free: 0.543 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1967, allocations: 0 / 0.6872 GB, free: 0.543 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004559/0.1971, allocations: 155.4 kB / 0.6874 GB, free: 400 kB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.con.I.y,cap.T) * Number of discrete variables: 9 (con.on,$whenCondition3,$whenCondition2,$whenCondition1,con.offHys.entryTime,con.onTimer.entryTime,con.offTimer.entryTime,con.hys.y,con.greaterEqualThreshold.y) * Number of discrete states: 1 (con.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001168/0.1972, allocations: 111.1 kB / 0.6875 GB, free: 280 kB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0008158/0.1981, allocations: 432.3 kB / 0.6879 GB, free: 15.85 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.1981, allocations: 0 / 0.6879 GB, free: 15.85 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002639/0.1983, allocations: 156.2 kB / 0.688 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005553/0.1989, allocations: 89.98 kB / 0.6881 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001483/0.2004, allocations: 0.8207 MB / 0.6889 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003486/0.2008, allocations: 0.8198 MB / 0.6897 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001842/0.201, allocations: 47.25 kB / 0.6898 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.237e-05/0.2011, allocations: 35.36 kB / 0.6898 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of SimCode: time 1.703e-06/0.2011, allocations: 4 kB / 0.6898 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of Templates: time 0.008354/0.2094, allocations: 4.327 MB / 0.694 GB, free: 9.531 MB / 0.5294 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.makefile (rm -f Buildings_3.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.sim & ./Buildings_3.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1)