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/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.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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.7631/0.7631, allocations: 133.7 MB / 148.6 MB, free: 13.64 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.001105/0.001105, allocations: 184 kB / 180.9 MB, free: 15.05 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.388/1.388, allocations: 170.7 MB / 383.7 MB, free: 16.26 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.001651/0.001651, allocations: 118.9 kB / 454.6 MB, free: 9.852 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.1873/0.1878, allocations: 73.41 MB / 0.6812 GB, free: 5.555 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5607/0.7486, allocations: 107.2 MB / 0.7859 GB, free: 20.61 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004837/0.7492, allocations: 78.02 kB / 0.786 GB, free: 20.57 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02121/0.7704, allocations: 8.161 MB / 0.7939 GB, free: 14.96 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.655e-06/0.7705, allocations: 0 / 0.7939 GB, free: 14.96 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.502e-05/0.7705, allocations: 8.188 kB / 0.794 GB, free: 14.95 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: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.0009226/0.7714, allocations: 0.6583 MB / 0.7946 GB, free: 14.28 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.086e-05/0.7715, allocations: 13.5 kB / 0.7946 GB, free: 14.27 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.2e-05/0.7716, allocations: 43.53 kB / 0.7947 GB, free: 14.23 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005199/0.7721, allocations: 374.5 kB / 0.795 GB, free: 13.88 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.469e-05/0.7722, allocations: 23.69 kB / 0.795 GB, free: 13.86 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.328e-05/0.7722, allocations: 33.17 kB / 0.7951 GB, free: 13.84 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005238/0.7728, allocations: 329.9 kB / 0.7954 GB, free: 13.59 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.7728, allocations: 0 / 0.7954 GB, free: 13.59 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.455e-05/0.7728, allocations: 14.06 kB / 0.7954 GB, free: 13.59 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.237e-06/0.7728, allocations: 11.98 kB / 0.7954 GB, free: 13.57 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004103/0.7733, allocations: 234.8 kB / 0.7956 GB, free: 13.42 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001266/0.7745, allocations: 0.989 MB / 0.7966 GB, free: 12.59 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005596/0.7751, allocations: 276.9 kB / 0.7969 GB, free: 12.39 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.946e-05/0.7752, allocations: 4.188 kB / 0.7969 GB, free: 12.38 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/0.7752, allocations: 30.75 kB / 0.7969 GB, free: 12.34 MB / 490.7 MB Notification: Performance of pre-optimization done (n=21): time 1.302e-06/0.7752, allocations: 8 kB / 0.7969 GB, free: 12.34 MB / 490.7 MB Notification: Performance of matching and sorting (n=21): time 0.0006068/0.7758, allocations: 332.7 kB / 0.7972 GB, free: 12.09 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.13e-05/0.7759, allocations: 136.5 kB / 0.7973 GB, free: 11.93 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002642/0.7761, allocations: 293.4 kB / 0.7976 GB, free: 11.7 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.435e-05/0.7762, allocations: 32.52 kB / 0.7977 GB, free: 11.66 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001134/0.7763, allocations: 210.3 kB / 0.7979 GB, free: 11.51 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.94e-05/0.7763, allocations: 70.78 kB / 0.7979 GB, free: 11.45 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.076e-05/0.7764, allocations: 3.125 kB / 0.7979 GB, free: 11.45 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.619e-05/0.7764, allocations: 345.2 kB / 0.7983 GB, free: 11.11 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00018/0.7766, allocations: 87.39 kB / 0.7983 GB, free: 11.05 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001805/0.7768, allocations: 136.4 kB / 0.7985 GB, free: 10.95 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001638/0.777, allocations: 92.73 kB / 0.7986 GB, free: 10.89 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.777, allocations: 0 / 0.7986 GB, free: 10.89 MB / 490.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004179/0.7774, allocations: 268.8 kB / 0.7988 GB, free: 10.69 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.322e-05/0.7775, allocations: 4.938 kB / 0.7988 GB, free: 10.68 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.7775, allocations: 4 kB / 0.7988 GB, free: 10.68 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.926e-05/0.7775, allocations: 4 kB / 0.7988 GB, free: 10.68 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000204/0.7777, allocations: 51.84 kB / 0.7989 GB, free: 10.63 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.7777, allocations: 0 / 0.7989 GB, free: 10.63 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001826/0.7779, allocations: 47.41 kB / 0.7989 GB, free: 10.59 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.763e-05/0.7779, allocations: 4 kB / 0.7989 GB, free: 10.58 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.con.hys.y,con.hys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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.0001489/0.7781, allocations: 155.5 kB / 0.7991 GB, free: 10.45 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.973e-05/0.7782, allocations: 35.53 kB / 0.7991 GB, free: 10.41 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.967e-05/0.7782, allocations: 36.59 kB / 0.7991 GB, free: 10.39 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.7783, allocations: 4 kB / 0.7991 GB, free: 10.39 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.7783, allocations: 4 kB / 0.7992 GB, free: 10.38 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.7783, allocations: 3.984 kB / 0.7992 GB, free: 10.38 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003764/0.7787, allocations: 409.1 kB / 0.7995 GB, free: 10.02 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.7787, allocations: 3.984 kB / 0.7995 GB, free: 10.02 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002227/0.7789, allocations: 43.92 kB / 0.7996 GB, free: 9.973 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.7789, allocations: 3.938 kB / 0.7996 GB, free: 9.969 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.268e-05/0.7789, allocations: 13.02 kB / 0.7996 GB, free: 9.961 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.7789, allocations: 0.5469 kB / 0.7996 GB, free: 9.961 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.779, allocations: 0 / 0.7996 GB, free: 9.961 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006333/0.7796, allocations: 472.5 kB / 0.8001 GB, free: 9.59 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.674e-05/0.7797, allocations: 129.7 kB / 0.8002 GB, free: 9.461 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.964e-05/0.7797, allocations: 7.062 kB / 0.8002 GB, free: 9.457 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001872/0.7799, allocations: 27.48 kB / 0.8002 GB, free: 9.434 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.999e-05/0.78, allocations: 19.91 kB / 0.8002 GB, free: 9.418 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.151e-05/0.78, allocations: 4.062 kB / 0.8002 GB, free: 9.414 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001832/0.7802, allocations: 242.4 kB / 0.8005 GB, free: 9.227 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.51e-07/0.7802, allocations: 0 / 0.8005 GB, free: 9.227 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002908/0.7805, allocations: 75.56 kB / 0.8005 GB, free: 9.16 MB / 490.7 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 (21): * Single equations (assignments): 21 * 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 Backend phase and start with SimCode phase: time 0.0001206/0.7806, allocations: 103 kB / 0.8006 GB, free: 9.055 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.000423/0.7811, allocations: 219.4 kB / 0.8008 GB, free: 8.902 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.7811, allocations: 0 / 0.8008 GB, free: 8.902 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001831/0.7813, allocations: 109.2 kB / 0.801 GB, free: 8.801 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004473/0.7817, allocations: 70 kB / 0.801 GB, free: 8.734 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001214/0.783, allocations: 0.8203 MB / 0.8018 GB, free: 7.898 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002856/0.7833, allocations: 0.7989 MB / 0.8026 GB, free: 7.074 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.000127/0.7834, allocations: 27.53 kB / 0.8026 GB, free: 7.051 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.403e-05/0.7835, allocations: 27.42 kB / 0.8027 GB, free: 7.027 MB / 490.7 MB Notification: Performance of SimCode: time 2.31e-07/0.7835, allocations: 0 / 0.8027 GB, free: 7.027 MB / 490.7 MB Notification: Performance of Templates: time 0.006847/0.7903, allocations: 2.976 MB / 0.8056 GB, free: 4.086 MB / 490.7 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)