Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis.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.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis") translateModel(Buildings.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis") [/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.1931/0.1939, allocations: 82.22 MB / 0.5941 GB, free: 5.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.PIDHysteresis): time 0.003627/0.1976, allocations: 2.633 MB / 0.5967 GB, free: 2.934 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002077/0.1997, allocations: 0.9398 MB / 0.5976 GB, free: 1.984 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004875/0.2002, allocations: 11.94 kB / 0.5976 GB, free: 1.973 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002622/0.2005, allocations: 47.58 kB / 0.5977 GB, free: 1.926 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003759/0.2009, allocations: 75.42 kB / 0.5977 GB, free: 1.852 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005919/0.2015, allocations: 203.3 kB / 0.5979 GB, free: 1.656 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000604/0.2021, allocations: 455.2 kB / 0.5984 GB, free: 1.211 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00039/0.2025, allocations: 213.5 kB / 0.5986 GB, free: 1 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002523/0.2027, allocations: 127.2 kB / 0.5987 GB, free: 0.875 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002486/0.203, allocations: 143 kB / 0.5988 GB, free: 0.7344 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.719e-05/0.2031, allocations: 12 kB / 0.5988 GB, free: 0.7227 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.764e-05/0.2031, allocations: 12 kB / 0.5988 GB, free: 0.7109 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.878e-05/0.2032, allocations: 55.66 kB / 0.5989 GB, free: 0.6562 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000186/0.2034, allocations: 192.5 kB / 0.5991 GB, free: 472 kB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000465/0.2039, allocations: 478.2 kB / 0.5995 GB, free: 15.99 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.2039, allocations: 0 / 0.5995 GB, free: 15.99 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2039, allocations: 4 kB / 0.5995 GB, free: 15.98 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.434e-05/0.2039, allocations: 0 / 0.5995 GB, free: 15.98 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: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.001167/0.2051, allocations: 0.6544 MB / 0.6002 GB, free: 15.28 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.2051, allocations: 12.03 kB / 0.6002 GB, free: 15.27 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001151/0.2053, allocations: 52.28 kB / 0.6002 GB, free: 15.22 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000545/0.2058, allocations: 382.1 kB / 0.6006 GB, free: 14.8 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.309e-05/0.2058, allocations: 21.03 kB / 0.6006 GB, free: 14.79 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.533e-05/0.2059, allocations: 32.38 kB / 0.6006 GB, free: 14.75 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007/0.2066, allocations: 380.7 kB / 0.601 GB, free: 14.36 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/0.2066, allocations: 0 / 0.601 GB, free: 14.36 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.562e-05/0.2067, allocations: 12 kB / 0.601 GB, free: 14.35 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.102e-05/0.2067, allocations: 8 kB / 0.601 GB, free: 14.34 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005597/0.2073, allocations: 270.4 kB / 0.6013 GB, free: 14.07 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001896/0.2092, allocations: 1.205 MB / 0.6025 GB, free: 12.79 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000613/0.2098, allocations: 277.8 kB / 0.6027 GB, free: 12.52 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002472/0.2101, allocations: 124.8 kB / 0.6028 GB, free: 12.39 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.534e-05/0.2101, allocations: 384 / 0.6028 GB, free: 12.39 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.508e-05/0.2102, allocations: 46.48 kB / 0.6029 GB, free: 12.34 MB / 462.1 MB Notification: Performance of pre-optimization done (n=22): time 1.252e-06/0.2102, allocations: 0 / 0.6029 GB, free: 12.34 MB / 462.1 MB Notification: Performance of matching and sorting (n=22): time 0.0007606/0.2109, allocations: 342.8 kB / 0.6032 GB, free: 12 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001038/0.211, allocations: 136.5 kB / 0.6033 GB, free: 11.83 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004178/0.2115, allocations: 369.6 kB / 0.6037 GB, free: 11.46 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.003e-05/0.2115, allocations: 25.7 kB / 0.6037 GB, free: 11.43 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001814/0.2117, allocations: 236.2 kB / 0.604 GB, free: 11.2 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.888e-05/0.2118, allocations: 74.94 kB / 0.604 GB, free: 11.12 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.056e-05/0.2118, allocations: 29.7 kB / 0.6041 GB, free: 11.09 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.212, allocations: 346.8 kB / 0.6044 GB, free: 10.74 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002024/0.2122, allocations: 88.44 kB / 0.6045 GB, free: 10.65 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002361/0.2124, allocations: 164.5 kB / 0.6046 GB, free: 10.47 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004079/0.2128, allocations: 221.9 kB / 0.6048 GB, free: 10.25 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.2129, allocations: 0 / 0.6048 GB, free: 10.25 MB / 462.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005477/0.2134, allocations: 305.6 kB / 0.6051 GB, free: 9.941 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.68e-05/0.2135, allocations: 115.6 kB / 0.6052 GB, free: 9.812 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.2135, allocations: 4.094 kB / 0.6052 GB, free: 9.809 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.2135, allocations: 0 / 0.6052 GB, free: 9.809 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002362/0.2138, allocations: 59.91 kB / 0.6053 GB, free: 9.75 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.2138, allocations: 0 / 0.6053 GB, free: 9.75 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002109/0.214, allocations: 43.67 kB / 0.6053 GB, free: 9.707 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.953e-05/0.214, allocations: 12 kB / 0.6054 GB, free: 9.695 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.627e-06/0.2141, allocations: 4 kB / 0.6054 GB, free: 9.691 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003549/0.2144, allocations: 207.8 kB / 0.6056 GB, free: 9.488 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.505e-06/0.2144, allocations: 0 / 0.6056 GB, free: 9.488 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.639e-06/0.2144, allocations: 4 kB / 0.6056 GB, free: 9.484 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001821/0.2146, allocations: 47.92 kB / 0.6056 GB, free: 9.438 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.2146, allocations: 4 kB / 0.6056 GB, free: 9.434 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001787/0.2148, allocations: 39.91 kB / 0.6056 GB, free: 9.395 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.404e-05/0.2148, allocations: 7.938 kB / 0.6057 GB, free: 9.387 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 (con.hys.y,$PRE.con.hys.y,con.PID.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 28 * 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.0002056/0.2151, allocations: 241 kB / 0.6059 GB, free: 9.141 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.539e-05/0.2151, allocations: 35.53 kB / 0.6059 GB, free: 9.105 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.862e-05/0.2152, allocations: 47.55 kB / 0.606 GB, free: 9.055 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.2152, allocations: 4 kB / 0.606 GB, free: 9.051 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.2153, allocations: 0 / 0.606 GB, free: 9.051 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.2153, allocations: 3.984 kB / 0.606 GB, free: 9.047 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00046/0.2157, allocations: 433.1 kB / 0.6064 GB, free: 8.574 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.2157, allocations: 0 / 0.6064 GB, free: 8.574 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002271/0.216, allocations: 43.97 kB / 0.6064 GB, free: 8.531 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.216, allocations: 0 / 0.6064 GB, free: 8.531 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.108e-05/0.216, allocations: 8 kB / 0.6064 GB, free: 8.523 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.472e-06/0.216, allocations: 7.922 kB / 0.6064 GB, free: 8.516 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.216, allocations: 7.938 kB / 0.6064 GB, free: 8.508 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007487/0.2168, allocations: 492 kB / 0.6069 GB, free: 8.012 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001257/0.2169, allocations: 140.6 kB / 0.607 GB, free: 7.855 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.412e-05/0.217, allocations: 8 kB / 0.6071 GB, free: 7.848 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002036/0.2172, allocations: 27.97 kB / 0.6071 GB, free: 7.82 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.506e-05/0.2172, allocations: 16.03 kB / 0.6071 GB, free: 7.805 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.234e-05/0.2173, allocations: 8 kB / 0.6071 GB, free: 7.797 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000276/0.2176, allocations: 263.2 kB / 0.6074 GB, free: 7.547 MB / 462.1 MB Notification: Performance of sort global known variables: time 6.02e-07/0.2176, allocations: 0 / 0.6074 GB, free: 7.547 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004583/0.218, allocations: 123.5 kB / 0.6075 GB, free: 7.426 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.PID.I.y,cap.T) * Number of discrete variables: 1 (con.hys.y) * Number of discrete states: 1 (con.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 22 * 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.0001306/0.2182, allocations: 107.1 kB / 0.6076 GB, free: 7.312 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0007352/0.2189, allocations: 340.7 kB / 0.6079 GB, free: 6.98 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.2189, allocations: 0 / 0.6079 GB, free: 6.98 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002406/0.2192, allocations: 127.8 kB / 0.608 GB, free: 6.859 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000627/0.2198, allocations: 77.45 kB / 0.6081 GB, free: 6.781 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001507/0.2213, allocations: 0.9 MB / 0.609 GB, free: 5.855 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000426/0.2218, allocations: 0.7992 MB / 0.6098 GB, free: 5.027 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001789/0.2219, allocations: 46.94 kB / 0.6098 GB, free: 4.98 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.253e-05/0.222, allocations: 27.44 kB / 0.6098 GB, free: 4.957 MB / 462.1 MB Notification: Performance of SimCode: time 5.91e-07/0.222, allocations: 0 / 0.6098 GB, free: 4.957 MB / 462.1 MB Notification: Performance of Templates: time 0.007869/0.2299, allocations: 3.413 MB / 0.6132 GB, free: 1.582 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis.sim & ./Buildings_3.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe 2>&1) Environment - environmentSimulation: