Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresis.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresis") translateModel(Buildings.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresis") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.785/1.785, allocations: 288.3 MB / 303.2 MB, free: 8.094 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001352/0.001352, allocations: 183.7 kB / 371.8 MB, free: 10.25 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.144/2.144, allocations: 205.4 MB / 0.6306 GB, free: 9.984 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001132/0.001133, allocations: 105.3 kB / 0.7439 GB, free: 5.902 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005657/0.0005657, allocations: 10.38 kB / 0.8668 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3007/0.3013, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9559/1.257, allocations: 144.8 MB / 1.121 GB, free: 16.33 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002653/1.258, allocations: 80.98 kB / 1.121 GB, free: 16.33 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01914/1.277, allocations: 6.929 MB / 1.128 GB, free: 31.47 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.919e-06/1.277, allocations: 0 / 1.128 GB, free: 31.47 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.405e-05/1.277, allocations: 11.81 kB / 1.128 GB, free: 31.46 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.001179/1.278, allocations: 0.6489 MB / 1.128 GB, free: 30.93 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.955e-05/1.278, allocations: 15.8 kB / 1.128 GB, free: 30.92 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001034/1.278, allocations: 46.44 kB / 1.128 GB, free: 30.9 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005725/1.279, allocations: 386.5 kB / 1.129 GB, free: 30.61 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.85e-05/1.279, allocations: 22.91 kB / 1.129 GB, free: 30.61 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.259e-05/1.279, allocations: 30.22 kB / 1.129 GB, free: 30.6 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005854/1.28, allocations: 363.6 kB / 1.129 GB, free: 30.45 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.521e-05/1.28, allocations: 4 kB / 1.129 GB, free: 30.44 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.344e-05/1.28, allocations: 11.09 kB / 1.129 GB, free: 30.44 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.808e-06/1.28, allocations: 7.688 kB / 1.129 GB, free: 30.44 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004472/1.28, allocations: 247 kB / 1.129 GB, free: 30.41 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001596/1.282, allocations: 1.251 MB / 1.131 GB, free: 29.56 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005724/1.282, allocations: 285 kB / 1.131 GB, free: 29.5 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.683e-05/1.282, allocations: 192 / 1.131 GB, free: 29.5 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.053e-05/1.282, allocations: 37.78 kB / 1.131 GB, free: 29.46 MB / 0.698 GB Notification: Performance of pre-optimization done (n=22): time 1.062e-06/1.282, allocations: 3.938 kB / 1.131 GB, free: 29.46 MB / 0.698 GB Notification: Performance of matching and sorting (n=22): time 0.0006752/1.283, allocations: 342.8 kB / 1.131 GB, free: 29.38 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.667e-05/1.283, allocations: 162 kB / 1.131 GB, free: 29.18 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002954/1.283, allocations: 317.4 kB / 1.132 GB, free: 29.03 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.905e-05/1.284, allocations: 29.33 kB / 1.132 GB, free: 29 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001352/1.284, allocations: 218.2 kB / 1.132 GB, free: 28.86 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.226e-05/1.284, allocations: 76.16 kB / 1.132 GB, free: 28.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.322e-05/1.284, allocations: 7.781 kB / 1.132 GB, free: 28.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001224/1.284, allocations: 341.2 kB / 1.132 GB, free: 28.48 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001619/1.284, allocations: 88.58 kB / 1.132 GB, free: 28.47 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002105/1.284, allocations: 171.4 kB / 1.133 GB, free: 28.38 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001783/1.284, allocations: 107.6 kB / 1.133 GB, free: 28.36 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/1.284, allocations: 3.906 kB / 1.133 GB, free: 28.36 MB / 0.698 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004395/1.285, allocations: 297.4 kB / 1.133 GB, free: 28.27 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/1.285, allocations: 7.891 kB / 1.133 GB, free: 28.27 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/1.285, allocations: 0 / 1.133 GB, free: 28.27 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/1.285, allocations: 3.906 kB / 1.133 GB, free: 28.27 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002151/1.285, allocations: 58.22 kB / 1.133 GB, free: 28.26 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/1.285, allocations: 0 / 1.133 GB, free: 28.26 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002032/1.285, allocations: 50.34 kB / 1.133 GB, free: 28.24 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.84e-05/1.285, allocations: 7.125 kB / 1.133 GB, free: 28.24 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 ($PRE.con.hys.y,con.hys.y,con.PID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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.000177/1.286, allocations: 164.7 kB / 1.133 GB, free: 28.12 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.357e-05/1.286, allocations: 34.84 kB / 1.133 GB, free: 28.1 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.342e-05/1.286, allocations: 42.28 kB / 1.133 GB, free: 28.08 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/1.286, allocations: 3.844 kB / 1.133 GB, free: 28.08 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/1.286, allocations: 0 / 1.133 GB, free: 28.08 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/1.286, allocations: 0 / 1.133 GB, free: 28.08 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004016/1.286, allocations: 427 kB / 1.134 GB, free: 27.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/1.286, allocations: 0 / 1.134 GB, free: 27.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002172/1.286, allocations: 46.78 kB / 1.134 GB, free: 27.79 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/1.286, allocations: 0 / 1.134 GB, free: 27.79 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.194e-05/1.286, allocations: 7.5 kB / 1.134 GB, free: 27.79 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/1.286, allocations: 4 kB / 1.134 GB, free: 27.79 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/1.286, allocations: 4 kB / 1.134 GB, free: 27.79 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007099/1.287, allocations: 486.8 kB / 1.134 GB, free: 27.59 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001279/1.287, allocations: 134.2 kB / 1.134 GB, free: 27.47 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.521e-05/1.287, allocations: 7.188 kB / 1.134 GB, free: 27.47 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002058/1.288, allocations: 30.62 kB / 1.134 GB, free: 27.46 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.691e-05/1.288, allocations: 19.75 kB / 1.134 GB, free: 27.45 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.397e-05/1.288, allocations: 7.031 kB / 1.134 GB, free: 27.45 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002216/1.288, allocations: 245.6 kB / 1.135 GB, free: 27.34 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/1.288, allocations: 3.938 kB / 1.135 GB, free: 27.34 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003054/1.288, allocations: 72.72 kB / 1.135 GB, free: 27.33 MB / 0.698 GB 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 (22): * Single equations (assignments): 22 * 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.0001532/1.288, allocations: 102.3 kB / 1.135 GB, free: 27.24 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004243/1.289, allocations: 234.9 kB / 1.135 GB, free: 27.2 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/1.289, allocations: 0 / 1.135 GB, free: 27.2 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001836/1.289, allocations: 122.3 kB / 1.135 GB, free: 27.18 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004766/1.29, allocations: 72.58 kB / 1.135 GB, free: 27.16 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001217/1.291, allocations: 0.8737 MB / 1.136 GB, free: 26.6 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003532/1.291, allocations: 0.8044 MB / 1.137 GB, free: 25.84 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001435/1.291, allocations: 38.33 kB / 1.137 GB, free: 25.82 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.397e-05/1.291, allocations: 30.64 kB / 1.137 GB, free: 25.81 MB / 0.698 GB Notification: Performance of SimCode: time 2.51e-07/1.291, allocations: 0 / 1.137 GB, free: 25.81 MB / 0.698 GB Notification: Performance of Templates: time 0.006685/1.298, allocations: 3.321 MB / 1.14 GB, free: 24.22 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresis.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresis.sim & ./Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresis -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe 2>&1)