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.001954/0.001954, allocations: 104.3 kB / 19.72 MB, free: 416 kB / 13.93 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.003018/0.003018, allocations: 213 kB / 23.02 MB, free: 2.949 MB / 13.93 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.694/1.694, allocations: 230.6 MB / 256.8 MB, free: 9.598 MB / 202.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.446/3.446, allocations: 0.5045 GB / 0.8104 GB, free: 2.785 MB / 0.6511 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 0.003753/0.003753, allocations: 63.91 kB / 1.177 GB, free: 11.49 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9068/0.9106, allocations: 180 MB / 1.353 GB, free: 1.617 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.TimerWithReset): time 0.002537/0.9131, allocations: 0.9278 MB / 1.354 GB, free: 0.6914 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.00287/0.916, allocations: 1.669 MB / 1.355 GB, free: 15 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001223/0.9161, allocations: 3.938 kB / 1.355 GB, free: 15 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 5.877e-05/0.9162, allocations: 15.8 kB / 1.355 GB, free: 14.98 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001802/0.9163, allocations: 39.64 kB / 1.355 GB, free: 14.95 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009653/0.9173, allocations: 328.5 kB / 1.356 GB, free: 14.63 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.00079/0.9181, allocations: 450.9 kB / 1.356 GB, free: 14.19 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001861/0.9183, allocations: 41.94 kB / 1.356 GB, free: 14.15 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002863/0.9186, allocations: 179.6 kB / 1.356 GB, free: 13.97 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002658/0.9188, allocations: 163.4 kB / 1.357 GB, free: 13.81 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 8.166e-05/0.9189, allocations: 40 kB / 1.357 GB, free: 13.77 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00013/0.9191, allocations: 51.98 kB / 1.357 GB, free: 13.72 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001037/0.9192, allocations: 79.8 kB / 1.357 GB, free: 13.64 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001992/0.9194, allocations: 143.6 kB / 1.357 GB, free: 13.5 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0005294/0.9199, allocations: 401.5 kB / 1.357 GB, free: 13.11 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.9199, allocations: 0 / 1.357 GB, free: 13.11 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.512e-06/0.9199, allocations: 4 kB / 1.357 GB, free: 13.11 MB / 1.042 GB Notification: Performance of Transformations before backend: time 6.873e-06/0.9199, allocations: 0 / 1.357 GB, free: 13.11 MB / 1.042 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.001291/0.9212, allocations: 0.5777 MB / 1.358 GB, free: 12.48 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.9212, allocations: 12.92 kB / 1.358 GB, free: 12.47 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001103/0.9213, allocations: 32.84 kB / 1.358 GB, free: 12.44 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008512/0.9222, allocations: 265.6 kB / 1.358 GB, free: 12.16 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.505e-05/0.9222, allocations: 28.69 kB / 1.358 GB, free: 12.13 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.418e-05/0.9223, allocations: 44.36 kB / 1.358 GB, free: 12.09 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000585/0.9229, allocations: 284.1 kB / 1.358 GB, free: 11.81 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.9229, allocations: 0 / 1.358 GB, free: 11.81 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.297e-05/0.923, allocations: 19.95 kB / 1.358 GB, free: 11.79 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.923, allocations: 4 kB / 1.359 GB, free: 11.79 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000434/0.9234, allocations: 196 kB / 1.359 GB, free: 11.59 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001417/0.9248, allocations: 0.5505 MB / 1.359 GB, free: 11.01 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006727/0.9255, allocations: 294.6 kB / 1.36 GB, free: 10.71 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002719/0.9258, allocations: 116.8 kB / 1.36 GB, free: 10.6 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.755e-05/0.9258, allocations: 7.938 kB / 1.36 GB, free: 10.59 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007506/0.9266, allocations: 385.8 kB / 1.36 GB, free: 10.2 MB / 1.042 GB Notification: Performance of pre-optimization done (n=45): time 2.064e-06/0.9266, allocations: 0 / 1.36 GB, free: 10.2 MB / 1.042 GB Notification: Performance of matching and sorting (n=45): time 0.001447/0.928, allocations: 0.6847 MB / 1.361 GB, free: 9.508 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.817e-05/0.9281, allocations: 71.14 kB / 1.361 GB, free: 9.426 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001834/0.9283, allocations: 170.3 kB / 1.361 GB, free: 9.246 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 7.482e-05/0.9283, allocations: 49.69 kB / 1.361 GB, free: 9.191 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000119/0.9285, allocations: 125.3 kB / 1.361 GB, free: 9.062 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001137/0.9286, allocations: 103.2 kB / 1.361 GB, free: 8.961 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00021/0.9288, allocations: 126.3 kB / 1.361 GB, free: 8.832 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0002058/0.929, allocations: 330.8 kB / 1.362 GB, free: 8.5 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003663/0.9294, allocations: 208.6 kB / 1.362 GB, free: 8.285 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004805/0.9298, allocations: 322.7 kB / 1.362 GB, free: 7.91 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006388/0.9305, allocations: 392.4 kB / 1.362 GB, free: 7.477 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.9305, allocations: 0 / 1.362 GB, free: 7.477 MB / 1.042 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001186/0.9317, allocations: 0.6091 MB / 1.363 GB, free: 6.836 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 7.187e-05/0.9317, allocations: 63.39 kB / 1.363 GB, free: 6.762 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/0.9317, allocations: 4 kB / 1.363 GB, free: 6.758 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.134e-05/0.9318, allocations: 4 kB / 1.363 GB, free: 6.754 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002166/0.932, allocations: 47.86 kB / 1.363 GB, free: 6.707 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.937e-05/0.932, allocations: 15.88 kB / 1.363 GB, free: 6.691 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000471/0.9325, allocations: 92.08 kB / 1.363 GB, free: 6.602 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.01e-05/0.9325, allocations: 31.98 kB / 1.363 GB, free: 6.57 MB / 1.042 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.0002534/0.9328, allocations: 173.7 kB / 1.363 GB, free: 6.395 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.473e-05/0.9329, allocations: 31.84 kB / 1.364 GB, free: 6.363 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.971e-05/0.9329, allocations: 26.31 kB / 1.364 GB, free: 6.34 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.017e-06/0.9329, allocations: 8 kB / 1.364 GB, free: 6.332 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-05/0.933, allocations: 11.86 kB / 1.364 GB, free: 6.32 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.933, allocations: 0 / 1.364 GB, free: 6.32 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001403/0.9344, allocations: 0.8503 MB / 1.364 GB, free: 5.434 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.9344, allocations: 0 / 1.364 GB, free: 5.434 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.436e-05/0.9344, allocations: 23.92 kB / 1.364 GB, free: 5.41 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.9344, allocations: 0 / 1.364 GB, free: 5.41 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.317e-05/0.9345, allocations: 23.91 kB / 1.364 GB, free: 5.387 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.9345, allocations: 4 kB / 1.364 GB, free: 5.383 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.676e-06/0.9345, allocations: 4 kB / 1.364 GB, free: 5.379 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001094/0.9356, allocations: 0.6629 MB / 1.365 GB, free: 4.699 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.59e-05/0.9356, allocations: 23.8 kB / 1.365 GB, free: 4.676 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.992e-05/0.9357, allocations: 27.91 kB / 1.365 GB, free: 4.648 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001948/0.9359, allocations: 27.97 kB / 1.365 GB, free: 4.621 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001351/0.936, allocations: 51.89 kB / 1.365 GB, free: 4.57 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.702e-05/0.9361, allocations: 39.97 kB / 1.365 GB, free: 4.531 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.0001025/0.9362, allocations: 118 kB / 1.365 GB, free: 4.418 MB / 1.042 GB Notification: Performance of sort global known variables: time 8e-08/0.9362, allocations: 0 / 1.365 GB, free: 4.418 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0004668/0.9367, allocations: 111.9 kB / 1.365 GB, free: 4.309 MB / 1.042 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.0002426/0.9369, allocations: 149.7 kB / 1.366 GB, free: 4.156 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.001009/0.9379, allocations: 0.5451 MB / 1.366 GB, free: 3.574 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.9379, allocations: 8.062 kB / 1.366 GB, free: 3.566 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003831/0.9383, allocations: 191.9 kB / 1.366 GB, free: 3.379 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003951/0.9387, allocations: 48.7 kB / 1.366 GB, free: 3.332 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001073/0.9398, allocations: 495.2 kB / 1.367 GB, free: 2.824 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001584/0.9399, allocations: 139.2 kB / 1.367 GB, free: 2.668 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.0001344/0.9401, allocations: 38.95 kB / 1.367 GB, free: 2.629 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.743e-05/0.9402, allocations: 35.42 kB / 1.367 GB, free: 2.594 MB / 1.042 GB Notification: Performance of SimCode: time 6.31e-07/0.9402, allocations: 0 / 1.367 GB, free: 2.594 MB / 1.042 GB Notification: Performance of Templates: time 0.01108/0.9512, allocations: 4.878 MB / 1.372 GB, free: 13.8 MB / 1.057 GB " [Timeout remaining time 299] 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: 10.68727507442236]