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.4274/0.4294, allocations: 80.82 MB / 0.5904 GB, free: 22.35 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.004076/0.4336, allocations: 3.127 MB / 0.5935 GB, free: 19.66 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001486/0.4351, allocations: 1.042 MB / 0.5945 GB, free: 18.61 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002538/0.4354, allocations: 12 kB / 0.5945 GB, free: 18.6 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002214/0.4356, allocations: 79.12 kB / 0.5946 GB, free: 18.52 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001894/0.4358, allocations: 100.8 kB / 0.5947 GB, free: 18.43 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005204/0.4363, allocations: 241.3 kB / 0.5949 GB, free: 18.19 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003723/0.4367, allocations: 0.5505 MB / 0.5954 GB, free: 17.64 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003664/0.4371, allocations: 260.5 kB / 0.5957 GB, free: 17.4 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001858/0.4373, allocations: 215 kB / 0.5959 GB, free: 17.19 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002055/0.4375, allocations: 210.9 kB / 0.5961 GB, free: 16.98 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.216e-05/0.4376, allocations: 56 kB / 0.5961 GB, free: 16.93 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.588e-05/0.4376, allocations: 59.41 kB / 0.5962 GB, free: 16.87 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.823e-05/0.4377, allocations: 119.5 kB / 0.5963 GB, free: 16.75 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001549/0.4379, allocations: 254.6 kB / 0.5965 GB, free: 16.5 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004046/0.4383, allocations: 0.5724 MB / 0.5971 GB, free: 15.93 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.4383, allocations: 0 / 0.5971 GB, free: 15.93 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.4383, allocations: 3.938 kB / 0.5971 GB, free: 15.93 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.239e-05/0.4383, allocations: 0 / 0.5971 GB, free: 15.93 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.001081/0.4394, allocations: 0.7883 MB / 0.5979 GB, free: 15.09 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.4394, allocations: 8.031 kB / 0.5979 GB, free: 15.08 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.581e-05/0.4395, allocations: 64.28 kB / 0.5979 GB, free: 15.02 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004082/0.44, allocations: 403 kB / 0.5983 GB, free: 14.59 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.04e-05/0.44, allocations: 33.38 kB / 0.5984 GB, free: 14.55 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.675e-05/0.4401, allocations: 40.38 kB / 0.5984 GB, free: 14.51 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005512/0.4406, allocations: 421 kB / 0.5988 GB, free: 14.08 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.656e-05/0.4406, allocations: 8 kB / 0.5988 GB, free: 14.07 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.33e-05/0.4407, allocations: 16 kB / 0.5988 GB, free: 14.06 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.036e-05/0.4407, allocations: 11.98 kB / 0.5988 GB, free: 14.05 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004922/0.4412, allocations: 299.8 kB / 0.5991 GB, free: 13.75 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001409/0.4426, allocations: 1.32 MB / 0.6004 GB, free: 12.36 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005727/0.4432, allocations: 339.1 kB / 0.6007 GB, free: 12.02 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002171/0.4434, allocations: 140.8 kB / 0.6009 GB, free: 11.88 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.49e-05/0.4435, allocations: 4 kB / 0.6009 GB, free: 11.88 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003048/0.4438, allocations: 185.5 kB / 0.6011 GB, free: 11.68 MB / 446.1 MB Notification: Performance of pre-optimization done (n=33): time 1.573e-06/0.4438, allocations: 4 kB / 0.6011 GB, free: 11.68 MB / 446.1 MB Notification: Performance of matching and sorting (n=33): time 0.0007154/0.4445, allocations: 410.7 kB / 0.6014 GB, free: 11.27 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.813e-05/0.4446, allocations: 110.8 kB / 0.6016 GB, free: 11.14 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002743/0.4449, allocations: 377.6 kB / 0.6019 GB, free: 10.76 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.761e-05/0.4449, allocations: 37.7 kB / 0.602 GB, free: 10.72 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001214/0.445, allocations: 244.4 kB / 0.6022 GB, free: 10.48 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.746e-05/0.4451, allocations: 94.56 kB / 0.6023 GB, free: 10.38 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.348e-05/0.4452, allocations: 73.69 kB / 0.6023 GB, free: 10.3 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.173e-05/0.4453, allocations: 354.7 kB / 0.6027 GB, free: 9.949 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002478/0.4455, allocations: 124.8 kB / 0.6028 GB, free: 9.824 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002205/0.4458, allocations: 174.3 kB / 0.603 GB, free: 9.633 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003764/0.4461, allocations: 266.1 kB / 0.6032 GB, free: 9.359 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.4462, allocations: 4 kB / 0.6032 GB, free: 9.355 MB / 446.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005037/0.4467, allocations: 361.1 kB / 0.6036 GB, free: 8.996 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.4467, allocations: 4 kB / 0.6036 GB, free: 8.992 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.4467, allocations: 7.938 kB / 0.6036 GB, free: 8.984 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.4467, allocations: 0 / 0.6036 GB, free: 8.984 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002495/0.447, allocations: 72.02 kB / 0.6036 GB, free: 8.914 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.323e-06/0.447, allocations: 4 kB / 0.6037 GB, free: 8.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001777/0.4472, allocations: 39.67 kB / 0.6037 GB, free: 8.871 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.972e-05/0.4472, allocations: 12 kB / 0.6037 GB, free: 8.859 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002344/0.4475, allocations: 224.1 kB / 0.6039 GB, free: 8.637 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001779/0.4476, allocations: 174.6 kB / 0.6041 GB, free: 8.445 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002966/0.4479, allocations: 240.4 kB / 0.6043 GB, free: 8.195 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.102e-06/0.4479, allocations: 0 / 0.6043 GB, free: 8.195 MB / 446.1 MB Notification: Performance of matching and sorting (n=43) (initialization_lambda0): time 0.0004186/0.4484, allocations: 337 kB / 0.6046 GB, free: 7.859 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.909e-06/0.4484, allocations: 9.875 kB / 0.6046 GB, free: 7.852 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.833e-06/0.4484, allocations: 3.938 kB / 0.6046 GB, free: 7.848 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.906e-06/0.4484, allocations: 4 kB / 0.6047 GB, free: 7.844 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002083/0.4486, allocations: 59.91 kB / 0.6047 GB, free: 7.785 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/0.4486, allocations: 4 kB / 0.6047 GB, free: 7.781 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001684/0.4488, allocations: 35.67 kB / 0.6047 GB, free: 7.746 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.848e-05/0.4488, allocations: 16.11 kB / 0.6048 GB, free: 7.73 MB / 446.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.0001025/0.4489, allocations: 213 kB / 0.605 GB, free: 7.516 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.274e-05/0.449, allocations: 39.53 kB / 0.605 GB, free: 7.477 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.173e-05/0.4491, allocations: 48.3 kB / 0.605 GB, free: 7.43 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.4491, allocations: 4 kB / 0.6051 GB, free: 7.426 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/0.4491, allocations: 4 kB / 0.6051 GB, free: 7.422 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.4491, allocations: 3.984 kB / 0.6051 GB, free: 7.418 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009403/0.4501, allocations: 0.8768 MB / 0.6059 GB, free: 6.484 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.4501, allocations: 0 / 0.6059 GB, free: 6.484 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002232/0.4503, allocations: 51.91 kB / 0.606 GB, free: 6.434 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.317e-06/0.4503, allocations: 4 kB / 0.606 GB, free: 6.43 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.163e-05/0.4503, allocations: 4 kB / 0.606 GB, free: 6.426 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.4503, allocations: 11.92 kB / 0.606 GB, free: 6.414 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.4503, allocations: 3.938 kB / 0.606 GB, free: 6.41 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000704/0.4511, allocations: 0.5457 MB / 0.6065 GB, free: 5.848 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001031/0.4512, allocations: 144.6 kB / 0.6067 GB, free: 5.688 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.551e-05/0.4512, allocations: 4 kB / 0.6067 GB, free: 5.684 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001832/0.4514, allocations: 23.97 kB / 0.6067 GB, free: 5.66 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.943e-05/0.4515, allocations: 27.97 kB / 0.6067 GB, free: 5.633 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.576e-05/0.4515, allocations: 15.94 kB / 0.6067 GB, free: 5.617 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001953/0.4517, allocations: 263.2 kB / 0.607 GB, free: 5.363 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4517, allocations: 0 / 0.607 GB, free: 5.363 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004296/0.4522, allocations: 159.4 kB / 0.6071 GB, free: 5.207 MB / 446.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.0001218/0.4523, allocations: 104.1 kB / 0.6072 GB, free: 5.094 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007689/0.4531, allocations: 464.1 kB / 0.6077 GB, free: 4.641 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.4531, allocations: 3.938 kB / 0.6077 GB, free: 4.637 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002196/0.4533, allocations: 147.8 kB / 0.6078 GB, free: 4.492 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005305/0.4538, allocations: 83.7 kB / 0.6079 GB, free: 4.422 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001406/0.4553, allocations: 0.8286 MB / 0.6087 GB, free: 3.566 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002803/0.4555, allocations: 0.8159 MB / 0.6095 GB, free: 2.723 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001781/0.4557, allocations: 55.23 kB / 0.6096 GB, free: 2.668 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.718e-05/0.4558, allocations: 27.44 kB / 0.6096 GB, free: 2.641 MB / 446.1 MB Notification: Performance of SimCode: time 6.61e-07/0.4558, allocations: 0 / 0.6096 GB, free: 2.641 MB / 446.1 MB Notification: Performance of Templates: time 0.008145/0.464, allocations: 4.172 MB / 0.6137 GB, free: 14.51 MB / 462.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)