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.185/0.1858, allocations: 82.22 MB / 0.5941 GB, free: 5.578 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.00432/0.1902, allocations: 2.781 MB / 0.5968 GB, free: 2.773 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00254/0.1927, allocations: 0.9946 MB / 0.5978 GB, free: 1.77 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006314/0.1934, allocations: 11.94 kB / 0.5978 GB, free: 1.758 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003905/0.1938, allocations: 47.52 kB / 0.5978 GB, free: 1.711 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004521/0.1943, allocations: 83.41 kB / 0.5979 GB, free: 1.629 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007467/0.195, allocations: 215.8 kB / 0.5981 GB, free: 1.418 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007313/0.1958, allocations: 0.5114 MB / 0.5986 GB, free: 0.9062 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004803/0.1963, allocations: 243.7 kB / 0.5989 GB, free: 0.668 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003075/0.1966, allocations: 143.1 kB / 0.599 GB, free: 0.5273 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002829/0.1969, allocations: 154.9 kB / 0.5991 GB, free: 384 kB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.061e-05/0.197, allocations: 16 kB / 0.5992 GB, free: 368 kB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.623e-05/0.197, allocations: 12 kB / 0.5992 GB, free: 356 kB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.624e-05/0.1971, allocations: 75.55 kB / 0.5992 GB, free: 280 kB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002257/0.1973, allocations: 220.3 kB / 0.5995 GB, free: 52 kB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005417/0.1979, allocations: 0.5253 MB / 0.6 GB, free: 15.52 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.1979, allocations: 3.938 kB / 0.6 GB, free: 15.52 MB / 462.1 MB Notification: Performance of FrontEnd: time 9.12e-07/0.1979, allocations: 4 kB / 0.6 GB, free: 15.52 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.074e-05/0.1979, allocations: 0 / 0.6 GB, free: 15.52 MB / 462.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.001387/0.1993, allocations: 0.6999 MB / 0.6007 GB, free: 14.76 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.1994, allocations: 11.97 kB / 0.6007 GB, free: 14.75 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001598/0.1995, allocations: 60.19 kB / 0.6007 GB, free: 14.69 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005829/0.2001, allocations: 403.1 kB / 0.6011 GB, free: 14.26 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.087e-05/0.2002, allocations: 29.38 kB / 0.6011 GB, free: 14.23 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.845e-05/0.2003, allocations: 40.38 kB / 0.6012 GB, free: 14.19 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007873/0.2011, allocations: 437 kB / 0.6016 GB, free: 13.74 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.75e-05/0.2011, allocations: 0 / 0.6016 GB, free: 13.74 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.972e-05/0.2011, allocations: 12 kB / 0.6016 GB, free: 13.73 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.225e-05/0.2011, allocations: 11.98 kB / 0.6016 GB, free: 13.72 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006334/0.2018, allocations: 311.8 kB / 0.6019 GB, free: 13.41 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001953/0.2037, allocations: 1.336 MB / 0.6032 GB, free: 12.01 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007151/0.2045, allocations: 362.8 kB / 0.6036 GB, free: 11.65 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002987/0.2048, allocations: 152.8 kB / 0.6037 GB, free: 11.5 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.707e-05/0.2048, allocations: 4 kB / 0.6037 GB, free: 11.49 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004301/0.2053, allocations: 193.5 kB / 0.6039 GB, free: 11.29 MB / 462.1 MB Notification: Performance of pre-optimization done (n=33): time 1.803e-06/0.2053, allocations: 0 / 0.6039 GB, free: 11.29 MB / 462.1 MB Notification: Performance of matching and sorting (n=33): time 0.0009038/0.2062, allocations: 442.5 kB / 0.6043 GB, free: 10.86 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.253e-05/0.2063, allocations: 110.8 kB / 0.6044 GB, free: 10.72 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004018/0.2067, allocations: 369.6 kB / 0.6048 GB, free: 10.35 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.877e-05/0.2068, allocations: 37.69 kB / 0.6048 GB, free: 10.31 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001792/0.2069, allocations: 244.4 kB / 0.605 GB, free: 10.07 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.418e-05/0.207, allocations: 102.5 kB / 0.6051 GB, free: 9.965 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.465e-05/0.2071, allocations: 41.7 kB / 0.6052 GB, free: 9.918 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.2073, allocations: 354.7 kB / 0.6055 GB, free: 9.562 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002543/0.2076, allocations: 119.9 kB / 0.6056 GB, free: 9.445 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002945/0.2079, allocations: 182.2 kB / 0.6058 GB, free: 9.246 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005038/0.2084, allocations: 283.7 kB / 0.6061 GB, free: 8.957 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.2084, allocations: 0 / 0.6061 GB, free: 8.957 MB / 462.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0006861/0.2091, allocations: 377.5 kB / 0.6064 GB, free: 8.582 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.035e-05/0.2092, allocations: 118.6 kB / 0.6066 GB, free: 8.449 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.799e-06/0.2092, allocations: 4 kB / 0.6066 GB, free: 8.445 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.058e-05/0.2092, allocations: 0 / 0.6066 GB, free: 8.445 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002767/0.2095, allocations: 71.89 kB / 0.6066 GB, free: 8.375 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.278e-05/0.2095, allocations: 4 kB / 0.6066 GB, free: 8.371 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002351/0.2098, allocations: 55.61 kB / 0.6067 GB, free: 8.316 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.513e-05/0.2098, allocations: 12 kB / 0.6067 GB, free: 8.305 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.2098, allocations: 3.984 kB / 0.6067 GB, free: 8.301 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000482/0.2103, allocations: 280 kB / 0.607 GB, free: 8.027 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.2103, allocations: 4 kB / 0.607 GB, free: 8.023 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.849e-06/0.2103, allocations: 0 / 0.607 GB, free: 8.023 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002269/0.2106, allocations: 71.97 kB / 0.607 GB, free: 7.953 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.169e-06/0.2106, allocations: 4 kB / 0.607 GB, free: 7.949 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002018/0.2108, allocations: 39.67 kB / 0.6071 GB, free: 7.91 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.123e-05/0.2108, allocations: 12 kB / 0.6071 GB, free: 7.898 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 (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.0002426/0.2111, allocations: 257 kB / 0.6073 GB, free: 7.637 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.792e-05/0.2111, allocations: 39.53 kB / 0.6074 GB, free: 7.598 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001015/0.2113, allocations: 52.28 kB / 0.6074 GB, free: 7.547 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.2113, allocations: 4 kB / 0.6074 GB, free: 7.543 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.2113, allocations: 0 / 0.6074 GB, free: 7.543 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.2113, allocations: 0 / 0.6074 GB, free: 7.543 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001215/0.2125, allocations: 0.8883 MB / 0.6083 GB, free: 6.598 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.2125, allocations: 0 / 0.6083 GB, free: 6.598 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002481/0.2128, allocations: 55.91 kB / 0.6084 GB, free: 6.543 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.2128, allocations: 0 / 0.6084 GB, free: 6.543 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.298e-05/0.2128, allocations: 8 kB / 0.6084 GB, free: 6.535 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.2128, allocations: 0 / 0.6084 GB, free: 6.535 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2128, allocations: 0 / 0.6084 GB, free: 6.535 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008671/0.2137, allocations: 0.5697 MB / 0.6089 GB, free: 5.949 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001409/0.2139, allocations: 148.5 kB / 0.6091 GB, free: 5.785 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.119e-05/0.2139, allocations: 8 kB / 0.6091 GB, free: 5.777 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002144/0.2141, allocations: 31.97 kB / 0.6091 GB, free: 5.746 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.229e-05/0.2142, allocations: 23.97 kB / 0.6091 GB, free: 5.723 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.936e-05/0.2143, allocations: 20 kB / 0.6091 GB, free: 5.703 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002688/0.2145, allocations: 263.1 kB / 0.6094 GB, free: 5.445 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2145, allocations: 0 / 0.6094 GB, free: 5.445 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004845/0.215, allocations: 159.4 kB / 0.6095 GB, free: 5.289 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 (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.0001403/0.2152, allocations: 111.2 kB / 0.6096 GB, free: 5.168 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.000843/0.216, allocations: 463.7 kB / 0.6101 GB, free: 4.715 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.216, allocations: 0 / 0.6101 GB, free: 4.715 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002794/0.2163, allocations: 152.4 kB / 0.6102 GB, free: 4.566 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005731/0.2169, allocations: 70.12 kB / 0.6103 GB, free: 4.5 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001573/0.2185, allocations: 1.042 MB / 0.6113 GB, free: 3.434 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003887/0.2189, allocations: 0.8198 MB / 0.6121 GB, free: 2.582 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002018/0.2191, allocations: 51.27 kB / 0.6122 GB, free: 2.531 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001033/0.2192, allocations: 35.42 kB / 0.6122 GB, free: 2.5 MB / 462.1 MB Notification: Performance of SimCode: time 3.9e-07/0.2192, allocations: 0 / 0.6122 GB, free: 2.5 MB / 462.1 MB Notification: Performance of Templates: time 0.00846/0.2277, allocations: 3.854 MB / 0.616 GB, free: 14.69 MB / 478.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: