Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresis.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresis") translateModel(Buildings.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresis") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.791/1.791, allocations: 293 MB / 309 MB, free: 4.844 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.001555/0.001556, allocations: 172.5 kB / 378.7 MB, free: 1.039 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.102/2.102, allocations: 205.4 MB / 0.6383 GB, free: 8.145 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009036/0.000904, allocations: 95.05 kB / 0.7527 GB, free: 62.78 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005007/0.000501, allocations: 12 kB / 0.8768 GB, free: 10.43 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3002/0.3007, allocations: 116.4 MB / 0.9904 GB, free: 5.891 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8266/1.127, allocations: 145.8 MB / 1.133 GB, free: 29.46 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002121/1.128, allocations: 87.48 kB / 1.133 GB, free: 29.39 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01773/1.145, allocations: 6.945 MB / 1.14 GB, free: 24.54 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.405e-06/1.145, allocations: 0 / 1.14 GB, free: 24.54 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.776e-05/1.146, allocations: 8 kB / 1.14 GB, free: 24.53 MB / 0.7292 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.001135/1.147, allocations: 0.6458 MB / 1.14 GB, free: 23.89 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/1.147, allocations: 15.97 kB / 1.14 GB, free: 23.87 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001539/1.147, allocations: 49.27 kB / 1.14 GB, free: 23.82 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005799/1.147, allocations: 396.5 kB / 1.141 GB, free: 23.44 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.9e-05/1.147, allocations: 22.44 kB / 1.141 GB, free: 23.42 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.301e-05/1.148, allocations: 28.89 kB / 1.141 GB, free: 23.39 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000605/1.148, allocations: 365.2 kB / 1.141 GB, free: 23.05 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.709e-05/1.148, allocations: 3.938 kB / 1.141 GB, free: 23.05 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.041e-05/1.148, allocations: 16 kB / 1.141 GB, free: 23.04 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/1.148, allocations: 10.06 kB / 1.141 GB, free: 23.03 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004789/1.149, allocations: 250.7 kB / 1.141 GB, free: 22.81 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001586/1.15, allocations: 1.244 MB / 1.143 GB, free: 21.68 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005731/1.151, allocations: 284.6 kB / 1.143 GB, free: 21.42 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002067/1.151, allocations: 121.1 kB / 1.143 GB, free: 21.31 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.097e-05/1.151, allocations: 4.75 kB / 1.143 GB, free: 21.3 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.505e-05/1.151, allocations: 42.5 kB / 1.143 GB, free: 21.25 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=22): time 2.424e-06/1.151, allocations: 3.719 kB / 1.143 GB, free: 21.25 MB / 0.7292 GB Notification: Performance of matching and sorting (n=22): time 0.0006632/1.152, allocations: 344 kB / 1.143 GB, free: 20.94 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.101e-05/1.152, allocations: 160.6 kB / 1.144 GB, free: 20.75 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003946/1.152, allocations: 346.8 kB / 1.144 GB, free: 20.45 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.958e-05/1.152, allocations: 33.7 kB / 1.144 GB, free: 20.41 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001325/1.153, allocations: 212.9 kB / 1.144 GB, free: 20.21 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 6.749e-05/1.153, allocations: 81.66 kB / 1.144 GB, free: 20.14 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.136e-05/1.153, allocations: 8 kB / 1.144 GB, free: 20.13 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.266e-05/1.153, allocations: 346.5 kB / 1.145 GB, free: 19.79 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001883/1.153, allocations: 86.64 kB / 1.145 GB, free: 19.72 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00022/1.153, allocations: 167.7 kB / 1.145 GB, free: 19.54 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000366/1.154, allocations: 226.9 kB / 1.145 GB, free: 19.32 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/1.154, allocations: 0.5625 kB / 1.145 GB, free: 19.32 MB / 0.7292 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005577/1.154, allocations: 302.6 kB / 1.145 GB, free: 19.04 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/1.154, allocations: 5.875 kB / 1.145 GB, free: 19.04 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.258e-06/1.154, allocations: 1.406 kB / 1.145 GB, free: 19.04 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.043e-05/1.154, allocations: 8.125 kB / 1.145 GB, free: 19.03 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002364/1.154, allocations: 51.31 kB / 1.145 GB, free: 18.98 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.272e-05/1.154, allocations: 10.7 kB / 1.145 GB, free: 18.98 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002236/1.155, allocations: 42.03 kB / 1.145 GB, free: 18.94 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.112e-05/1.155, allocations: 12.52 kB / 1.145 GB, free: 18.93 MB / 0.7292 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.0001712/1.155, allocations: 162.6 kB / 1.146 GB, free: 18.76 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.077e-05/1.155, allocations: 36.12 kB / 1.146 GB, free: 18.73 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.501e-05/1.155, allocations: 40.88 kB / 1.146 GB, free: 18.7 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/1.155, allocations: 8.594 kB / 1.146 GB, free: 18.69 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/1.155, allocations: 0 / 1.146 GB, free: 18.69 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/1.155, allocations: 1.125 kB / 1.146 GB, free: 18.69 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004699/1.156, allocations: 419.6 kB / 1.146 GB, free: 18.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/1.156, allocations: 1.875 kB / 1.146 GB, free: 18.3 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000223/1.156, allocations: 50.66 kB / 1.146 GB, free: 18.26 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/1.156, allocations: 1.359 kB / 1.146 GB, free: 18.26 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.952e-05/1.156, allocations: 1.969 kB / 1.146 GB, free: 18.26 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/1.156, allocations: 5.594 kB / 1.146 GB, free: 18.26 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/1.156, allocations: 0 / 1.146 GB, free: 18.26 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006651/1.157, allocations: 487.4 kB / 1.147 GB, free: 17.8 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001212/1.157, allocations: 129.6 kB / 1.147 GB, free: 17.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.254e-05/1.157, allocations: 8.75 kB / 1.147 GB, free: 17.65 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002074/1.157, allocations: 34.06 kB / 1.147 GB, free: 17.62 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.47e-05/1.157, allocations: 20.38 kB / 1.147 GB, free: 17.61 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.482e-05/1.157, allocations: 5.359 kB / 1.147 GB, free: 17.61 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002435/1.157, allocations: 242.6 kB / 1.147 GB, free: 17.4 MB / 0.7292 GB Notification: Performance of sort global known variables: time 9.22e-07/1.157, allocations: 0 / 1.147 GB, free: 17.4 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003312/1.158, allocations: 88.66 kB / 1.147 GB, free: 17.32 MB / 0.7292 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.000129/1.158, allocations: 109.2 kB / 1.147 GB, free: 17.2 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004592/1.158, allocations: 232.4 kB / 1.147 GB, free: 17 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/1.158, allocations: 0 / 1.147 GB, free: 17 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002237/1.158, allocations: 115.6 kB / 1.148 GB, free: 16.9 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000552/1.159, allocations: 75.67 kB / 1.148 GB, free: 16.84 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001375/1.16, allocations: 0.8697 MB / 1.148 GB, free: 16.04 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002935/1.161, allocations: 0.792 MB / 1.149 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001941/1.161, allocations: 41.58 kB / 1.149 GB, free: 15.24 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.448e-05/1.161, allocations: 24.66 kB / 1.149 GB, free: 15.22 MB / 0.7292 GB Notification: Performance of SimCode: time 2.4e-07/1.161, allocations: 0.9375 kB / 1.149 GB, free: 15.22 MB / 0.7292 GB Notification: Performance of Templates: time 0.007986/1.169, allocations: 3.383 MB / 1.153 GB, free: 13.32 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresis.makefile (rm -f Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe ; mkfifo Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe >> ../files/Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresis.sim & ./Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresis -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe 2>&1)