Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis") translateModel(Buildings.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.491/2.491, allocations: 251.1 MB / 266.7 MB, free: 11.64 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002019/0.002019, allocations: 168.2 kB / 326.2 MB, free: 2.852 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.573/2.573, allocations: 205.4 MB / 0.5772 GB, free: 20.7 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008868/0.0008868, allocations: 99.7 kB / 0.6817 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004735/0.0004736, allocations: 11.88 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2016/0.2021, allocations: 106.3 MB / 0.8995 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2479/0.45, allocations: 138.3 MB / 1.035 GB, free: 7.074 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004854/0.4506, allocations: 95.94 kB / 1.035 GB, free: 6.98 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03018/0.4808, allocations: 6.98 MB / 1.041 GB, free: 15.97 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.146e-06/0.4808, allocations: 0 / 1.041 GB, free: 15.97 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.919e-05/0.4809, allocations: 8 kB / 1.041 GB, free: 15.96 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.00199/0.4829, allocations: 0.6585 MB / 1.042 GB, free: 15.25 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 8.415e-05/0.483, allocations: 8.031 kB / 1.042 GB, free: 15.24 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000207/0.4832, allocations: 48.59 kB / 1.042 GB, free: 15.2 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001135/0.4844, allocations: 384.8 kB / 1.042 GB, free: 14.78 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.095e-05/0.4845, allocations: 28.97 kB / 1.043 GB, free: 14.75 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001042/0.4846, allocations: 24.38 kB / 1.043 GB, free: 14.73 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001395/0.486, allocations: 370.5 kB / 1.043 GB, free: 14.34 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.268e-05/0.4861, allocations: 3.938 kB / 1.043 GB, free: 14.34 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.95e-05/0.4862, allocations: 16 kB / 1.043 GB, free: 14.32 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.889e-05/0.4862, allocations: 8 kB / 1.043 GB, free: 14.31 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001299/0.4875, allocations: 242.1 kB / 1.043 GB, free: 14.07 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003799/0.4913, allocations: 1.256 MB / 1.044 GB, free: 12.75 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001524/0.4929, allocations: 280.3 kB / 1.045 GB, free: 12.46 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005879/0.4936, allocations: 120.8 kB / 1.045 GB, free: 12.34 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.353e-05/0.4936, allocations: 0 / 1.045 GB, free: 12.34 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.629e-05/0.4937, allocations: 42.56 kB / 1.045 GB, free: 12.29 MB / 0.698 GB Notification: Performance of pre-optimization done (n=22): time 2.806e-06/0.4937, allocations: 0 / 1.045 GB, free: 12.29 MB / 0.698 GB Notification: Performance of matching and sorting (n=22): time 0.001796/0.4955, allocations: 345.3 kB / 1.045 GB, free: 11.95 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001292/0.4957, allocations: 162.2 kB / 1.045 GB, free: 11.75 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008639/0.4966, allocations: 349.7 kB / 1.046 GB, free: 11.4 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.843e-05/0.4967, allocations: 29.7 kB / 1.046 GB, free: 11.37 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003037/0.497, allocations: 208.3 kB / 1.046 GB, free: 11.16 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001375/0.4972, allocations: 82.84 kB / 1.046 GB, free: 11.08 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.217e-05/0.4972, allocations: 4 kB / 1.046 GB, free: 11.07 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002234/0.4975, allocations: 342.8 kB / 1.046 GB, free: 10.73 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005206/0.498, allocations: 95.95 kB / 1.046 GB, free: 10.64 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006396/0.4987, allocations: 163.7 kB / 1.047 GB, free: 10.45 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005499/0.4993, allocations: 105 kB / 1.047 GB, free: 10.35 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/0.4993, allocations: 4 kB / 1.047 GB, free: 10.34 MB / 0.698 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001354/0.5007, allocations: 297.6 kB / 1.047 GB, free: 10.05 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.333e-05/0.5007, allocations: 11.94 kB / 1.047 GB, free: 10.04 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/0.5007, allocations: 8.109 kB / 1.047 GB, free: 10.03 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.515e-05/0.5008, allocations: 4 kB / 1.047 GB, free: 10.02 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006237/0.5014, allocations: 51.97 kB / 1.047 GB, free: 9.973 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.921e-05/0.5015, allocations: 7.938 kB / 1.047 GB, free: 9.965 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005661/0.502, allocations: 43.83 kB / 1.047 GB, free: 9.922 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.271e-05/0.5021, allocations: 4 kB / 1.047 GB, free: 9.918 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.0004006/0.5025, allocations: 161.8 kB / 1.047 GB, free: 9.75 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001575/0.5027, allocations: 39.56 kB / 1.047 GB, free: 9.711 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001544/0.5029, allocations: 43.41 kB / 1.047 GB, free: 9.664 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.165e-05/0.5029, allocations: 4 kB / 1.047 GB, free: 9.66 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/0.5029, allocations: 0 / 1.047 GB, free: 9.66 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/0.5029, allocations: 0 / 1.047 GB, free: 9.66 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001013/0.504, allocations: 417.2 kB / 1.048 GB, free: 9.203 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.504, allocations: 4 kB / 1.048 GB, free: 9.199 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006438/0.5046, allocations: 47.97 kB / 1.048 GB, free: 9.152 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.354e-05/0.5047, allocations: 7.938 kB / 1.048 GB, free: 9.145 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.602e-05/0.5047, allocations: 4.047 kB / 1.048 GB, free: 9.141 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.745e-06/0.5047, allocations: 3.984 kB / 1.048 GB, free: 9.137 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/0.5048, allocations: 3.984 kB / 1.048 GB, free: 9.133 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001831/0.5066, allocations: 484.3 kB / 1.048 GB, free: 8.645 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003212/0.507, allocations: 136.7 kB / 1.048 GB, free: 8.492 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001042/0.5071, allocations: 8.062 kB / 1.048 GB, free: 8.484 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005793/0.5077, allocations: 31.88 kB / 1.048 GB, free: 8.453 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001112/0.5078, allocations: 19.97 kB / 1.048 GB, free: 8.434 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.33e-05/0.5079, allocations: 4 kB / 1.048 GB, free: 8.43 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006002/0.5085, allocations: 251.2 kB / 1.049 GB, free: 8.191 MB / 0.698 GB Notification: Performance of sort global known variables: time 6.61e-07/0.5085, allocations: 0 / 1.049 GB, free: 8.191 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007904/0.5093, allocations: 71.78 kB / 1.049 GB, free: 8.121 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.0002419/0.5096, allocations: 107.2 kB / 1.049 GB, free: 8.008 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001185/0.5108, allocations: 232.7 kB / 1.049 GB, free: 7.781 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.846e-06/0.5108, allocations: 4 kB / 1.049 GB, free: 7.777 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000567/0.5114, allocations: 116.8 kB / 1.049 GB, free: 7.664 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001286/0.5127, allocations: 76.64 kB / 1.049 GB, free: 7.586 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003142/0.5159, allocations: 0.8743 MB / 1.05 GB, free: 6.684 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006073/0.5165, allocations: 0.7953 MB / 1.051 GB, free: 5.859 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004159/0.517, allocations: 34.95 kB / 1.051 GB, free: 5.828 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001729/0.5172, allocations: 27.44 kB / 1.051 GB, free: 5.801 MB / 0.698 GB Notification: Performance of SimCode: time 1.312e-06/0.5172, allocations: 4 kB / 1.051 GB, free: 5.797 MB / 0.698 GB Notification: Performance of Templates: time 0.01703/0.5342, allocations: 3.333 MB / 1.054 GB, free: 2.496 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis.makefile (rm -f Buildings_7.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis.sim & ./Buildings_7.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe 2>&1)