Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresis.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresis") translateModel(Buildings.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresis") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.316/1.316, allocations: 252 MB / 267.9 MB, free: 10.93 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.0009623/0.0009624, allocations: 179.7 kB / 327.6 MB, free: 2.164 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.495/1.495, allocations: 205.4 MB / 0.5785 GB, free: 20.23 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.00083/0.00083, allocations: 95.92 kB / 0.6831 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003452/0.0003452, allocations: 15.72 kB / 0.7974 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1741/0.1744, allocations: 106.3 MB / 0.9012 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1662/0.3407, allocations: 138.5 MB / 1.036 GB, free: 5.008 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002751/0.341, allocations: 75.97 kB / 1.037 GB, free: 4.934 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01836/0.3594, allocations: 7 MB / 1.043 GB, free: 13.9 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.355e-06/0.3594, allocations: 0 / 1.043 GB, free: 13.9 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.321e-05/0.3595, allocations: 8 kB / 1.043 GB, free: 13.89 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.001134/0.3606, allocations: 0.6547 MB / 1.044 GB, free: 13.19 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.3607, allocations: 8.031 kB / 1.044 GB, free: 13.18 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000153/0.3608, allocations: 52.38 kB / 1.044 GB, free: 13.13 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006959/0.3615, allocations: 388.5 kB / 1.044 GB, free: 12.71 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.963e-05/0.3616, allocations: 25.03 kB / 1.044 GB, free: 12.69 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.956e-05/0.3616, allocations: 28.38 kB / 1.045 GB, free: 12.66 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000653/0.3623, allocations: 370.5 kB / 1.045 GB, free: 12.27 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.74e-05/0.3623, allocations: 3.938 kB / 1.045 GB, free: 12.27 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.359e-05/0.3624, allocations: 19.94 kB / 1.045 GB, free: 12.25 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.3624, allocations: 4 kB / 1.045 GB, free: 12.24 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005101/0.3629, allocations: 250.1 kB / 1.045 GB, free: 11.99 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001668/0.3646, allocations: 1.24 MB / 1.046 GB, free: 10.68 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006136/0.3652, allocations: 289.5 kB / 1.047 GB, free: 10.39 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002183/0.3654, allocations: 120.8 kB / 1.047 GB, free: 10.27 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.961e-05/0.3655, allocations: 4 kB / 1.047 GB, free: 10.27 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.628e-05/0.3655, allocations: 34.56 kB / 1.047 GB, free: 10.22 MB / 0.698 GB Notification: Performance of pre-optimization done (n=22): time 1.973e-06/0.3655, allocations: 0 / 1.047 GB, free: 10.22 MB / 0.698 GB Notification: Performance of matching and sorting (n=22): time 0.0007023/0.3662, allocations: 350.3 kB / 1.047 GB, free: 9.875 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.891e-05/0.3663, allocations: 166.2 kB / 1.047 GB, free: 9.676 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003714/0.3667, allocations: 341.7 kB / 1.048 GB, free: 9.336 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.209e-05/0.3668, allocations: 33.7 kB / 1.048 GB, free: 9.297 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001539/0.3669, allocations: 212.3 kB / 1.048 GB, free: 9.086 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.801e-05/0.367, allocations: 82.83 kB / 1.048 GB, free: 9.004 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.172e-05/0.367, allocations: 4 kB / 1.048 GB, free: 9 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.3672, allocations: 346.8 kB / 1.048 GB, free: 8.652 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002331/0.3674, allocations: 95.95 kB / 1.048 GB, free: 8.559 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002309/0.3677, allocations: 151.7 kB / 1.048 GB, free: 8.383 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003984/0.3681, allocations: 231 kB / 1.049 GB, free: 8.145 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.3681, allocations: 0 / 1.049 GB, free: 8.145 MB / 0.698 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005405/0.3686, allocations: 312.9 kB / 1.049 GB, free: 7.832 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.3687, allocations: 4 kB / 1.049 GB, free: 7.828 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.3687, allocations: 3.938 kB / 1.049 GB, free: 7.824 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.3687, allocations: 4 kB / 1.049 GB, free: 7.82 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002244/0.3689, allocations: 59.91 kB / 1.049 GB, free: 7.762 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.3689, allocations: 0 / 1.049 GB, free: 7.762 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002168/0.3692, allocations: 47.91 kB / 1.049 GB, free: 7.715 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.112e-05/0.3692, allocations: 12 kB / 1.049 GB, free: 7.703 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.0001874/0.3694, allocations: 157.8 kB / 1.049 GB, free: 7.539 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.109e-05/0.3695, allocations: 39.47 kB / 1.049 GB, free: 7.5 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.565e-05/0.3695, allocations: 39.47 kB / 1.049 GB, free: 7.457 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.3696, allocations: 4 kB / 1.049 GB, free: 7.453 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.3696, allocations: 0 / 1.049 GB, free: 7.453 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.3696, allocations: 7.984 kB / 1.049 GB, free: 7.445 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004618/0.37, allocations: 421.2 kB / 1.05 GB, free: 6.984 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.3701, allocations: 0 / 1.05 GB, free: 6.984 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002313/0.3703, allocations: 47.91 kB / 1.05 GB, free: 6.938 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.586e-06/0.3703, allocations: 0 / 1.05 GB, free: 6.938 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.124e-05/0.3703, allocations: 8 kB / 1.05 GB, free: 6.93 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.3703, allocations: 0 / 1.05 GB, free: 6.93 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3703, allocations: 0 / 1.05 GB, free: 6.93 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007415/0.3711, allocations: 488.1 kB / 1.05 GB, free: 6.441 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001318/0.3712, allocations: 140.6 kB / 1.05 GB, free: 6.285 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.897e-05/0.3713, allocations: 8 kB / 1.05 GB, free: 6.277 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002049/0.3715, allocations: 31.92 kB / 1.05 GB, free: 6.246 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.394e-05/0.3716, allocations: 15.97 kB / 1.05 GB, free: 6.23 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.26e-05/0.3716, allocations: 4 kB / 1.05 GB, free: 6.227 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002543/0.3719, allocations: 251.2 kB / 1.051 GB, free: 5.984 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3719, allocations: 0 / 1.051 GB, free: 5.984 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003234/0.3722, allocations: 71.84 kB / 1.051 GB, free: 5.914 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.0001433/0.3724, allocations: 107.2 kB / 1.051 GB, free: 5.801 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004669/0.3728, allocations: 223.9 kB / 1.051 GB, free: 5.582 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3728, allocations: 3.938 kB / 1.051 GB, free: 5.578 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002085/0.3731, allocations: 115.9 kB / 1.051 GB, free: 5.465 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005814/0.3737, allocations: 79.81 kB / 1.051 GB, free: 5.383 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001499/0.3752, allocations: 0.878 MB / 1.052 GB, free: 4.48 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004442/0.3756, allocations: 0.7914 MB / 1.053 GB, free: 3.664 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001664/0.3758, allocations: 34.97 kB / 1.053 GB, free: 3.633 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.901e-05/0.3759, allocations: 27.42 kB / 1.053 GB, free: 3.605 MB / 0.698 GB Notification: Performance of SimCode: time 2.2e-07/0.3759, allocations: 0 / 1.053 GB, free: 3.605 MB / 0.698 GB Notification: Performance of Templates: time 0.007214/0.3831, allocations: 3.371 MB / 1.056 GB, free: 272 kB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresis.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresis.sim & ./Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresis -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe 2>&1)