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.2044/0.2064, allocations: 80.84 MB / 0.5899 GB, free: 6.973 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.00495/0.2114, allocations: 3.157 MB / 0.5929 GB, free: 3.789 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002175/0.2136, allocations: 1.018 MB / 0.5939 GB, free: 2.762 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003917/0.214, allocations: 15.94 kB / 0.594 GB, free: 2.746 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00027/0.2143, allocations: 47.52 kB / 0.594 GB, free: 2.699 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002065/0.2145, allocations: 71.44 kB / 0.5941 GB, free: 2.629 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005679/0.2151, allocations: 231.2 kB / 0.5943 GB, free: 2.406 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005108/0.2156, allocations: 0.5505 MB / 0.5948 GB, free: 1.855 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004143/0.216, allocations: 259.7 kB / 0.5951 GB, free: 1.602 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002544/0.2163, allocations: 211 kB / 0.5953 GB, free: 1.395 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002479/0.2166, allocations: 210.9 kB / 0.5955 GB, free: 1.188 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.785e-05/0.2167, allocations: 56 kB / 0.5955 GB, free: 1.133 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.74e-05/0.2167, allocations: 56 kB / 0.5956 GB, free: 1.078 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.932e-05/0.2168, allocations: 119.5 kB / 0.5957 GB, free: 0.9609 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000206/0.217, allocations: 250.6 kB / 0.5959 GB, free: 0.7148 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005782/0.2176, allocations: 0.5801 MB / 0.5965 GB, free: 136 kB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.2176, allocations: 7.938 kB / 0.5965 GB, free: 128 kB / 446.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.2177, allocations: 0 / 0.5965 GB, free: 128 kB / 446.1 MB Notification: Performance of Transformations before backend: time 8.756e-06/0.2177, allocations: 0 / 0.5965 GB, free: 128 kB / 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.001248/0.2189, allocations: 0.7854 MB / 0.5973 GB, free: 15.29 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.219, allocations: 8.031 kB / 0.5973 GB, free: 15.28 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001101/0.2191, allocations: 56.28 kB / 0.5973 GB, free: 15.22 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004878/0.2196, allocations: 403 kB / 0.5977 GB, free: 14.79 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.646e-05/0.2196, allocations: 33.38 kB / 0.5978 GB, free: 14.76 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.328e-05/0.2197, allocations: 40.36 kB / 0.5978 GB, free: 14.72 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007148/0.2204, allocations: 433 kB / 0.5982 GB, free: 14.27 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.631e-05/0.2204, allocations: 0 / 0.5982 GB, free: 14.27 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.674e-05/0.2205, allocations: 16 kB / 0.5982 GB, free: 14.26 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.402e-05/0.2205, allocations: 8 kB / 0.5982 GB, free: 14.25 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005907/0.2211, allocations: 295.8 kB / 0.5985 GB, free: 13.96 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001836/0.2229, allocations: 1.32 MB / 0.5998 GB, free: 12.57 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006622/0.2236, allocations: 340.1 kB / 0.6001 GB, free: 12.23 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002498/0.2239, allocations: 144.8 kB / 0.6003 GB, free: 12.09 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.794e-05/0.2239, allocations: 4 kB / 0.6003 GB, free: 12.08 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00048/0.2244, allocations: 189.5 kB / 0.6005 GB, free: 11.89 MB / 462.1 MB Notification: Performance of pre-optimization done (n=33): time 1.944e-06/0.2244, allocations: 3.938 kB / 0.6005 GB, free: 11.88 MB / 462.1 MB Notification: Performance of matching and sorting (n=33): time 0.0008541/0.2253, allocations: 410.7 kB / 0.6008 GB, free: 11.48 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.436e-05/0.2254, allocations: 110.8 kB / 0.601 GB, free: 11.34 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003854/0.2258, allocations: 385.5 kB / 0.6013 GB, free: 10.96 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.443e-05/0.2258, allocations: 33.7 kB / 0.6014 GB, free: 10.92 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001831/0.226, allocations: 240.4 kB / 0.6016 GB, free: 10.68 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.942e-05/0.2261, allocations: 102.5 kB / 0.6017 GB, free: 10.58 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000109/0.2262, allocations: 69.69 kB / 0.6017 GB, free: 10.5 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001749/0.2264, allocations: 354.7 kB / 0.6021 GB, free: 10.15 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002439/0.2267, allocations: 124.8 kB / 0.6022 GB, free: 10.02 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002618/0.2269, allocations: 170.3 kB / 0.6024 GB, free: 9.836 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004567/0.2274, allocations: 267.8 kB / 0.6026 GB, free: 9.562 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.2274, allocations: 4 kB / 0.6026 GB, free: 9.559 MB / 462.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005834/0.228, allocations: 365.1 kB / 0.603 GB, free: 9.195 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.228, allocations: 4 kB / 0.603 GB, free: 9.191 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.2281, allocations: 8.125 kB / 0.603 GB, free: 9.184 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.104e-05/0.2281, allocations: 7.984 kB / 0.603 GB, free: 9.176 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003006/0.2284, allocations: 63.89 kB / 0.6031 GB, free: 9.113 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.2284, allocations: 0 / 0.6031 GB, free: 9.113 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002303/0.2287, allocations: 43.67 kB / 0.6031 GB, free: 9.07 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.549e-05/0.2287, allocations: 12 kB / 0.6031 GB, free: 9.059 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003173/0.229, allocations: 228.1 kB / 0.6033 GB, free: 8.832 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002144/0.2292, allocations: 174.5 kB / 0.6035 GB, free: 8.641 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003493/0.2296, allocations: 240.5 kB / 0.6037 GB, free: 8.391 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.172e-06/0.2296, allocations: 4 kB / 0.6037 GB, free: 8.387 MB / 462.1 MB Notification: Performance of matching and sorting (n=43) (initialization_lambda0): time 0.0004786/0.2301, allocations: 333 kB / 0.604 GB, free: 8.055 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.035e-05/0.2301, allocations: 4 kB / 0.604 GB, free: 8.051 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.964e-06/0.2301, allocations: 0 / 0.604 GB, free: 8.051 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.771e-06/0.2301, allocations: 4 kB / 0.604 GB, free: 8.047 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002279/0.2304, allocations: 59.84 kB / 0.6041 GB, free: 7.988 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.2304, allocations: 4 kB / 0.6041 GB, free: 7.984 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002017/0.2306, allocations: 47.84 kB / 0.6042 GB, free: 7.938 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.993e-05/0.2306, allocations: 12 kB / 0.6042 GB, free: 7.926 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 (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.0001443/0.2308, allocations: 200.1 kB / 0.6044 GB, free: 7.723 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.319e-05/0.2308, allocations: 39.53 kB / 0.6044 GB, free: 7.684 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.301e-05/0.2309, allocations: 48.3 kB / 0.6044 GB, free: 7.637 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.2309, allocations: 7.938 kB / 0.6044 GB, free: 7.629 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.2309, allocations: 0 / 0.6044 GB, free: 7.629 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.825e-06/0.231, allocations: 11.98 kB / 0.6045 GB, free: 7.617 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001217/0.2322, allocations: 0.8728 MB / 0.6053 GB, free: 6.688 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.2322, allocations: 4 kB / 0.6053 GB, free: 6.684 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002539/0.2325, allocations: 47.91 kB / 0.6054 GB, free: 6.637 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.2325, allocations: 0 / 0.6054 GB, free: 6.637 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.758e-05/0.2325, allocations: 11.98 kB / 0.6054 GB, free: 6.625 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.2325, allocations: 4 kB / 0.6054 GB, free: 6.621 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.2325, allocations: 3.938 kB / 0.6054 GB, free: 6.617 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008839/0.2334, allocations: 0.5496 MB / 0.6059 GB, free: 6.051 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001454/0.2336, allocations: 140.6 kB / 0.6061 GB, free: 5.895 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.769e-05/0.2336, allocations: 11.98 kB / 0.6061 GB, free: 5.883 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002013/0.2338, allocations: 24.05 kB / 0.6061 GB, free: 5.859 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.384e-05/0.2339, allocations: 27.91 kB / 0.6061 GB, free: 5.832 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.927e-05/0.2339, allocations: 7.984 kB / 0.6061 GB, free: 5.824 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002693/0.2342, allocations: 263.2 kB / 0.6064 GB, free: 5.566 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.362e-06/0.2342, allocations: 0 / 0.6064 GB, free: 5.566 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.000485/0.2347, allocations: 159.3 kB / 0.6065 GB, free: 5.41 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 (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.0001329/0.2349, allocations: 110.7 kB / 0.6066 GB, free: 5.293 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0008585/0.2357, allocations: 452 kB / 0.6071 GB, free: 4.852 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.2357, allocations: 4 kB / 0.6071 GB, free: 4.848 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002494/0.236, allocations: 151.8 kB / 0.6072 GB, free: 4.699 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006238/0.2366, allocations: 102.4 kB / 0.6073 GB, free: 4.609 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001558/0.2382, allocations: 0.9885 MB / 0.6083 GB, free: 3.594 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003842/0.2386, allocations: 0.8198 MB / 0.6091 GB, free: 2.742 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000209/0.2388, allocations: 47.25 kB / 0.6091 GB, free: 2.695 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.491e-05/0.2389, allocations: 39.42 kB / 0.6092 GB, free: 2.66 MB / 462.1 MB Notification: Performance of SimCode: time 1.142e-06/0.2389, allocations: 4 kB / 0.6092 GB, free: 2.656 MB / 462.1 MB Notification: Performance of Templates: time 0.008275/0.2472, allocations: 4.068 MB / 0.6131 GB, free: 14.64 MB / 478.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)