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.001033/0.001033, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.001087/0.001087, allocations: 161 kB / 24.17 MB, free: 332 kB / 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.993/0.993, allocations: 177.1 MB / 204.6 MB, free: 5.48 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 2.152/2.152, allocations: 389.6 MB / 0.6354 GB, free: 12.31 MB / 0.6042 GB " [Timeout remaining time 177] 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 1.854e-06/1.854e-06, allocations: 0 / 0.7752 GB, free: 5.391 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.074e-05/2.259e-05, allocations: 8.188 kB / 0.7752 GB, free: 5.383 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.TimerWithReset): time 0.001791/0.001814, allocations: 0.9975 MB / 0.7762 GB, free: 4.41 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.002016/0.00383, allocations: 1.729 MB / 0.7779 GB, free: 2.672 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001135/0.003944, allocations: 5.281 kB / 0.7779 GB, free: 2.668 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 4.8e-05/0.003992, allocations: 11.81 kB / 0.7779 GB, free: 2.656 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001264/0.004118, allocations: 39.8 kB / 0.7779 GB, free: 2.625 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007016/0.00482, allocations: 309.4 kB / 0.7782 GB, free: 2.324 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0003666/0.005186, allocations: 459.7 kB / 0.7787 GB, free: 1.875 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001409/0.005327, allocations: 52.16 kB / 0.7787 GB, free: 1.824 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003347/0.005662, allocations: 267.6 kB / 0.779 GB, free: 1.562 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000189/0.005851, allocations: 128.5 kB / 0.7791 GB, free: 1.438 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 4.626e-05/0.005897, allocations: 39.94 kB / 0.7791 GB, free: 1.398 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001029/0.006, allocations: 51.98 kB / 0.7792 GB, free: 1.348 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 5.255e-05/0.006053, allocations: 72.58 kB / 0.7792 GB, free: 1.277 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001029/0.006156, allocations: 123.8 kB / 0.7794 GB, free: 1.156 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002889/0.006444, allocations: 301.9 kB / 0.7796 GB, free: 0.8633 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.006448, allocations: 0 / 0.7796 GB, free: 0.8633 MB / 0.7292 GB Notification: Performance of FrontEnd: time 8.71e-07/0.006449, allocations: 0 / 0.7796 GB, free: 0.8633 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.006454, allocations: 0 / 0.7796 GB, free: 0.8633 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.0006899/0.007144, allocations: 0.544 MB / 0.7802 GB, free: 288 kB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.00718, allocations: 9.344 kB / 0.7802 GB, free: 280 kB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.619e-05/0.007256, allocations: 56.88 kB / 0.7802 GB, free: 224 kB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000241/0.007497, allocations: 178 kB / 0.7804 GB, free: 20 kB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.673e-05/0.007544, allocations: 28.73 kB / 0.7804 GB, free: 15.99 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.249e-05/0.007586, allocations: 44.31 kB / 0.7805 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002844/0.007871, allocations: 235.4 kB / 0.7807 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.007879, allocations: 192 / 0.7807 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.1e-05/0.0079, allocations: 16.36 kB / 0.7807 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.007907, allocations: 7.938 kB / 0.7807 GB, free: 15.69 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001536/0.00806, allocations: 116.3 kB / 0.7808 GB, free: 15.58 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008027/0.008863, allocations: 390.9 kB / 0.7812 GB, free: 15.18 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000297/0.00916, allocations: 224.1 kB / 0.7814 GB, free: 14.96 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.976e-05/0.00924, allocations: 66.58 kB / 0.7815 GB, free: 14.89 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.047e-05/0.00926, allocations: 11.94 kB / 0.7815 GB, free: 14.88 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003666/0.009627, allocations: 317.1 kB / 0.7818 GB, free: 14.56 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=45): time 2.725e-06/0.009629, allocations: 0 / 0.7818 GB, free: 14.56 MB / 0.7448 GB Notification: Performance of matching and sorting (n=45): time 0.0004888/0.01012, allocations: 361.5 kB / 0.7821 GB, free: 14.2 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.438e-05/0.01018, allocations: 67.39 kB / 0.7822 GB, free: 14.12 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001344/0.01032, allocations: 160.7 kB / 0.7824 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 5.191e-05/0.01037, allocations: 54.62 kB / 0.7824 GB, free: 13.9 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.33e-05/0.01044, allocations: 117.3 kB / 0.7825 GB, free: 13.78 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 9.04e-05/0.01053, allocations: 111.2 kB / 0.7826 GB, free: 13.67 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001539/0.01069, allocations: 122.8 kB / 0.7827 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.01082, allocations: 339.5 kB / 0.7831 GB, free: 13.21 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001712/0.011, allocations: 140.7 kB / 0.7832 GB, free: 13.06 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002244/0.01122, allocations: 259.2 kB / 0.7835 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003546/0.01157, allocations: 330.6 kB / 0.7838 GB, free: 12.38 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.374e-06/0.01158, allocations: 0 / 0.7838 GB, free: 12.38 MB / 0.7448 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005208/0.0121, allocations: 438.6 kB / 0.7842 GB, free: 11.92 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 7.241e-05/0.01218, allocations: 75.33 kB / 0.7843 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.01219, allocations: 1.094 kB / 0.7843 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.198e-05/0.01221, allocations: 8 kB / 0.7843 GB, free: 11.83 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001729/0.01238, allocations: 59.91 kB / 0.7843 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.24e-05/0.01239, allocations: 12.95 kB / 0.7843 GB, free: 11.76 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002442/0.01264, allocations: 81.34 kB / 0.7844 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.518e-05/0.01268, allocations: 35.97 kB / 0.7844 GB, free: 11.64 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.0002005/0.01288, allocations: 164.3 kB / 0.7846 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.499e-05/0.01294, allocations: 55.88 kB / 0.7847 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.985e-05/0.013, allocations: 26.3 kB / 0.7847 GB, free: 11.4 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.68e-06/0.013, allocations: 4 kB / 0.7847 GB, free: 11.4 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.307e-06/0.01301, allocations: 5.094 kB / 0.7847 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.705e-06/0.01302, allocations: 3.984 kB / 0.7847 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005933/0.01361, allocations: 492.6 kB / 0.7852 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.01362, allocations: 4 kB / 0.7852 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.682e-05/0.01368, allocations: 16.72 kB / 0.7852 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.905e-06/0.01368, allocations: 7.984 kB / 0.7852 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.673e-05/0.01371, allocations: 16.47 kB / 0.7852 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.01371, allocations: 2.594 kB / 0.7852 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.01372, allocations: 0 / 0.7852 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003739/0.01409, allocations: 379.1 kB / 0.7856 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.031e-05/0.01412, allocations: 23.78 kB / 0.7856 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.435e-05/0.01417, allocations: 23.98 kB / 0.7856 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.01428, allocations: 23.97 kB / 0.7856 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001116/0.01439, allocations: 54.33 kB / 0.7857 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.407e-05/0.01444, allocations: 31.91 kB / 0.7857 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.26e-05/0.01448, allocations: 40.12 kB / 0.7858 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.01448, allocations: 0 / 0.7858 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003194/0.0148, allocations: 107.9 kB / 0.7859 GB, free: 10.16 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.0002118/0.01501, allocations: 120.6 kB / 0.786 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004781/0.01549, allocations: 453.8 kB / 0.7864 GB, free: 9.551 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.0155, allocations: 0 / 0.7864 GB, free: 9.551 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001817/0.01568, allocations: 160.5 kB / 0.7866 GB, free: 9.391 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002558/0.01593, allocations: 55.94 kB / 0.7866 GB, free: 9.34 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000684/0.01662, allocations: 446.1 kB / 0.787 GB, free: 8.879 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.896e-05/0.01669, allocations: 85.3 kB / 0.7871 GB, free: 8.773 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001039/0.01679, allocations: 39.69 kB / 0.7872 GB, free: 8.734 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001874/0.01698, allocations: 115.3 kB / 0.7873 GB, free: 8.621 MB / 0.7448 GB Notification: Performance of SimCode: time 1.763e-06/0.01698, allocations: 0 / 0.7873 GB, free: 8.621 MB / 0.7448 GB Notification: Performance of Templates: time 0.00728/0.02426, allocations: 4.883 MB / 0.792 GB, free: 3.934 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.TimerWithReset.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.443092443048954]