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.002617/0.002617, allocations: 80.52 kB / 19.95 MB, free: 4.602 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.003822/0.003822, allocations: 173.2 kB / 23.24 MB, free: 1.324 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.591/1.591, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 178] 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 3.296/3.296, allocations: 389.5 MB / 0.6343 GB, free: 12.61 MB / 0.6042 GB " [Timeout remaining time 176] 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 3.226e-06/3.226e-06, allocations: 0 / 1.001 GB, free: 13.03 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.006e-05/3.328e-05, allocations: 2.281 kB / 1.001 GB, free: 13.03 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.TimerWithReset): time 0.002317/0.002351, allocations: 0.9371 MB / 1.002 GB, free: 12.09 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.002956/0.005306, allocations: 1.676 MB / 1.004 GB, free: 10.4 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001016/0.005408, allocations: 4 kB / 1.004 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 6.886e-05/0.005477, allocations: 19.73 kB / 1.004 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0001328/0.005609, allocations: 43.58 kB / 1.004 GB, free: 10.33 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008696/0.006479, allocations: 313.5 kB / 1.004 GB, free: 10.03 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0005347/0.007014, allocations: 451.1 kB / 1.004 GB, free: 9.59 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001513/0.007165, allocations: 49.84 kB / 1.004 GB, free: 9.539 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003932/0.007558, allocations: 267.5 kB / 1.005 GB, free: 9.277 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002452/0.007803, allocations: 139.7 kB / 1.005 GB, free: 9.141 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 8.546e-05/0.007889, allocations: 44 kB / 1.005 GB, free: 9.098 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001249/0.008014, allocations: 55.88 kB / 1.005 GB, free: 9.043 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 9.788e-05/0.008112, allocations: 79.81 kB / 1.005 GB, free: 8.965 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0002039/0.008315, allocations: 139.7 kB / 1.005 GB, free: 8.828 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0006051/0.008921, allocations: 450.8 kB / 1.006 GB, free: 8.387 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.008924, allocations: 0 / 1.006 GB, free: 8.387 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.243e-06/0.008925, allocations: 4 kB / 1.006 GB, free: 8.383 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.008931, allocations: 0 / 1.006 GB, free: 8.383 MB / 0.9636 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.001214/0.01014, allocations: 0.57 MB / 1.006 GB, free: 7.77 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.01018, allocations: 9.344 kB / 1.006 GB, free: 7.762 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001174/0.0103, allocations: 44.78 kB / 1.006 GB, free: 7.719 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008029/0.01111, allocations: 257.9 kB / 1.006 GB, free: 7.441 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.913e-05/0.01115, allocations: 24.69 kB / 1.007 GB, free: 7.418 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.447e-05/0.01124, allocations: 44.36 kB / 1.007 GB, free: 7.375 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008619/0.0121, allocations: 280.6 kB / 1.007 GB, free: 7.098 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.01211, allocations: 192 / 1.007 GB, free: 7.098 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.928e-05/0.01215, allocations: 16.11 kB / 1.007 GB, free: 7.082 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/0.01216, allocations: 8 kB / 1.007 GB, free: 7.074 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004587/0.01262, allocations: 196 kB / 1.007 GB, free: 6.883 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001417/0.01404, allocations: 0.5466 MB / 1.008 GB, free: 6.305 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000669/0.01471, allocations: 306.5 kB / 1.008 GB, free: 5.996 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002744/0.01498, allocations: 123.3 kB / 1.008 GB, free: 5.875 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.807e-05/0.01501, allocations: 4 kB / 1.008 GB, free: 5.871 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007265/0.01573, allocations: 377.9 kB / 1.008 GB, free: 5.488 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=45): time 1.713e-06/0.01574, allocations: 0 / 1.008 GB, free: 5.488 MB / 0.9636 GB Notification: Performance of matching and sorting (n=45): time 0.001417/0.01715, allocations: 0.6848 MB / 1.009 GB, free: 4.797 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001145/0.01727, allocations: 79.06 kB / 1.009 GB, free: 4.707 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001872/0.01746, allocations: 164.7 kB / 1.009 GB, free: 4.535 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 7.539e-05/0.01753, allocations: 57.69 kB / 1.009 GB, free: 4.473 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001182/0.01765, allocations: 113.3 kB / 1.009 GB, free: 4.359 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001301/0.01778, allocations: 111.2 kB / 1.009 GB, free: 4.25 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002092/0.01799, allocations: 122.3 kB / 1.01 GB, free: 4.125 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0004679/0.01846, allocations: 342.8 kB / 1.01 GB, free: 3.781 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003539/0.01881, allocations: 200.6 kB / 1.01 GB, free: 3.57 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004719/0.01928, allocations: 326.7 kB / 1.01 GB, free: 3.195 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005923/0.01987, allocations: 383.8 kB / 1.011 GB, free: 2.766 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.01988, allocations: 4 kB / 1.011 GB, free: 2.762 MB / 0.9636 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001045/0.02092, allocations: 0.5974 MB / 1.011 GB, free: 2.133 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 7.697e-05/0.021, allocations: 67.39 kB / 1.011 GB, free: 2.055 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.02101, allocations: 4 kB / 1.011 GB, free: 2.051 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.313e-05/0.02103, allocations: 8 kB / 1.011 GB, free: 2.043 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002013/0.02123, allocations: 43.86 kB / 1.012 GB, free: 2 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.65e-05/0.02125, allocations: 11.98 kB / 1.012 GB, free: 1.988 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004621/0.02171, allocations: 92.08 kB / 1.012 GB, free: 1.898 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.79e-05/0.02177, allocations: 31.88 kB / 1.012 GB, free: 1.867 MB / 0.9636 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.0002225/0.02199, allocations: 177.7 kB / 1.012 GB, free: 1.688 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.43e-05/0.02205, allocations: 27.86 kB / 1.012 GB, free: 1.66 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001088/0.02216, allocations: 42.22 kB / 1.012 GB, free: 1.617 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.768e-06/0.02217, allocations: 4 kB / 1.012 GB, free: 1.613 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/0.02217, allocations: 0 / 1.012 GB, free: 1.613 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.191e-06/0.02218, allocations: 3.938 kB / 1.012 GB, free: 1.609 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001579/0.02376, allocations: 0.8581 MB / 1.013 GB, free: 0.7148 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.02376, allocations: 0 / 1.013 GB, free: 0.7148 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.677e-05/0.02384, allocations: 15.98 kB / 1.013 GB, free: 0.6992 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.02384, allocations: 0 / 1.013 GB, free: 0.6992 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.943e-05/0.02388, allocations: 19.97 kB / 1.013 GB, free: 0.6797 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.02388, allocations: 4 kB / 1.013 GB, free: 0.6758 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.02389, allocations: 8 kB / 1.013 GB, free: 0.668 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001113/0.025, allocations: 0.6706 MB / 1.013 GB, free: 15.98 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 3.334e-05/0.02503, allocations: 23.8 kB / 1.013 GB, free: 15.96 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.075e-05/0.0251, allocations: 23.98 kB / 1.013 GB, free: 15.93 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001892/0.02529, allocations: 23.97 kB / 1.013 GB, free: 15.91 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001416/0.02544, allocations: 59.83 kB / 1.014 GB, free: 15.85 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.678e-05/0.0255, allocations: 35.97 kB / 1.014 GB, free: 15.82 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0001074/0.02561, allocations: 118.2 kB / 1.014 GB, free: 15.7 MB / 0.9792 GB Notification: Performance of sort global known variables: time 8e-08/0.02561, allocations: 4 kB / 1.014 GB, free: 15.7 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0004506/0.02606, allocations: 107.9 kB / 1.014 GB, free: 15.59 MB / 0.9792 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.000264/0.02632, allocations: 137.8 kB / 1.014 GB, free: 15.45 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0009916/0.02732, allocations: 0.5587 MB / 1.014 GB, free: 14.86 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.02732, allocations: 4.25 kB / 1.014 GB, free: 14.85 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0003944/0.02771, allocations: 192.1 kB / 1.015 GB, free: 14.66 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003958/0.02811, allocations: 44.45 kB / 1.015 GB, free: 14.62 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001042/0.02915, allocations: 0.4907 MB / 1.015 GB, free: 14.11 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000169/0.02932, allocations: 139.2 kB / 1.015 GB, free: 13.95 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0001314/0.02945, allocations: 34.97 kB / 1.015 GB, free: 13.91 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.665e-05/0.02954, allocations: 32.48 kB / 1.015 GB, free: 13.88 MB / 0.9792 GB Notification: Performance of SimCode: time 6.21e-07/0.02954, allocations: 0 / 1.015 GB, free: 13.88 MB / 0.9792 GB Notification: Performance of Templates: time 0.01117/0.04071, allocations: 4.69 MB / 1.02 GB, free: 9.27 MB / 0.9792 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: 9.487701151520014]