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.0009364/0.0009364, allocations: 80.81 kB / 21.55 MB, free: 2.945 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.0009736/0.0009736, allocations: 165.5 kB / 24.96 MB, free: 8.129 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 0.9026/0.9026, allocations: 177.1 MB / 205.4 MB, free: 5.488 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.914/1.914, allocations: 389.6 MB / 0.6362 GB, free: 12.29 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.455e-06/2.455e-06, allocations: 0 / 0.776 GB, free: 5.363 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.258e-05/2.504e-05, allocations: 4.812 kB / 0.776 GB, free: 5.359 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.TimerWithReset): time 0.008214/0.008239, allocations: 1.006 MB / 0.7769 GB, free: 4.379 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.005263/0.0135, allocations: 1.717 MB / 0.7786 GB, free: 2.652 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001299/0.01363, allocations: 4 kB / 0.7786 GB, free: 2.648 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 5.239e-05/0.01368, allocations: 15.75 kB / 0.7786 GB, free: 2.633 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001351/0.01382, allocations: 51.45 kB / 0.7787 GB, free: 2.594 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007654/0.01459, allocations: 319.1 kB / 0.779 GB, free: 2.281 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0004303/0.01502, allocations: 454.4 kB / 0.7794 GB, free: 1.84 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001313/0.01515, allocations: 42.56 kB / 0.7795 GB, free: 1.797 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003512/0.0155, allocations: 271.5 kB / 0.7797 GB, free: 1.531 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001972/0.0157, allocations: 139.6 kB / 0.7799 GB, free: 1.395 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 5.188e-05/0.01575, allocations: 32 kB / 0.7799 GB, free: 1.363 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001043/0.01585, allocations: 48 kB / 0.7799 GB, free: 1.316 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 5.74e-05/0.01591, allocations: 67.84 kB / 0.78 GB, free: 1.25 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001263/0.01604, allocations: 131.5 kB / 0.7801 GB, free: 1.125 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.003179/0.01921, allocations: 295 kB / 0.7804 GB, free: 0.8359 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.01922, allocations: 0 / 0.7804 GB, free: 0.8359 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.422e-06/0.01922, allocations: 0 / 0.7804 GB, free: 0.8359 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.01923, allocations: 0 / 0.7804 GB, free: 0.8359 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.0007629/0.01999, allocations: 0.5414 MB / 0.7809 GB, free: 260 kB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.02002, allocations: 11.09 kB / 0.7809 GB, free: 252 kB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.023e-05/0.02011, allocations: 56.86 kB / 0.781 GB, free: 196 kB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002902/0.02041, allocations: 178.3 kB / 0.7812 GB, free: 15.99 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.744e-05/0.02044, allocations: 29.72 kB / 0.7812 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.204e-05/0.02049, allocations: 44.36 kB / 0.7812 GB, free: 15.92 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003167/0.02081, allocations: 241.8 kB / 0.7815 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.02082, allocations: 192 / 0.7815 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.463e-05/0.02084, allocations: 16.14 kB / 0.7815 GB, free: 15.67 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.934e-06/0.02085, allocations: 7.938 kB / 0.7815 GB, free: 15.66 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001628/0.02102, allocations: 112.4 kB / 0.7816 GB, free: 15.55 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007889/0.0218, allocations: 398.4 kB / 0.782 GB, free: 15.15 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002828/0.02209, allocations: 214.4 kB / 0.7822 GB, free: 14.93 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.996e-05/0.02218, allocations: 76.75 kB / 0.7823 GB, free: 14.85 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004026/0.0262, allocations: 4 kB / 0.7823 GB, free: 14.85 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003823/0.02659, allocations: 316.8 kB / 0.7826 GB, free: 14.53 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=45): time 2.154e-06/0.02659, allocations: 0.5312 kB / 0.7826 GB, free: 14.53 MB / 0.7448 GB Notification: Performance of matching and sorting (n=45): time 0.0004758/0.02706, allocations: 361.6 kB / 0.7829 GB, free: 14.17 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.474e-05/0.02711, allocations: 63.34 kB / 0.783 GB, free: 14.1 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001239/0.02723, allocations: 169 kB / 0.7831 GB, free: 13.92 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.872e-05/0.02728, allocations: 49.7 kB / 0.7832 GB, free: 13.87 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.694e-05/0.02735, allocations: 122.2 kB / 0.7833 GB, free: 13.75 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002336/0.02758, allocations: 107.2 kB / 0.7834 GB, free: 13.64 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001408/0.02772, allocations: 119.8 kB / 0.7835 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001038/0.02783, allocations: 350.7 kB / 0.7838 GB, free: 13.17 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001442/0.02797, allocations: 132.7 kB / 0.784 GB, free: 13.03 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001968/0.02817, allocations: 258.7 kB / 0.7842 GB, free: 12.72 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002937/0.02846, allocations: 333.5 kB / 0.7845 GB, free: 12.34 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.02846, allocations: 0.5625 kB / 0.7845 GB, free: 12.34 MB / 0.7448 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0004515/0.02892, allocations: 438.7 kB / 0.785 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.787e-05/0.02896, allocations: 71.39 kB / 0.785 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.02897, allocations: 4.812 kB / 0.785 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.02899, allocations: 7.984 kB / 0.785 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003181/0.03217, allocations: 68.44 kB / 0.7851 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.03218, allocations: 8 kB / 0.7851 GB, free: 11.72 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002446/0.03242, allocations: 81.56 kB / 0.7852 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.504e-05/0.03246, allocations: 24.83 kB / 0.7852 GB, free: 11.62 MB / 0.7448 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.0001516/0.03261, allocations: 163.7 kB / 0.7854 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.868e-05/0.03267, allocations: 55.88 kB / 0.7854 GB, free: 11.4 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.904e-05/0.03272, allocations: 26.31 kB / 0.7854 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.633e-06/0.03273, allocations: 11.92 kB / 0.7855 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.03273, allocations: 0.7188 kB / 0.7855 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.339e-06/0.03273, allocations: 4.625 kB / 0.7855 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000518/0.03325, allocations: 488.8 kB / 0.7859 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.03325, allocations: 0 / 0.7859 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.797e-05/0.03331, allocations: 19.98 kB / 0.7859 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.578e-06/0.03332, allocations: 5.75 kB / 0.7859 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.409e-05/0.03334, allocations: 15.97 kB / 0.786 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.03334, allocations: 0 / 0.786 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.03335, allocations: 4 kB / 0.786 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003296/0.03368, allocations: 379.1 kB / 0.7863 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.147e-05/0.0337, allocations: 24.89 kB / 0.7864 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.651e-05/0.03374, allocations: 19.98 kB / 0.7864 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001286/0.03387, allocations: 25.78 kB / 0.7864 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.593e-05/0.03396, allocations: 51.89 kB / 0.7864 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.934e-05/0.034, allocations: 27.97 kB / 0.7865 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.868e-05/0.03404, allocations: 39.31 kB / 0.7865 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5.1e-08/0.03404, allocations: 0.7188 kB / 0.7865 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003306/0.03437, allocations: 111.9 kB / 0.7866 GB, free: 10.14 MB / 0.7448 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.0001722/0.03454, allocations: 124.4 kB / 0.7867 GB, free: 10 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004551/0.03499, allocations: 460 kB / 0.7872 GB, free: 9.52 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 7.394e-06/0.035, allocations: 6.281 kB / 0.7872 GB, free: 9.516 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.003219/0.03822, allocations: 156.5 kB / 0.7873 GB, free: 9.359 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002699/0.03849, allocations: 62.06 kB / 0.7874 GB, free: 9.301 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006579/0.03915, allocations: 440.9 kB / 0.7878 GB, free: 8.848 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.055e-05/0.03921, allocations: 85.3 kB / 0.7879 GB, free: 8.742 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.000107/0.03932, allocations: 38.2 kB / 0.7879 GB, free: 8.703 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001913/0.03951, allocations: 116.4 kB / 0.788 GB, free: 8.59 MB / 0.7448 GB Notification: Performance of SimCode: time 1.423e-06/0.03951, allocations: 0 / 0.788 GB, free: 8.59 MB / 0.7448 GB Notification: Performance of Templates: time 0.006919/0.04643, allocations: 4.88 MB / 0.7928 GB, free: 3.914 MB / 0.7448 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.TimerWithReset.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.170427713543177]