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.2006/0.2013, allocations: 82.21 MB / 0.5935 GB, free: 5.984 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.PIDHysteresis): time 0.003864/0.2052, allocations: 2.522 MB / 0.5959 GB, free: 3.441 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001958/0.2072, allocations: 0.9207 MB / 0.5968 GB, free: 2.512 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002693/0.2075, allocations: 11.94 kB / 0.5968 GB, free: 2.5 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001921/0.2077, allocations: 43.58 kB / 0.5969 GB, free: 2.457 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001705/0.2079, allocations: 67.42 kB / 0.5969 GB, free: 2.391 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005009/0.2084, allocations: 154.9 kB / 0.5971 GB, free: 2.242 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004578/0.2088, allocations: 431.3 kB / 0.5975 GB, free: 1.82 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003061/0.2091, allocations: 153.3 kB / 0.5976 GB, free: 1.664 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001939/0.2093, allocations: 131.2 kB / 0.5978 GB, free: 1.535 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001919/0.2095, allocations: 135.1 kB / 0.5979 GB, free: 1.402 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.995e-05/0.2096, allocations: 12 kB / 0.5979 GB, free: 1.391 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.281e-05/0.2096, allocations: 12 kB / 0.5979 GB, free: 1.379 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.43e-05/0.2097, allocations: 59.7 kB / 0.598 GB, free: 1.32 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.456e-05/0.2098, allocations: 89.45 kB / 0.5981 GB, free: 1.227 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003768/0.2102, allocations: 391 kB / 0.5984 GB, free: 0.8438 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.2102, allocations: 0 / 0.5984 GB, free: 0.8438 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.2102, allocations: 0 / 0.5984 GB, free: 0.8438 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.384e-06/0.2102, allocations: 0 / 0.5984 GB, free: 0.8438 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: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.00102/0.2112, allocations: 0.6621 MB / 0.5991 GB, free: 132 kB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.2113, allocations: 8.031 kB / 0.5991 GB, free: 124 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.287e-05/0.2114, allocations: 51.34 kB / 0.5991 GB, free: 72 kB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004909/0.2119, allocations: 369.1 kB / 0.5995 GB, free: 15.67 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.964e-05/0.2119, allocations: 28.66 kB / 0.5995 GB, free: 15.64 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.894e-05/0.212, allocations: 39.94 kB / 0.5996 GB, free: 15.6 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006222/0.2126, allocations: 360.4 kB / 0.5999 GB, free: 15.23 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.57e-05/0.2126, allocations: 4 kB / 0.5999 GB, free: 15.23 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.381e-05/0.2127, allocations: 12 kB / 0.5999 GB, free: 15.21 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.167e-05/0.2127, allocations: 8 kB / 0.5999 GB, free: 15.21 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005156/0.2132, allocations: 258.4 kB / 0.6002 GB, free: 14.95 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001736/0.2149, allocations: 1.202 MB / 0.6013 GB, free: 13.68 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000584/0.2155, allocations: 279.3 kB / 0.6016 GB, free: 13.4 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002148/0.2158, allocations: 121.2 kB / 0.6017 GB, free: 13.28 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.927e-05/0.2158, allocations: 4.188 kB / 0.6017 GB, free: 13.27 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.205e-05/0.2159, allocations: 38.69 kB / 0.6018 GB, free: 13.23 MB / 462.1 MB Notification: Performance of pre-optimization done (n=22): time 1.502e-06/0.2159, allocations: 0 / 0.6018 GB, free: 13.23 MB / 462.1 MB Notification: Performance of matching and sorting (n=22): time 0.0007288/0.2166, allocations: 349.2 kB / 0.6021 GB, free: 12.88 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001113/0.2167, allocations: 136.5 kB / 0.6022 GB, free: 12.72 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004136/0.2171, allocations: 365.6 kB / 0.6026 GB, free: 12.35 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.523e-05/0.2172, allocations: 29.7 kB / 0.6026 GB, free: 12.32 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001837/0.2174, allocations: 228.3 kB / 0.6028 GB, free: 12.09 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.361e-05/0.2174, allocations: 74.89 kB / 0.6029 GB, free: 12.02 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.416e-05/0.2175, allocations: 8 kB / 0.6029 GB, free: 12.01 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.2176, allocations: 346.8 kB / 0.6032 GB, free: 11.66 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001944/0.2178, allocations: 88.44 kB / 0.6033 GB, free: 11.57 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000232/0.2181, allocations: 164.4 kB / 0.6035 GB, free: 11.39 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002102/0.2183, allocations: 97.95 kB / 0.6036 GB, free: 11.3 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.2183, allocations: 3.938 kB / 0.6036 GB, free: 11.3 MB / 462.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005699/0.2189, allocations: 297.7 kB / 0.6039 GB, free: 11 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.325e-05/0.219, allocations: 120.2 kB / 0.604 GB, free: 10.87 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.219, allocations: 0 / 0.604 GB, free: 10.87 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.219, allocations: 8 kB / 0.604 GB, free: 10.86 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000242/0.2193, allocations: 56.05 kB / 0.604 GB, free: 10.8 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.096e-05/0.2193, allocations: 0 / 0.604 GB, free: 10.8 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001821/0.2195, allocations: 51.61 kB / 0.6041 GB, free: 10.75 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.276e-05/0.2195, allocations: 12 kB / 0.6041 GB, free: 10.74 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.164e-06/0.2195, allocations: 4 kB / 0.6041 GB, free: 10.74 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003527/0.2199, allocations: 208 kB / 0.6043 GB, free: 10.54 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.2199, allocations: 4 kB / 0.6043 GB, free: 10.53 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.16e-06/0.2199, allocations: 4 kB / 0.6043 GB, free: 10.53 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001779/0.2201, allocations: 43.92 kB / 0.6043 GB, free: 10.48 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.876e-06/0.2201, allocations: 0 / 0.6043 GB, free: 10.48 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001738/0.2203, allocations: 43.91 kB / 0.6044 GB, free: 10.44 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.391e-05/0.2203, allocations: 8 kB / 0.6044 GB, free: 10.43 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 ($PRE.con.hys.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002102/0.2205, allocations: 241 kB / 0.6046 GB, free: 10.19 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.814e-05/0.2206, allocations: 39.47 kB / 0.6047 GB, free: 10.15 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.265e-05/0.2207, allocations: 39.52 kB / 0.6047 GB, free: 10.11 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.2207, allocations: 4 kB / 0.6047 GB, free: 10.1 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.2207, allocations: 0 / 0.6047 GB, free: 10.1 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.201e-06/0.2207, allocations: 7.984 kB / 0.6047 GB, free: 10.09 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004734/0.2212, allocations: 433.2 kB / 0.6051 GB, free: 9.621 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.2212, allocations: 0 / 0.6051 GB, free: 9.621 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002178/0.2214, allocations: 47.91 kB / 0.6052 GB, free: 9.574 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.225e-06/0.2214, allocations: 0 / 0.6052 GB, free: 9.574 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.017e-05/0.2215, allocations: 8 kB / 0.6052 GB, free: 9.566 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.2215, allocations: 0 / 0.6052 GB, free: 9.566 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2215, allocations: 0 / 0.6052 GB, free: 9.566 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007275/0.2222, allocations: 492 kB / 0.6056 GB, free: 9.07 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001222/0.2223, allocations: 136.7 kB / 0.6058 GB, free: 8.918 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.008e-05/0.2224, allocations: 0 / 0.6058 GB, free: 8.918 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001859/0.2226, allocations: 35.88 kB / 0.6058 GB, free: 8.883 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.119e-05/0.2226, allocations: 19.97 kB / 0.6058 GB, free: 8.863 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.369e-05/0.2227, allocations: 4 kB / 0.6058 GB, free: 8.859 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002764/0.2229, allocations: 255.2 kB / 0.6061 GB, free: 8.617 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.223, allocations: 0 / 0.6061 GB, free: 8.617 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004392/0.2234, allocations: 127.5 kB / 0.6062 GB, free: 8.492 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 (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.0001472/0.2236, allocations: 107.2 kB / 0.6063 GB, free: 8.379 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006805/0.2242, allocations: 344.6 kB / 0.6066 GB, free: 8.043 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.2243, allocations: 0 / 0.6066 GB, free: 8.043 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002036/0.2245, allocations: 126.8 kB / 0.6068 GB, free: 7.922 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005874/0.2251, allocations: 73.77 kB / 0.6068 GB, free: 7.848 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001283/0.2264, allocations: 0.8764 MB / 0.6077 GB, free: 6.945 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003574/0.2267, allocations: 0.7992 MB / 0.6085 GB, free: 6.117 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001646/0.2269, allocations: 46.92 kB / 0.6085 GB, free: 6.07 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.721e-05/0.227, allocations: 23.44 kB / 0.6085 GB, free: 6.047 MB / 462.1 MB Notification: Performance of SimCode: time 2.5e-07/0.227, allocations: 0 / 0.6085 GB, free: 6.047 MB / 462.1 MB Notification: Performance of Templates: time 0.007492/0.2345, allocations: 3.302 MB / 0.6117 GB, free: 2.781 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: