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.1726/0.1734, allocations: 82.22 MB / 0.5935 GB, free: 5.977 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.003442/0.1769, allocations: 2.654 MB / 0.596 GB, free: 3.301 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00169/0.1786, allocations: 0.9716 MB / 0.597 GB, free: 2.32 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002597/0.1789, allocations: 15.94 kB / 0.597 GB, free: 2.305 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001846/0.1791, allocations: 43.52 kB / 0.5971 GB, free: 2.262 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001719/0.1792, allocations: 75.36 kB / 0.5971 GB, free: 2.188 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005266/0.1798, allocations: 162.7 kB / 0.5973 GB, free: 2.031 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005049/0.1803, allocations: 491.8 kB / 0.5978 GB, free: 1.551 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003776/0.1807, allocations: 183.7 kB / 0.5979 GB, free: 1.367 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002233/0.1809, allocations: 139.2 kB / 0.5981 GB, free: 1.23 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002172/0.1811, allocations: 155 kB / 0.5982 GB, free: 1.078 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.312e-05/0.1812, allocations: 12 kB / 0.5982 GB, free: 1.066 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.818e-05/0.1812, allocations: 12 kB / 0.5982 GB, free: 1.055 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.113e-05/0.1813, allocations: 75.61 kB / 0.5983 GB, free: 0.9805 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 9.881e-05/0.1814, allocations: 101.5 kB / 0.5984 GB, free: 0.875 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00043/0.1818, allocations: 442.9 kB / 0.5988 GB, free: 452 kB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.676e-06/0.1819, allocations: 3.984 kB / 0.5988 GB, free: 448 kB / 446.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1819, allocations: 0 / 0.5988 GB, free: 448 kB / 446.1 MB Notification: Performance of Transformations before backend: time 8.176e-06/0.1819, allocations: 0 / 0.5988 GB, free: 448 kB / 446.1 MB 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.001318/0.1832, allocations: 0.6998 MB / 0.5995 GB, free: 15.68 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/0.1833, allocations: 16.03 kB / 0.5995 GB, free: 15.67 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001164/0.1834, allocations: 59.25 kB / 0.5996 GB, free: 15.61 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005622/0.184, allocations: 393.9 kB / 0.6 GB, free: 15.18 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.834e-05/0.184, allocations: 29 kB / 0.6 GB, free: 15.16 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.357e-05/0.1841, allocations: 51.89 kB / 0.6 GB, free: 15.11 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006737/0.1848, allocations: 428.7 kB / 0.6004 GB, free: 14.66 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.1848, allocations: 0 / 0.6004 GB, free: 14.66 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.451e-05/0.1848, allocations: 16 kB / 0.6005 GB, free: 14.65 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.073e-05/0.1848, allocations: 8 kB / 0.6005 GB, free: 14.64 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005527/0.1854, allocations: 303.8 kB / 0.6008 GB, free: 14.34 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0019/0.1873, allocations: 1.332 MB / 0.6021 GB, free: 12.94 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006889/0.188, allocations: 351.5 kB / 0.6024 GB, free: 12.59 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002496/0.1883, allocations: 152.8 kB / 0.6025 GB, free: 12.44 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.058e-05/0.1883, allocations: 4.547 kB / 0.6025 GB, free: 12.43 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003916/0.1887, allocations: 193.5 kB / 0.6027 GB, free: 12.23 MB / 462.1 MB Notification: Performance of pre-optimization done (n=33): time 2.114e-06/0.1887, allocations: 4 kB / 0.6027 GB, free: 12.23 MB / 462.1 MB Notification: Performance of matching and sorting (n=33): time 0.0008256/0.1896, allocations: 426.7 kB / 0.6031 GB, free: 11.81 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.566e-05/0.1896, allocations: 110.8 kB / 0.6032 GB, free: 11.68 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003902/0.19, allocations: 369.6 kB / 0.6036 GB, free: 11.3 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.591e-05/0.1901, allocations: 33.7 kB / 0.6036 GB, free: 11.27 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002079/0.1903, allocations: 240.4 kB / 0.6039 GB, free: 11.03 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.205e-05/0.1904, allocations: 106.5 kB / 0.604 GB, free: 10.92 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.735e-05/0.1904, allocations: 8 kB / 0.604 GB, free: 10.91 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.1906, allocations: 350.8 kB / 0.6043 GB, free: 10.56 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002331/0.1908, allocations: 123.9 kB / 0.6044 GB, free: 10.44 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000256/0.1911, allocations: 178.2 kB / 0.6046 GB, free: 10.25 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002352/0.1913, allocations: 126.6 kB / 0.6047 GB, free: 10.12 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.1913, allocations: 4 kB / 0.6047 GB, free: 10.12 MB / 462.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00062/0.192, allocations: 382.3 kB / 0.6051 GB, free: 9.742 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.187e-05/0.192, allocations: 122.6 kB / 0.6052 GB, free: 9.605 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.1921, allocations: 3.938 kB / 0.6052 GB, free: 9.602 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.1921, allocations: 7.984 kB / 0.6052 GB, free: 9.594 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002793/0.1924, allocations: 63.91 kB / 0.6053 GB, free: 9.531 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/0.1924, allocations: 4 kB / 0.6053 GB, free: 9.527 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000205/0.1926, allocations: 51.67 kB / 0.6053 GB, free: 9.477 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.79e-05/0.1926, allocations: 15.98 kB / 0.6053 GB, free: 9.461 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.412e-06/0.1927, allocations: 4 kB / 0.6053 GB, free: 9.457 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004429/0.1931, allocations: 267.8 kB / 0.6056 GB, free: 9.195 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.164e-06/0.1931, allocations: 4.125 kB / 0.6056 GB, free: 9.191 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.889e-06/0.1931, allocations: 4 kB / 0.6056 GB, free: 9.188 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002196/0.1933, allocations: 67.86 kB / 0.6057 GB, free: 9.121 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.1934, allocations: 3.938 kB / 0.6057 GB, free: 9.117 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000176/0.1935, allocations: 39.73 kB / 0.6057 GB, free: 9.078 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.894e-05/0.1936, allocations: 12 kB / 0.6057 GB, free: 9.066 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition3,$whenCondition2,$whenCondition1,$PRE.con.offHys.entryTime,con.offHys.entryTime,$PRE.con.onTimer.entryTime,con.onTimer.entryTime,$PRE.con.offTimer.entryTime,con.offTimer.entryTime,con.on,$PRE.con.hys.y,con.hys.y,con.greaterEqualThreshold.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002622/0.1938, allocations: 261 kB / 0.606 GB, free: 8.801 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.427e-05/0.1939, allocations: 43.52 kB / 0.606 GB, free: 8.758 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001018/0.194, allocations: 44.3 kB / 0.6061 GB, free: 8.715 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.655e-06/0.194, allocations: 7.953 kB / 0.6061 GB, free: 8.707 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.003e-05/0.194, allocations: 4 kB / 0.6061 GB, free: 8.703 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.194, allocations: 0 / 0.6061 GB, free: 8.703 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001244/0.1953, allocations: 0.8808 MB / 0.6069 GB, free: 7.766 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.1953, allocations: 0 / 0.6069 GB, free: 7.766 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002364/0.1956, allocations: 51.97 kB / 0.607 GB, free: 7.715 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.1956, allocations: 11.89 kB / 0.607 GB, free: 7.703 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.113e-05/0.1956, allocations: 8 kB / 0.607 GB, free: 7.695 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.629e-06/0.1956, allocations: 4 kB / 0.607 GB, free: 7.691 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.1956, allocations: 3.984 kB / 0.607 GB, free: 7.688 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008308/0.1965, allocations: 0.5613 MB / 0.6075 GB, free: 7.109 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001393/0.1966, allocations: 144.6 kB / 0.6077 GB, free: 6.949 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.809e-05/0.1967, allocations: 11.95 kB / 0.6077 GB, free: 6.938 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001906/0.1969, allocations: 32.03 kB / 0.6077 GB, free: 6.906 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.752e-05/0.1969, allocations: 23.97 kB / 0.6077 GB, free: 6.883 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.097e-05/0.197, allocations: 11.98 kB / 0.6078 GB, free: 6.871 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000271/0.1972, allocations: 255.2 kB / 0.608 GB, free: 6.621 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1972, allocations: 0 / 0.608 GB, free: 6.621 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004872/0.1977, allocations: 155.4 kB / 0.6082 GB, free: 6.469 MB / 462.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001264/0.1979, allocations: 115.1 kB / 0.6083 GB, free: 6.344 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0007831/0.1987, allocations: 456.6 kB / 0.6087 GB, free: 5.898 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1987, allocations: 4.438 kB / 0.6087 GB, free: 5.895 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002477/0.1989, allocations: 155.8 kB / 0.6088 GB, free: 5.742 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005295/0.1995, allocations: 74.12 kB / 0.6089 GB, free: 5.672 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001492/0.201, allocations: 0.9876 MB / 0.6099 GB, free: 4.66 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003752/0.2014, allocations: 0.8198 MB / 0.6107 GB, free: 3.812 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002095/0.2016, allocations: 55.23 kB / 0.6107 GB, free: 3.758 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.96e-05/0.2017, allocations: 27.44 kB / 0.6108 GB, free: 3.73 MB / 462.1 MB Notification: Performance of SimCode: time 3.61e-07/0.2017, allocations: 0 / 0.6108 GB, free: 3.73 MB / 462.1 MB Notification: Performance of Templates: time 0.007641/0.2093, allocations: 3.736 MB / 0.6144 GB, free: 44 kB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: