Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.TimerWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001003/0.001003, allocations: 75.7 kB / 21.74 MB, free: 2.516 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009245/0.0009245, allocations: 169.2 kB / 25.18 MB, free: 9.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.01/1.01, allocations: 177.1 MB / 205.6 MB, free: 5.117 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.882/1.882, allocations: 389.6 MB / 0.6364 GB, free: 12.23 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.TimerWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.TimerWithReset") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.TimerWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.TimerWithReset") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.775e-06/2.775e-06, allocations: 0 / 0.7755 GB, free: 5.996 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.53e-05/2.807e-05, allocations: 6.25 kB / 0.7755 GB, free: 5.988 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.TimerWithReset): time 0.001725/0.001753, allocations: 0.9954 MB / 0.7765 GB, free: 5.02 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001672/0.003425, allocations: 1.713 MB / 0.7782 GB, free: 3.297 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.951e-05/0.003505, allocations: 4 kB / 0.7782 GB, free: 3.293 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 4.386e-05/0.003548, allocations: 20.39 kB / 0.7782 GB, free: 3.273 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001088/0.003657, allocations: 41.78 kB / 0.7782 GB, free: 3.242 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005073/0.004165, allocations: 314.2 kB / 0.7785 GB, free: 2.938 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0003092/0.004474, allocations: 455 kB / 0.779 GB, free: 2.492 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001152/0.004589, allocations: 46.56 kB / 0.779 GB, free: 2.445 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002418/0.004831, allocations: 263.6 kB / 0.7793 GB, free: 2.188 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001511/0.004982, allocations: 135.6 kB / 0.7794 GB, free: 2.059 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 4.676e-05/0.005029, allocations: 39.98 kB / 0.7794 GB, free: 2.02 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 8.942e-05/0.005118, allocations: 47.94 kB / 0.7795 GB, free: 1.973 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 5.154e-05/0.00517, allocations: 71.78 kB / 0.7795 GB, free: 1.902 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001012/0.005271, allocations: 131.7 kB / 0.7797 GB, free: 1.773 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002546/0.005525, allocations: 291 kB / 0.7799 GB, free: 1.488 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.245e-06/0.005528, allocations: 0 / 0.7799 GB, free: 1.488 MB / 0.7292 GB Notification: Performance of FrontEnd: time 8.71e-07/0.005528, allocations: 4 kB / 0.78 GB, free: 1.484 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.877e-06/0.005532, allocations: 0.5625 kB / 0.78 GB, free: 1.484 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.00062/0.006152, allocations: 0.5332 MB / 0.7805 GB, free: 0.9141 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.105e-05/0.006183, allocations: 13.34 kB / 0.7805 GB, free: 0.9023 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.856e-05/0.006252, allocations: 60.86 kB / 0.7805 GB, free: 0.8438 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002205/0.006472, allocations: 182.2 kB / 0.7807 GB, free: 0.6406 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.767e-05/0.0065, allocations: 28.69 kB / 0.7807 GB, free: 0.6133 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.21e-05/0.006542, allocations: 43.11 kB / 0.7808 GB, free: 0.5742 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002423/0.006785, allocations: 241.2 kB / 0.781 GB, free: 340 kB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.006791, allocations: 192 / 0.781 GB, free: 340 kB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.999e-05/0.006811, allocations: 16.3 kB / 0.781 GB, free: 324 kB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.006818, allocations: 7.938 kB / 0.781 GB, free: 316 kB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001344/0.006953, allocations: 112.4 kB / 0.7811 GB, free: 204 kB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009922/0.007945, allocations: 395.5 kB / 0.7815 GB, free: 15.8 MB / 0.7449 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004395/0.008384, allocations: 222.7 kB / 0.7817 GB, free: 15.58 MB / 0.7449 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.035e-05/0.008455, allocations: 70.25 kB / 0.7818 GB, free: 15.51 MB / 0.7449 GB Notification: Performance of preOpt evalFunc (simulation): time 1.517e-05/0.00847, allocations: 4 kB / 0.7818 GB, free: 15.5 MB / 0.7449 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000281/0.008751, allocations: 312.9 kB / 0.7821 GB, free: 15.19 MB / 0.7449 GB Notification: Performance of pre-optimization done (n=45): time 2.043e-06/0.008753, allocations: 1.062 kB / 0.7821 GB, free: 15.19 MB / 0.7449 GB Notification: Performance of matching and sorting (n=45): time 0.0006561/0.009409, allocations: 368.6 kB / 0.7825 GB, free: 14.82 MB / 0.7449 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.964e-05/0.009449, allocations: 60.59 kB / 0.7825 GB, free: 14.75 MB / 0.7449 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.818e-05/0.009537, allocations: 168.1 kB / 0.7827 GB, free: 14.58 MB / 0.7449 GB Notification: Performance of collectPreVariables (initialization): time 3.52e-05/0.009572, allocations: 45.7 kB / 0.7827 GB, free: 14.53 MB / 0.7449 GB Notification: Performance of collectInitialEqns (initialization): time 4.99e-05/0.009622, allocations: 117.8 kB / 0.7828 GB, free: 14.41 MB / 0.7449 GB Notification: Performance of collectInitialBindings (initialization): time 6.047e-05/0.009682, allocations: 111.2 kB / 0.7829 GB, free: 14.3 MB / 0.7449 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/0.009785, allocations: 119.1 kB / 0.7831 GB, free: 14.18 MB / 0.7449 GB Notification: Performance of setup shared object (initialization): time 8.636e-05/0.009872, allocations: 350.7 kB / 0.7834 GB, free: 13.83 MB / 0.7449 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001105/0.009982, allocations: 141.5 kB / 0.7835 GB, free: 13.68 MB / 0.7449 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001655/0.01015, allocations: 268.1 kB / 0.7838 GB, free: 13.36 MB / 0.7449 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000236/0.01038, allocations: 337.9 kB / 0.7841 GB, free: 12.98 MB / 0.7449 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.01039, allocations: 1.031 kB / 0.7841 GB, free: 12.98 MB / 0.7449 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0003355/0.01072, allocations: 448.7 kB / 0.7845 GB, free: 12.52 MB / 0.7449 GB Notification: Performance of prepare postOptimizeDAE: time 4.316e-05/0.01077, allocations: 69.42 kB / 0.7846 GB, free: 12.44 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.01077, allocations: 4.938 kB / 0.7846 GB, free: 12.44 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.01e-05/0.01078, allocations: 4 kB / 0.7846 GB, free: 12.43 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001255/0.01091, allocations: 64.78 kB / 0.7847 GB, free: 12.37 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.01092, allocations: 11.98 kB / 0.7847 GB, free: 12.36 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000178/0.01109, allocations: 86.2 kB / 0.7848 GB, free: 12.28 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.833e-05/0.01112, allocations: 23.98 kB / 0.7848 GB, free: 12.25 MB / 0.7449 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 59 (thrTim1Res.passed,$PRE.thrTim1Res.passed,thrTimRes.passed,$PRE.thrTimRes.passed,noThrRes.passed,$PRE.noThrRes.passed,thrTim1.passed,$PRE.thrTim1.passed,thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition11,$whenCondition12,$whenCondition9,$whenCondition10,$whenCondition4,thrTimRes.entryTime,$PRE.thrTimRes.entryTime,noThrRes.entryTime,$PRE.noThrRes.entryTime,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition5,$whenCondition13,$whenCondition15,thrTim1Res.entryTime,$PRE.thrTim1Res.entryTime,booPul1.y,$PRE.booPul1.y,thrTim1.entryTime,$PRE.thrTim1.entryTime,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition16,res.entryTimeFalse,$PRE.res.entryTimeFalse,res.entryTimeTrue,$PRE.res.entryTimeTrue,res.not_y,$PRE.res.not_y,res.not_u,$PRE.res.not_u,res.y,$PRE.res.y,res.u,$PRE.res.u,$whenCondition14,$whenCondition17,$whenCondition18,$whenCondition19) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001593/0.01128, allocations: 171 kB / 0.7849 GB, free: 12.08 MB / 0.7449 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.17e-05/0.01136, allocations: 55.88 kB / 0.785 GB, free: 12.03 MB / 0.7449 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.279e-05/0.01143, allocations: 27.34 kB / 0.785 GB, free: 12 MB / 0.7449 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.01143, allocations: 4 kB / 0.785 GB, free: 12 MB / 0.7449 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/0.01143, allocations: 0 / 0.785 GB, free: 12 MB / 0.7449 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.917e-06/0.01144, allocations: 5.734 kB / 0.785 GB, free: 12 MB / 0.7449 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006681/0.01211, allocations: 479.8 kB / 0.7855 GB, free: 11.5 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.01211, allocations: 0 / 0.7855 GB, free: 11.5 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.222e-05/0.0122, allocations: 27.92 kB / 0.7855 GB, free: 11.48 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.01221, allocations: 5.094 kB / 0.7855 GB, free: 11.47 MB / 0.7449 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.356e-05/0.01224, allocations: 15.97 kB / 0.7855 GB, free: 11.46 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.01225, allocations: 0 / 0.7855 GB, free: 11.46 MB / 0.7449 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.01225, allocations: 5.625 kB / 0.7855 GB, free: 11.45 MB / 0.7449 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000248/0.01249, allocations: 379.1 kB / 0.7859 GB, free: 11.07 MB / 0.7449 GB Notification: Performance of postOpt removeConstants (simulation): time 1.391e-05/0.01251, allocations: 19.86 kB / 0.7859 GB, free: 11.05 MB / 0.7449 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.907e-05/0.01255, allocations: 23.98 kB / 0.7859 GB, free: 11.02 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.158e-05/0.01264, allocations: 28.86 kB / 0.786 GB, free: 11 MB / 0.7449 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.814e-05/0.01271, allocations: 53.11 kB / 0.786 GB, free: 10.95 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.987e-05/0.01274, allocations: 27.97 kB / 0.7861 GB, free: 10.92 MB / 0.7449 GB Notification: Performance of sorting global known variables: time 2.318e-05/0.01276, allocations: 36.55 kB / 0.7861 GB, free: 10.88 MB / 0.7449 GB Notification: Performance of sort global known variables: time 4e-08/0.01276, allocations: 0.9062 kB / 0.7861 GB, free: 10.88 MB / 0.7449 GB Notification: Performance of remove unused functions: time 0.0002217/0.01298, allocations: 115.9 kB / 0.7862 GB, free: 10.77 MB / 0.7449 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 39 ($whenCondition19,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition13,$whenCondition14,$whenCondition11,$whenCondition12,$whenCondition9,$whenCondition10,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition4,$whenCondition3,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,thrTim1.passed,thrTim1.entryTime,booPul.y,booPul1.y,noThrRes.passed,noThrRes.entryTime,thrTimRes.passed,thrTimRes.entryTime,thrTim1Res.passed,thrTim1Res.entryTime,res.u,res.y,res.not_u,res.not_y,res.entryTimeTrue,res.entryTimeFalse) * Number of discrete states: 12 (res.entryTimeFalse,res.entryTimeTrue,res.u,res.not_u,res.y,res.not_y,thrTim1.entryTime,thrTim1Res.entryTime,noThr.entryTime,thrTim.entryTime,noThrRes.entryTime,thrTimRes.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 17 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001295/0.01311, allocations: 118.1 kB / 0.7863 GB, free: 10.64 MB / 0.7449 GB Notification: Performance of simCode: created initialization part: time 0.0003509/0.01346, allocations: 470.5 kB / 0.7868 GB, free: 10.15 MB / 0.7449 GB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.01347, allocations: 4 kB / 0.7868 GB, free: 10.14 MB / 0.7449 GB Notification: Performance of simCode: created simulation system equations: time 0.0001262/0.01359, allocations: 152.5 kB / 0.7869 GB, free: 9.992 MB / 0.7449 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001796/0.01377, allocations: 57.75 kB / 0.787 GB, free: 9.938 MB / 0.7449 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004785/0.01425, allocations: 477.4 kB / 0.7874 GB, free: 9.441 MB / 0.7449 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.8e-05/0.01433, allocations: 137 kB / 0.7875 GB, free: 9.285 MB / 0.7449 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001506/0.01448, allocations: 120.2 kB / 0.7877 GB, free: 9.168 MB / 0.7449 GB Notification: Performance of SimCode: time 7.31e-07/0.01448, allocations: 0 / 0.7877 GB, free: 9.168 MB / 0.7449 GB Notification: Performance of Templates: time 0.003703/0.01818, allocations: 3.972 MB / 0.7915 GB, free: 5.316 MB / 0.7449 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.TimerWithReset.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.TimerWithReset.pipe ; mkfifo Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.TimerWithReset.pipe ; head -c 1048576 < Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.TimerWithReset.pipe >> ../files/Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.TimerWithReset.sim & ./Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.TimerWithReset > Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.TimerWithReset.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.707803064957261]