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/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.8121/0.8121, allocations: 132.4 MB / 139.7 MB, free: 15.51 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001287/0.001288, allocations: 171.9 kB / 171.6 MB, free: 1.969 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.436/1.436, allocations: 170.5 MB / 373.9 MB, free: 15.84 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00218/0.00218, allocations: 108.5 kB / 444.4 MB, free: 9.359 MB / 346.7 MB [/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.5844/0.5845, allocations: 73.39 MB / 0.666 GB, free: 62.31 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1753/0.7598, allocations: 107.5 MB / 0.771 GB, free: 12.77 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003519/0.7603, allocations: 71.97 kB / 0.771 GB, free: 12.7 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.02528/0.7856, allocations: 8.417 MB / 0.7792 GB, free: 4.344 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.991e-05/0.7857, allocations: 11.94 kB / 0.7793 GB, free: 4.332 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.001296/0.787, allocations: 0.6555 MB / 0.7799 GB, free: 3.637 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.252e-05/0.787, allocations: 12.03 kB / 0.7799 GB, free: 3.625 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002137/0.7873, allocations: 55.34 kB / 0.78 GB, free: 3.57 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008467/0.7881, allocations: 399.4 kB / 0.7803 GB, free: 3.141 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.536e-05/0.7882, allocations: 12 kB / 0.7803 GB, free: 3.129 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.468e-05/0.7882, allocations: 23.98 kB / 0.7804 GB, free: 3.105 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005237/0.7888, allocations: 219.5 kB / 0.7806 GB, free: 2.895 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006121/0.7894, allocations: 314.3 kB / 0.7809 GB, free: 2.57 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.819e-05/0.7894, allocations: 0 / 0.7809 GB, free: 2.57 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.115e-05/0.7895, allocations: 4 kB / 0.7809 GB, free: 2.566 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.447e-05/0.7895, allocations: 8 kB / 0.7809 GB, free: 2.559 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002057/0.7916, allocations: 1.04 MB / 0.7819 GB, free: 1.469 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004339/0.792, allocations: 198.9 kB / 0.7821 GB, free: 1.27 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001979/0.7922, allocations: 108.9 kB / 0.7822 GB, free: 1.16 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.346e-05/0.7923, allocations: 4.5 kB / 0.7822 GB, free: 1.156 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002403/0.7925, allocations: 151.2 kB / 0.7823 GB, free: 0.9961 MB / 490.7 MB Notification: Performance of pre-optimization done (n=32): time 2.124e-06/0.7925, allocations: 4 kB / 0.7824 GB, free: 0.9922 MB / 490.7 MB Notification: Performance of matching and sorting (n=32): time 0.0005158/0.7931, allocations: 239.9 kB / 0.7826 GB, free: 0.7539 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.967e-05/0.7931, allocations: 110.8 kB / 0.7827 GB, free: 0.6211 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000325/0.7935, allocations: 264.2 kB / 0.7829 GB, free: 368 kB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.143e-05/0.7935, allocations: 33.7 kB / 0.783 GB, free: 328 kB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001541/0.7937, allocations: 180.5 kB / 0.7831 GB, free: 140 kB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001088/0.7938, allocations: 95.11 kB / 0.7832 GB, free: 44 kB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.491e-05/0.7938, allocations: 0 / 0.7832 GB, free: 44 kB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001877/0.794, allocations: 346.8 kB / 0.7836 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001552/0.7942, allocations: 80.66 kB / 0.7836 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000192/0.7944, allocations: 128.3 kB / 0.7838 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001707/0.7946, allocations: 86.25 kB / 0.7838 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.7946, allocations: 0 / 0.7838 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004512/0.795, allocations: 272.4 kB / 0.7841 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.7951, allocations: 8 kB / 0.7841 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.7951, allocations: 0 / 0.7841 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.7951, allocations: 3.938 kB / 0.7841 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002979/0.7954, allocations: 67.97 kB / 0.7842 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.13e-05/0.7954, allocations: 4 kB / 0.7842 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002376/0.7957, allocations: 39.67 kB / 0.7842 GB, free: 15 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.325e-05/0.7957, allocations: 8 kB / 0.7842 GB, free: 15 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 13 ($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.and3.u1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * 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.0001799/0.7959, allocations: 121.8 kB / 0.7843 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.981e-05/0.796, allocations: 41.41 kB / 0.7844 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.932e-05/0.7961, allocations: 35.95 kB / 0.7844 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.7961, allocations: 0 / 0.7844 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.448e-06/0.7961, allocations: 5.5 kB / 0.7844 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.7961, allocations: 0 / 0.7844 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001035/0.7972, allocations: 0.7173 MB / 0.7851 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.7972, allocations: 3.984 kB / 0.7851 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002825/0.7975, allocations: 59.91 kB / 0.7852 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.57e-06/0.7975, allocations: 0 / 0.7852 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.509e-05/0.7975, allocations: 0 / 0.7852 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/0.7975, allocations: 4 kB / 0.7852 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.7975, allocations: 4 kB / 0.7852 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006964/0.7982, allocations: 479.9 kB / 0.7857 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000155/0.7984, allocations: 136.6 kB / 0.7858 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.649e-05/0.7985, allocations: 5.062 kB / 0.7858 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002288/0.7987, allocations: 24.05 kB / 0.7858 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.481e-05/0.7988, allocations: 23.95 kB / 0.7858 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.073e-05/0.7988, allocations: 15.91 kB / 0.7859 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0002161/0.799, allocations: 199.1 kB / 0.786 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003792/0.7994, allocations: 75.69 kB / 0.7861 GB, free: 12.99 MB / 0.4948 GB 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.and3.u1) * Number of discrete states: 1 (con.hys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 29 * 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.0001994/0.7996, allocations: 113.7 kB / 0.7862 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004399/0.8001, allocations: 212.2 kB / 0.7864 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.8001, allocations: 0 / 0.7864 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002178/0.8003, allocations: 131.8 kB / 0.7865 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000502/0.8008, allocations: 50.31 kB / 0.7866 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001491/0.8023, allocations: 0.5245 MB / 0.7871 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000595/0.8029, allocations: 0.8455 MB / 0.7879 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of SimCode: time 5.91e-07/0.803, allocations: 7.938 kB / 0.7879 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of Templates: time 0.009175/0.8121, allocations: 3.467 MB / 0.7913 GB, free: 7.664 MB / 0.4948 GB 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)