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.4389/0.441, allocations: 80.81 MB / 0.5904 GB, free: 22.52 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.PIDHysteresis): time 0.004286/0.4453, allocations: 2.983 MB / 0.5933 GB, free: 19.82 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001717/0.4471, allocations: 0.9862 MB / 0.5943 GB, free: 18.83 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002565/0.4474, allocations: 15.94 kB / 0.5943 GB, free: 18.81 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002313/0.4476, allocations: 63.33 kB / 0.5944 GB, free: 18.75 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001679/0.4478, allocations: 94.42 kB / 0.5944 GB, free: 18.66 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004753/0.4483, allocations: 218.3 kB / 0.5946 GB, free: 18.45 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003587/0.4487, allocations: 496.3 kB / 0.5951 GB, free: 17.96 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003205/0.449, allocations: 227 kB / 0.5953 GB, free: 17.75 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001843/0.4492, allocations: 179.7 kB / 0.5955 GB, free: 17.58 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001702/0.4494, allocations: 197 kB / 0.5957 GB, free: 17.39 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.662e-05/0.4494, allocations: 48 kB / 0.5957 GB, free: 17.34 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.07e-05/0.4495, allocations: 48 kB / 0.5958 GB, free: 17.29 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.311e-05/0.4496, allocations: 99.62 kB / 0.5959 GB, free: 17.2 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000132/0.4497, allocations: 214.8 kB / 0.5961 GB, free: 16.98 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003607/0.4501, allocations: 0.5096 MB / 0.5966 GB, free: 16.48 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.4501, allocations: 0 / 0.5966 GB, free: 16.48 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.4501, allocations: 0 / 0.5966 GB, free: 16.48 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.043e-06/0.4501, allocations: 0 / 0.5966 GB, free: 16.48 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.0009232/0.451, allocations: 0.7241 MB / 0.5973 GB, free: 15.7 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.4511, allocations: 15.98 kB / 0.5973 GB, free: 15.69 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.713e-05/0.4511, allocations: 52.28 kB / 0.5974 GB, free: 15.64 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003625/0.4515, allocations: 382.1 kB / 0.5977 GB, free: 15.22 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.373e-05/0.4515, allocations: 21.03 kB / 0.5977 GB, free: 15.2 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.247e-05/0.4516, allocations: 32.38 kB / 0.5978 GB, free: 15.17 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004919/0.4521, allocations: 368.8 kB / 0.5981 GB, free: 14.79 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.697e-05/0.4521, allocations: 0 / 0.5981 GB, free: 14.79 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.078e-05/0.4522, allocations: 12 kB / 0.5981 GB, free: 14.78 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.827e-06/0.4522, allocations: 8 kB / 0.5981 GB, free: 14.77 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004235/0.4526, allocations: 254.4 kB / 0.5984 GB, free: 14.52 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001293/0.4539, allocations: 1.197 MB / 0.5996 GB, free: 13.25 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005001/0.4544, allocations: 258.9 kB / 0.5998 GB, free: 12.99 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001855/0.4546, allocations: 116.8 kB / 0.5999 GB, free: 12.87 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.131e-05/0.4547, allocations: 4.375 kB / 0.5999 GB, free: 12.87 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.724e-05/0.4547, allocations: 42.48 kB / 0.6 GB, free: 12.82 MB / 446.1 MB Notification: Performance of pre-optimization done (n=22): time 1.383e-06/0.4547, allocations: 0 / 0.6 GB, free: 12.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=22): time 0.0005961/0.4553, allocations: 331.5 kB / 0.6003 GB, free: 12.49 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.515e-05/0.4553, allocations: 132.5 kB / 0.6004 GB, free: 12.33 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002726/0.4556, allocations: 365.6 kB / 0.6008 GB, free: 11.96 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.113e-05/0.4556, allocations: 29.7 kB / 0.6008 GB, free: 11.93 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001119/0.4558, allocations: 224.3 kB / 0.601 GB, free: 11.71 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.451e-05/0.4558, allocations: 78.84 kB / 0.6011 GB, free: 11.63 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.107e-05/0.4559, allocations: 49.94 kB / 0.6011 GB, free: 11.57 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.847e-05/0.456, allocations: 354.7 kB / 0.6015 GB, free: 11.22 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001688/0.4561, allocations: 93.75 kB / 0.6015 GB, free: 11.12 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001859/0.4563, allocations: 147.8 kB / 0.6017 GB, free: 10.96 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003217/0.4567, allocations: 217.2 kB / 0.6019 GB, free: 10.74 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.4567, allocations: 0 / 0.6019 GB, free: 10.74 MB / 446.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004326/0.4571, allocations: 293.6 kB / 0.6022 GB, free: 10.45 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.4571, allocations: 8 kB / 0.6022 GB, free: 10.44 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.4571, allocations: 0 / 0.6022 GB, free: 10.44 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.4572, allocations: 4 kB / 0.6022 GB, free: 10.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002114/0.4574, allocations: 51.91 kB / 0.6022 GB, free: 10.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.4574, allocations: 4 kB / 0.6022 GB, free: 10.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000165/0.4576, allocations: 27.83 kB / 0.6023 GB, free: 10.35 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.78e-05/0.4576, allocations: 16.08 kB / 0.6023 GB, free: 10.34 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001943/0.4578, allocations: 200.3 kB / 0.6025 GB, free: 10.14 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001377/0.4579, allocations: 134.4 kB / 0.6026 GB, free: 9.984 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002305/0.4582, allocations: 191.3 kB / 0.6028 GB, free: 9.785 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.022e-06/0.4582, allocations: 0 / 0.6028 GB, free: 9.785 MB / 446.1 MB Notification: Performance of matching and sorting (n=28) (initialization_lambda0): time 0.0003227/0.4585, allocations: 261 kB / 0.603 GB, free: 9.523 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.552e-06/0.4585, allocations: 8 kB / 0.603 GB, free: 9.516 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.613e-06/0.4585, allocations: 0 / 0.603 GB, free: 9.516 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.475e-06/0.4585, allocations: 4 kB / 0.603 GB, free: 9.512 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001723/0.4587, allocations: 51.91 kB / 0.6031 GB, free: 9.461 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.306e-06/0.4587, allocations: 8.094 kB / 0.6031 GB, free: 9.453 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001661/0.4589, allocations: 35.81 kB / 0.6031 GB, free: 9.418 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.149e-05/0.4589, allocations: 4 kB / 0.6031 GB, free: 9.414 MB / 446.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 7.497e-05/0.459, allocations: 200.5 kB / 0.6033 GB, free: 9.211 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.336e-05/0.4591, allocations: 39.53 kB / 0.6034 GB, free: 9.172 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.367e-05/0.4591, allocations: 39.52 kB / 0.6034 GB, free: 9.133 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.4591, allocations: 4 kB / 0.6034 GB, free: 9.129 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.4592, allocations: 4 kB / 0.6034 GB, free: 9.125 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.4592, allocations: 7.922 kB / 0.6034 GB, free: 9.117 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003214/0.4595, allocations: 425.2 kB / 0.6038 GB, free: 8.652 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.4595, allocations: 0 / 0.6038 GB, free: 8.652 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002106/0.4597, allocations: 39.98 kB / 0.6039 GB, free: 8.613 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.4597, allocations: 0 / 0.6039 GB, free: 8.613 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.655e-05/0.4597, allocations: 7.984 kB / 0.6039 GB, free: 8.605 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.4598, allocations: 0 / 0.6039 GB, free: 8.605 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.4598, allocations: 0 / 0.6039 GB, free: 8.605 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000579/0.4603, allocations: 482.2 kB / 0.6043 GB, free: 8.121 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.548e-05/0.4604, allocations: 136.6 kB / 0.6045 GB, free: 7.969 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.404e-05/0.4605, allocations: 8 kB / 0.6045 GB, free: 7.961 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001807/0.4607, allocations: 16.08 kB / 0.6045 GB, free: 7.945 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.465e-05/0.4608, allocations: 27.89 kB / 0.6045 GB, free: 7.918 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.149e-05/0.4608, allocations: 8.062 kB / 0.6045 GB, free: 7.91 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001827/0.461, allocations: 263.2 kB / 0.6048 GB, free: 7.652 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.461, allocations: 0 / 0.6048 GB, free: 7.652 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004073/0.4614, allocations: 127.5 kB / 0.6049 GB, free: 7.527 MB / 446.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.0001058/0.4615, allocations: 107.1 kB / 0.605 GB, free: 7.414 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005788/0.4621, allocations: 347.8 kB / 0.6053 GB, free: 7.074 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.4621, allocations: 0 / 0.6053 GB, free: 7.074 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001744/0.4623, allocations: 115.8 kB / 0.6054 GB, free: 6.961 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005064/0.4628, allocations: 81.61 kB / 0.6055 GB, free: 6.887 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001122/0.4639, allocations: 0.7314 MB / 0.6062 GB, free: 6.125 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002223/0.4641, allocations: 0.7951 MB / 0.607 GB, free: 5.305 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001502/0.4643, allocations: 38.95 kB / 0.607 GB, free: 5.262 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.902e-05/0.4644, allocations: 27.44 kB / 0.6071 GB, free: 5.234 MB / 446.1 MB Notification: Performance of SimCode: time 3.9e-07/0.4644, allocations: 0 / 0.6071 GB, free: 5.234 MB / 446.1 MB Notification: Performance of Templates: time 0.006384/0.4708, allocations: 3.683 MB / 0.6107 GB, free: 1.598 MB / 446.1 MB make -j1 -f Buildings_3.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis.makefile (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)