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.686/1.686, allocations: 288.4 MB / 304.3 MB, free: 8.199 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.001354/0.001354, allocations: 178.6 kB / 372.9 MB, free: 10.16 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.834/1.834, allocations: 205.4 MB / 0.6317 GB, free: 9.875 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.001156/0.001157, allocations: 98.75 kB / 0.745 GB, free: 5.781 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000425/0.000425, allocations: 11.28 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2535/0.254, allocations: 115.3 MB / 0.9807 GB, free: 27.42 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7913/1.045, allocations: 144.8 MB / 1.122 GB, free: 16.33 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002452/1.046, allocations: 79.34 kB / 1.122 GB, free: 16.33 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01598/1.062, allocations: 6.957 MB / 1.129 GB, free: 31.42 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.745e-06/1.062, allocations: 0 / 1.129 GB, free: 31.42 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.634e-05/1.062, allocations: 11.69 kB / 1.129 GB, free: 31.41 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.0009402/1.063, allocations: 0.6349 MB / 1.13 GB, free: 30.88 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/1.063, allocations: 11.67 kB / 1.13 GB, free: 30.87 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.193e-05/1.063, allocations: 51.41 kB / 1.13 GB, free: 30.85 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004882/1.063, allocations: 393.8 kB / 1.13 GB, free: 30.55 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.551e-05/1.063, allocations: 27.59 kB / 1.13 GB, free: 30.55 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.014e-05/1.063, allocations: 22.72 kB / 1.13 GB, free: 30.55 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005506/1.064, allocations: 365.8 kB / 1.13 GB, free: 30.39 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/1.064, allocations: 7.938 kB / 1.13 GB, free: 30.39 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.223e-05/1.064, allocations: 14.53 kB / 1.13 GB, free: 30.39 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.316e-06/1.064, allocations: 9.516 kB / 1.13 GB, free: 30.39 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004431/1.064, allocations: 248.9 kB / 1.131 GB, free: 30.35 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001503/1.066, allocations: 1.243 MB / 1.132 GB, free: 29.52 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005423/1.067, allocations: 289 kB / 1.132 GB, free: 29.45 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001983/1.067, allocations: 120.3 kB / 1.132 GB, free: 29.43 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.267e-05/1.067, allocations: 3.984 kB / 1.132 GB, free: 29.43 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.661e-05/1.067, allocations: 40.66 kB / 1.132 GB, free: 29.39 MB / 0.698 GB Notification: Performance of pre-optimization done (n=22): time 1.743e-06/1.067, allocations: 0 / 1.132 GB, free: 29.39 MB / 0.698 GB Notification: Performance of matching and sorting (n=22): time 0.0006617/1.067, allocations: 347.7 kB / 1.133 GB, free: 29.3 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.989e-05/1.068, allocations: 162 kB / 1.133 GB, free: 29.11 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000323/1.068, allocations: 346.9 kB / 1.133 GB, free: 28.95 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.86e-05/1.068, allocations: 29.64 kB / 1.133 GB, free: 28.92 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001328/1.068, allocations: 216.6 kB / 1.133 GB, free: 28.78 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.092e-05/1.068, allocations: 80.03 kB / 1.133 GB, free: 28.72 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.215e-05/1.068, allocations: 7.188 kB / 1.133 GB, free: 28.72 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001457/1.068, allocations: 343.7 kB / 1.134 GB, free: 28.4 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001726/1.068, allocations: 93.44 kB / 1.134 GB, free: 28.38 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002095/1.069, allocations: 171.5 kB / 1.134 GB, free: 28.29 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003336/1.069, allocations: 232.3 kB / 1.134 GB, free: 28.22 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/1.069, allocations: 0 / 1.134 GB, free: 28.22 MB / 0.698 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004608/1.07, allocations: 303.9 kB / 1.135 GB, free: 28.13 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/1.07, allocations: 5.125 kB / 1.135 GB, free: 28.13 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/1.07, allocations: 0 / 1.135 GB, free: 28.13 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/1.07, allocations: 7.906 kB / 1.135 GB, free: 28.12 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002148/1.07, allocations: 52.91 kB / 1.135 GB, free: 28.12 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/1.07, allocations: 7.781 kB / 1.135 GB, free: 28.11 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002078/1.07, allocations: 50.5 kB / 1.135 GB, free: 28.09 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.73e-05/1.07, allocations: 3.844 kB / 1.135 GB, free: 28.09 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.0001814/1.07, allocations: 161 kB / 1.135 GB, free: 27.97 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.551e-05/1.07, allocations: 38.88 kB / 1.135 GB, free: 27.95 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.088e-05/1.07, allocations: 38.47 kB / 1.135 GB, free: 27.94 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/1.07, allocations: 7.844 kB / 1.135 GB, free: 27.93 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/1.07, allocations: 0 / 1.135 GB, free: 27.93 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/1.07, allocations: 7.984 kB / 1.135 GB, free: 27.93 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004157/1.071, allocations: 420.1 kB / 1.135 GB, free: 27.65 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/1.071, allocations: 0 / 1.135 GB, free: 27.65 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002179/1.071, allocations: 46.28 kB / 1.135 GB, free: 27.64 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/1.071, allocations: 0 / 1.135 GB, free: 27.64 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.764e-05/1.071, allocations: 3.844 kB / 1.135 GB, free: 27.64 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/1.071, allocations: 0 / 1.135 GB, free: 27.64 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/1.071, allocations: 0 / 1.135 GB, free: 27.64 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006866/1.072, allocations: 496.5 kB / 1.136 GB, free: 27.45 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001277/1.072, allocations: 128.6 kB / 1.136 GB, free: 27.33 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.64e-05/1.072, allocations: 10.77 kB / 1.136 GB, free: 27.32 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002031/1.072, allocations: 26.64 kB / 1.136 GB, free: 27.32 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.224e-05/1.072, allocations: 18.62 kB / 1.136 GB, free: 27.31 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.23e-05/1.072, allocations: 7.188 kB / 1.136 GB, free: 27.31 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002188/1.073, allocations: 252.5 kB / 1.136 GB, free: 27.2 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/1.073, allocations: 0 / 1.136 GB, free: 27.2 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003233/1.073, allocations: 73.34 kB / 1.136 GB, free: 27.18 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.0001448/1.073, allocations: 114.2 kB / 1.136 GB, free: 27.08 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004665/1.074, allocations: 231.8 kB / 1.137 GB, free: 27.05 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/1.074, allocations: 0 / 1.137 GB, free: 27.05 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001898/1.074, allocations: 112.4 kB / 1.137 GB, free: 27.03 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005998/1.074, allocations: 79.72 kB / 1.137 GB, free: 27.01 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001277/1.076, allocations: 0.8712 MB / 1.138 GB, free: 26.45 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003735/1.076, allocations: 0.7928 MB / 1.139 GB, free: 25.7 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001673/1.076, allocations: 42.11 kB / 1.139 GB, free: 25.69 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.526e-05/1.076, allocations: 26.95 kB / 1.139 GB, free: 25.68 MB / 0.698 GB Notification: Performance of SimCode: time 2.9e-07/1.076, allocations: 0 / 1.139 GB, free: 25.68 MB / 0.698 GB Notification: Performance of Templates: time 0.006399/1.083, allocations: 3.376 MB / 1.142 GB, free: 24.06 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)