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.1787/0.1806, allocations: 80.84 MB / 0.5897 GB, free: 7.145 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.004597/0.1852, allocations: 3.165 MB / 0.5928 GB, free: 3.953 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001644/0.1869, allocations: 1.01 MB / 0.5938 GB, free: 2.934 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003238/0.1873, allocations: 11.94 kB / 0.5938 GB, free: 2.922 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002661/0.1875, allocations: 51.5 kB / 0.5938 GB, free: 2.871 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002078/0.1878, allocations: 67.44 kB / 0.5939 GB, free: 2.805 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005992/0.1884, allocations: 231.8 kB / 0.5941 GB, free: 2.578 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004934/0.1889, allocations: 0.5075 MB / 0.5946 GB, free: 2.07 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004024/0.1893, allocations: 247.7 kB / 0.5948 GB, free: 1.828 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002395/0.1895, allocations: 171.1 kB / 0.595 GB, free: 1.66 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002291/0.1898, allocations: 198.8 kB / 0.5952 GB, free: 1.465 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.443e-05/0.1898, allocations: 24 kB / 0.5952 GB, free: 1.441 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.668e-05/0.1899, allocations: 32 kB / 0.5952 GB, free: 1.41 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.752e-05/0.19, allocations: 87.5 kB / 0.5953 GB, free: 1.324 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001959/0.1902, allocations: 230.6 kB / 0.5955 GB, free: 1.098 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004576/0.1906, allocations: 0.5411 MB / 0.5961 GB, free: 0.5547 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/0.1907, allocations: 3.984 kB / 0.5961 GB, free: 0.5508 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1907, allocations: 0 / 0.5961 GB, free: 0.5508 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.693e-06/0.1907, allocations: 3.938 kB / 0.5961 GB, free: 0.5469 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: 95 * Number of variables: 95 Notification: Performance of Generate backend data structure: time 0.001186/0.1919, allocations: 0.7927 MB / 0.5968 GB, free: 15.7 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.1919, allocations: 8.031 kB / 0.5969 GB, free: 15.7 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.663e-05/0.192, allocations: 56.28 kB / 0.5969 GB, free: 15.64 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000441/0.1925, allocations: 403 kB / 0.5973 GB, free: 15.21 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.912e-05/0.1925, allocations: 37.38 kB / 0.5973 GB, free: 15.17 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.438e-05/0.1926, allocations: 36.38 kB / 0.5974 GB, free: 15.14 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007297/0.1933, allocations: 433 kB / 0.5978 GB, free: 14.69 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.1934, allocations: 0 / 0.5978 GB, free: 14.69 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.404e-05/0.1934, allocations: 16 kB / 0.5978 GB, free: 14.68 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.736e-06/0.1934, allocations: 8 kB / 0.5978 GB, free: 14.67 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005448/0.194, allocations: 299.8 kB / 0.5981 GB, free: 14.38 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001648/0.1956, allocations: 1.324 MB / 0.5994 GB, free: 12.98 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006458/0.1963, allocations: 332.1 kB / 0.5997 GB, free: 12.65 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002566/0.1966, allocations: 147.9 kB / 0.5998 GB, free: 12.5 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.614e-05/0.1966, allocations: 7.984 kB / 0.5998 GB, free: 12.5 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000409/0.197, allocations: 189.5 kB / 0.6 GB, free: 12.3 MB / 462.1 MB Notification: Performance of pre-optimization done (n=33): time 1.774e-06/0.197, allocations: 0 / 0.6 GB, free: 12.3 MB / 462.1 MB Notification: Performance of matching and sorting (n=33): time 0.0008313/0.1979, allocations: 418.6 kB / 0.6004 GB, free: 11.89 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.917e-05/0.1979, allocations: 106.8 kB / 0.6005 GB, free: 11.76 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000386/0.1983, allocations: 377.6 kB / 0.6009 GB, free: 11.38 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.711e-05/0.1984, allocations: 37.7 kB / 0.6009 GB, free: 11.34 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001679/0.1986, allocations: 236.4 kB / 0.6011 GB, free: 11.1 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.218e-05/0.1987, allocations: 102.5 kB / 0.6012 GB, free: 11 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001067/0.1988, allocations: 77.62 kB / 0.6013 GB, free: 10.92 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001337/0.1989, allocations: 354.7 kB / 0.6017 GB, free: 10.56 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000236/0.1991, allocations: 124.7 kB / 0.6018 GB, free: 10.44 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002628/0.1994, allocations: 174.3 kB / 0.6019 GB, free: 10.25 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004572/0.1999, allocations: 267.8 kB / 0.6022 GB, free: 9.973 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.1999, allocations: 0 / 0.6022 GB, free: 9.973 MB / 462.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0006465/0.2005, allocations: 369.1 kB / 0.6025 GB, free: 9.605 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.2006, allocations: 8 kB / 0.6026 GB, free: 9.598 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.2006, allocations: 0 / 0.6026 GB, free: 9.598 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.2006, allocations: 4 kB / 0.6026 GB, free: 9.594 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002809/0.2009, allocations: 63.91 kB / 0.6026 GB, free: 9.531 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.2009, allocations: 0 / 0.6026 GB, free: 9.531 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002042/0.2011, allocations: 51.72 kB / 0.6027 GB, free: 9.48 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.358e-05/0.2012, allocations: 16 kB / 0.6027 GB, free: 9.465 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002988/0.2015, allocations: 220.1 kB / 0.6029 GB, free: 9.246 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002303/0.2017, allocations: 166.6 kB / 0.6031 GB, free: 9.062 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003713/0.2021, allocations: 248.4 kB / 0.6033 GB, free: 8.805 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.342e-06/0.2021, allocations: 0 / 0.6033 GB, free: 8.805 MB / 462.1 MB Notification: Performance of matching and sorting (n=43) (initialization_lambda0): time 0.0005276/0.2026, allocations: 333 kB / 0.6036 GB, free: 8.473 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.414e-06/0.2026, allocations: 4 kB / 0.6036 GB, free: 8.469 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.134e-06/0.2026, allocations: 128 / 0.6036 GB, free: 8.469 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.856e-06/0.2026, allocations: 8 kB / 0.6036 GB, free: 8.461 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002246/0.2029, allocations: 59.91 kB / 0.6037 GB, free: 8.402 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.978e-06/0.2029, allocations: 7.938 kB / 0.6037 GB, free: 8.395 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001851/0.2031, allocations: 35.73 kB / 0.6037 GB, free: 8.359 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.107e-05/0.2031, allocations: 12 kB / 0.6037 GB, free: 8.348 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.0001419/0.2033, allocations: 204.1 kB / 0.6039 GB, free: 8.141 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.058e-05/0.2033, allocations: 47.52 kB / 0.604 GB, free: 8.094 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001014/0.2034, allocations: 48.3 kB / 0.604 GB, free: 8.047 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.2034, allocations: 0 / 0.604 GB, free: 8.047 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.2034, allocations: 4 kB / 0.604 GB, free: 8.043 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.2035, allocations: 0 / 0.604 GB, free: 8.043 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001231/0.2047, allocations: 0.8726 MB / 0.6049 GB, free: 7.113 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.2047, allocations: 4 kB / 0.6049 GB, free: 7.109 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002473/0.205, allocations: 51.91 kB / 0.6049 GB, free: 7.059 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.152e-06/0.205, allocations: 8 kB / 0.6049 GB, free: 7.051 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.267e-05/0.205, allocations: 4 kB / 0.6049 GB, free: 7.047 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.205, allocations: 0 / 0.6049 GB, free: 7.047 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.205, allocations: 7.875 kB / 0.6049 GB, free: 7.039 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008869/0.2059, allocations: 0.5541 MB / 0.6055 GB, free: 6.469 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001539/0.2061, allocations: 140.6 kB / 0.6056 GB, free: 6.312 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.164e-05/0.2061, allocations: 8 kB / 0.6056 GB, free: 6.305 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002004/0.2063, allocations: 23.97 kB / 0.6057 GB, free: 6.281 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.605e-05/0.2064, allocations: 27.91 kB / 0.6057 GB, free: 6.254 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.822e-05/0.2065, allocations: 8 kB / 0.6057 GB, free: 6.246 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002855/0.2067, allocations: 263.2 kB / 0.6059 GB, free: 5.988 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2068, allocations: 4.062 kB / 0.6059 GB, free: 5.984 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004882/0.2072, allocations: 159.3 kB / 0.6061 GB, free: 5.828 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.0001455/0.2074, allocations: 107.5 kB / 0.6062 GB, free: 5.711 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0008211/0.2082, allocations: 440.2 kB / 0.6066 GB, free: 5.281 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.2082, allocations: 4 kB / 0.6066 GB, free: 5.277 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002542/0.2085, allocations: 147.8 kB / 0.6068 GB, free: 5.133 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006304/0.2091, allocations: 81.95 kB / 0.6068 GB, free: 5.055 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001473/0.2106, allocations: 0.9927 MB / 0.6078 GB, free: 4.035 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003883/0.211, allocations: 0.8198 MB / 0.6086 GB, free: 3.184 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001946/0.2112, allocations: 51.25 kB / 0.6087 GB, free: 3.133 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.179e-05/0.2113, allocations: 27.44 kB / 0.6087 GB, free: 3.109 MB / 462.1 MB Notification: Performance of SimCode: time 2.695e-06/0.2113, allocations: 0 / 0.6087 GB, free: 3.109 MB / 462.1 MB Notification: Performance of Templates: time 0.007918/0.2193, allocations: 3.899 MB / 0.6125 GB, free: 15.25 MB / 478.1 MB 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)