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.2143/0.2152, allocations: 82.22 MB / 0.5934 GB, free: 6 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.003568/0.2188, allocations: 2.625 MB / 0.5959 GB, free: 3.355 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001721/0.2205, allocations: 0.9639 MB / 0.5969 GB, free: 2.383 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003011/0.2208, allocations: 11.94 kB / 0.5969 GB, free: 2.371 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 7.953e-05/0.2209, allocations: 35.64 kB / 0.5969 GB, free: 2.336 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004151/0.2213, allocations: 111.6 kB / 0.597 GB, free: 2.227 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004062/0.2217, allocations: 175.7 kB / 0.5972 GB, free: 2.055 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004654/0.2222, allocations: 340.5 kB / 0.5975 GB, free: 1.723 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003696/0.2226, allocations: 183.7 kB / 0.5977 GB, free: 1.539 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002156/0.2228, allocations: 143.2 kB / 0.5978 GB, free: 1.398 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002012/0.223, allocations: 155 kB / 0.598 GB, free: 1.246 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.716e-05/0.2231, allocations: 12 kB / 0.598 GB, free: 1.234 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.831e-05/0.2231, allocations: 20 kB / 0.598 GB, free: 1.215 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.777e-05/0.2232, allocations: 63.62 kB / 0.5981 GB, free: 1.152 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001052/0.2233, allocations: 105.5 kB / 0.5982 GB, free: 1.043 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003755/0.2237, allocations: 438.8 kB / 0.5986 GB, free: 0.6133 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.2237, allocations: 0 / 0.5986 GB, free: 0.6133 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.2237, allocations: 4 kB / 0.5986 GB, free: 0.6094 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.184e-06/0.2237, allocations: 0 / 0.5986 GB, free: 0.6094 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.00124/0.225, allocations: 0.7028 MB / 0.5993 GB, free: 15.86 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.225, allocations: 8.031 kB / 0.5993 GB, free: 15.85 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001008/0.2251, allocations: 59.25 kB / 0.5993 GB, free: 15.79 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005112/0.2256, allocations: 405.9 kB / 0.5997 GB, free: 15.35 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.65e-05/0.2257, allocations: 29 kB / 0.5997 GB, free: 15.32 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.421e-05/0.2258, allocations: 39.95 kB / 0.5998 GB, free: 15.29 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006847/0.2264, allocations: 424.7 kB / 0.6002 GB, free: 14.85 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.683e-05/0.2265, allocations: 0 / 0.6002 GB, free: 14.85 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.974e-05/0.2265, allocations: 16 kB / 0.6002 GB, free: 14.83 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.818e-06/0.2265, allocations: 8 kB / 0.6002 GB, free: 14.82 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005747/0.2271, allocations: 303.9 kB / 0.6005 GB, free: 14.53 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001812/0.2289, allocations: 1.336 MB / 0.6018 GB, free: 13.12 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006637/0.2296, allocations: 351.6 kB / 0.6021 GB, free: 12.77 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.503e-05/0.2297, allocations: 11.92 kB / 0.6022 GB, free: 12.76 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003948/0.2301, allocations: 194 kB / 0.6023 GB, free: 12.56 MB / 462.1 MB Notification: Performance of pre-optimization done (n=33): time 1.583e-06/0.2301, allocations: 0 / 0.6023 GB, free: 12.56 MB / 462.1 MB Notification: Performance of matching and sorting (n=33): time 0.0008519/0.2309, allocations: 430.7 kB / 0.6027 GB, free: 12.13 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.586e-05/0.231, allocations: 110.8 kB / 0.6029 GB, free: 12 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003904/0.2314, allocations: 365.6 kB / 0.6032 GB, free: 11.63 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.855e-05/0.2315, allocations: 37.7 kB / 0.6032 GB, free: 11.59 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001816/0.2316, allocations: 240.4 kB / 0.6035 GB, free: 11.35 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001008/0.2317, allocations: 106.5 kB / 0.6036 GB, free: 11.25 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.826e-05/0.2318, allocations: 8 kB / 0.6036 GB, free: 11.24 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001707/0.2319, allocations: 354.8 kB / 0.6039 GB, free: 10.88 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002498/0.2322, allocations: 112 kB / 0.604 GB, free: 10.77 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002752/0.2325, allocations: 190.2 kB / 0.6042 GB, free: 10.57 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002291/0.2327, allocations: 123.3 kB / 0.6043 GB, free: 10.45 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.2327, allocations: 0 / 0.6043 GB, free: 10.45 MB / 462.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0006033/0.2333, allocations: 381.8 kB / 0.6047 GB, free: 10.07 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001918/0.2335, allocations: 455.2 kB / 0.6051 GB, free: 9.594 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/0.2336, allocations: 4 kB / 0.6051 GB, free: 9.59 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.2336, allocations: 0 / 0.6051 GB, free: 9.59 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002671/0.2339, allocations: 63.91 kB / 0.6052 GB, free: 9.527 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.13e-05/0.2339, allocations: 4 kB / 0.6052 GB, free: 9.523 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002103/0.2341, allocations: 55.66 kB / 0.6052 GB, free: 9.469 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.249e-05/0.2341, allocations: 15.94 kB / 0.6053 GB, free: 9.453 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.586e-06/0.2341, allocations: 4 kB / 0.6053 GB, free: 9.449 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004456/0.2346, allocations: 271.8 kB / 0.6055 GB, free: 9.184 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.194e-06/0.2346, allocations: 0 / 0.6055 GB, free: 9.184 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.468e-06/0.2346, allocations: 4 kB / 0.6055 GB, free: 9.18 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002248/0.2348, allocations: 60.03 kB / 0.6056 GB, free: 9.121 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.2349, allocations: 4 kB / 0.6056 GB, free: 9.117 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001725/0.235, allocations: 39.73 kB / 0.6056 GB, free: 9.078 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.73e-05/0.2351, allocations: 12 kB / 0.6056 GB, free: 9.066 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 ($whenCondition3,$whenCondition2,$whenCondition1,$PRE.con.offHys.entryTime,con.offHys.entryTime,$PRE.con.onTimer.entryTime,con.onTimer.entryTime,$PRE.con.offTimer.entryTime,con.offTimer.entryTime,con.on,$PRE.con.hys.y,con.hys.y,con.greaterEqualThreshold.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002421/0.2353, allocations: 264.9 kB / 0.6059 GB, free: 8.797 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.905e-05/0.2354, allocations: 43.53 kB / 0.6059 GB, free: 8.754 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001661/0.2355, allocations: 44.3 kB / 0.606 GB, free: 8.711 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.2356, allocations: 7.938 kB / 0.606 GB, free: 8.703 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/0.2356, allocations: 4 kB / 0.606 GB, free: 8.699 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.2356, allocations: 0 / 0.606 GB, free: 8.699 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001134/0.2367, allocations: 0.8886 MB / 0.6068 GB, free: 7.754 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.2367, allocations: 0 / 0.6068 GB, free: 7.754 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002444/0.237, allocations: 47.97 kB / 0.6069 GB, free: 7.707 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.237, allocations: 0 / 0.6069 GB, free: 7.707 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.085e-05/0.237, allocations: 8 kB / 0.6069 GB, free: 7.699 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.237, allocations: 3.984 kB / 0.6069 GB, free: 7.695 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.237, allocations: 0 / 0.6069 GB, free: 7.695 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008632/0.2379, allocations: 0.5807 MB / 0.6075 GB, free: 7.098 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001359/0.2381, allocations: 140.6 kB / 0.6076 GB, free: 6.941 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.95e-05/0.2381, allocations: 12 kB / 0.6076 GB, free: 6.93 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000203/0.2383, allocations: 27.97 kB / 0.6076 GB, free: 6.902 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.857e-05/0.2384, allocations: 19.97 kB / 0.6077 GB, free: 6.883 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.893e-05/0.2384, allocations: 16.05 kB / 0.6077 GB, free: 6.867 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002452/0.2387, allocations: 255.2 kB / 0.6079 GB, free: 6.617 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2387, allocations: 0 / 0.6079 GB, free: 6.617 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004571/0.2392, allocations: 163.3 kB / 0.6081 GB, free: 6.457 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 (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.0001414/0.2393, allocations: 107.2 kB / 0.6082 GB, free: 6.34 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0008845/0.2402, allocations: 460.7 kB / 0.6086 GB, free: 5.891 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2402, allocations: 0 / 0.6086 GB, free: 5.891 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002668/0.2405, allocations: 156.3 kB / 0.6088 GB, free: 5.738 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004425/0.2409, allocations: 66.06 kB / 0.6088 GB, free: 5.676 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001441/0.2424, allocations: 0.9876 MB / 0.6098 GB, free: 4.664 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004466/0.2428, allocations: 0.8392 MB / 0.6106 GB, free: 3.797 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001692/0.243, allocations: 43.27 kB / 0.6107 GB, free: 3.754 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.87e-05/0.2431, allocations: 31.42 kB / 0.6107 GB, free: 3.723 MB / 462.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2431, allocations: 0 / 0.6107 GB, free: 3.723 MB / 462.1 MB Notification: Performance of Templates: time 0.007639/0.2508, allocations: 3.726 MB / 0.6143 GB, free: 44 kB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: