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.0009046/0.0009046, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.0009703/0.0009703, allocations: 165 kB / 24.17 MB, free: 328 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.9505/0.9505, allocations: 177.2 MB / 204.6 MB, free: 5.496 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.049/2.049, allocations: 389.6 MB / 0.6354 GB, free: 12.33 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.723e-06/1.723e-06, allocations: 0 / 0.7751 GB, free: 5.445 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.321e-05/1.493e-05, allocations: 4.562 kB / 0.7751 GB, free: 5.441 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.TimerWithReset): time 0.001428/0.001443, allocations: 0.9563 MB / 0.7761 GB, free: 4.508 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001754/0.003197, allocations: 1.72 MB / 0.7778 GB, free: 2.777 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.417e-05/0.003271, allocations: 6.438 kB / 0.7778 GB, free: 2.773 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.583e-05/0.003307, allocations: 16.62 kB / 0.7778 GB, free: 2.758 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001061/0.003413, allocations: 43.84 kB / 0.7778 GB, free: 2.723 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005094/0.003923, allocations: 321.7 kB / 0.7781 GB, free: 2.41 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0003249/0.004248, allocations: 455 kB / 0.7786 GB, free: 1.965 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.004356, allocations: 42.58 kB / 0.7786 GB, free: 1.922 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000246/0.004602, allocations: 267.6 kB / 0.7789 GB, free: 1.66 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001558/0.004757, allocations: 137.3 kB / 0.779 GB, free: 1.527 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 4.097e-05/0.004798, allocations: 39.94 kB / 0.779 GB, free: 1.488 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 7.014e-05/0.004869, allocations: 42.97 kB / 0.7791 GB, free: 1.449 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 4.98e-05/0.004918, allocations: 75.83 kB / 0.7791 GB, free: 1.375 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 9.46e-05/0.005013, allocations: 127.7 kB / 0.7793 GB, free: 1.25 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002395/0.005252, allocations: 299 kB / 0.7795 GB, free: 0.957 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.794e-06/0.005254, allocations: 0 / 0.7795 GB, free: 0.957 MB / 0.7292 GB Notification: Performance of FrontEnd: time 6.31e-07/0.005255, allocations: 0 / 0.7795 GB, free: 0.957 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.407e-06/0.005258, allocations: 0 / 0.7795 GB, free: 0.957 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.0005736/0.005832, allocations: 0.5373 MB / 0.7801 GB, free: 392 kB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.905e-05/0.005861, allocations: 9.344 kB / 0.7801 GB, free: 384 kB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.968e-05/0.005931, allocations: 60.86 kB / 0.7801 GB, free: 324 kB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002152/0.006146, allocations: 178.3 kB / 0.7803 GB, free: 120 kB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.992e-05/0.006176, allocations: 28.69 kB / 0.7803 GB, free: 92 kB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.475e-05/0.006221, allocations: 40.36 kB / 0.7804 GB, free: 52 kB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002512/0.006472, allocations: 233.8 kB / 0.7806 GB, free: 15.82 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.006479, allocations: 4.938 kB / 0.7806 GB, free: 15.81 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.204e-05/0.006501, allocations: 16.3 kB / 0.7806 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.006507, allocations: 8.562 kB / 0.7806 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001301/0.006637, allocations: 116.4 kB / 0.7807 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006072/0.007244, allocations: 392 kB / 0.7811 GB, free: 15.28 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002269/0.007471, allocations: 223.4 kB / 0.7813 GB, free: 15.05 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.796e-05/0.007539, allocations: 64.83 kB / 0.7814 GB, free: 14.99 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.424e-05/0.007553, allocations: 12.41 kB / 0.7814 GB, free: 14.98 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002704/0.007824, allocations: 318.2 kB / 0.7817 GB, free: 14.66 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=45): time 1.583e-06/0.007825, allocations: 0 / 0.7817 GB, free: 14.66 MB / 0.7448 GB Notification: Performance of matching and sorting (n=45): time 0.0003451/0.00817, allocations: 358.1 kB / 0.782 GB, free: 14.3 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.33e-05/0.008204, allocations: 63.41 kB / 0.7821 GB, free: 14.23 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.035e-05/0.008284, allocations: 173.1 kB / 0.7823 GB, free: 14.05 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.495e-05/0.008319, allocations: 49.7 kB / 0.7823 GB, free: 13.99 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.521e-05/0.008364, allocations: 109.3 kB / 0.7824 GB, free: 13.88 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 6.007e-05/0.008424, allocations: 116.3 kB / 0.7825 GB, free: 13.77 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001011/0.008525, allocations: 122.2 kB / 0.7826 GB, free: 13.64 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.798e-05/0.008603, allocations: 346.7 kB / 0.783 GB, free: 13.3 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001039/0.008707, allocations: 129.5 kB / 0.7831 GB, free: 13.16 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001556/0.008863, allocations: 262.7 kB / 0.7834 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000216/0.009079, allocations: 329.3 kB / 0.7837 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.009082, allocations: 0.5938 kB / 0.7837 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0003269/0.009408, allocations: 453.1 kB / 0.7841 GB, free: 12.01 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.614e-05/0.009445, allocations: 74.3 kB / 0.7842 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.00945, allocations: 4 kB / 0.7842 GB, free: 11.92 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.009462, allocations: 4.688 kB / 0.7842 GB, free: 11.92 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001164/0.009579, allocations: 59.84 kB / 0.7842 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.009584, allocations: 5.062 kB / 0.7842 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001735/0.009757, allocations: 84.8 kB / 0.7843 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.402e-05/0.009782, allocations: 21.41 kB / 0.7843 GB, free: 11.75 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.0001037/0.009885, allocations: 175 kB / 0.7845 GB, free: 11.58 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.917e-05/0.009924, allocations: 47.89 kB / 0.7846 GB, free: 11.53 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.247e-05/0.009957, allocations: 30.3 kB / 0.7846 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.00996, allocations: 5.438 kB / 0.7846 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.009961, allocations: 0 / 0.7846 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.009964, allocations: 0 / 0.7846 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003679/0.01033, allocations: 485.5 kB / 0.7851 GB, free: 11 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.01033, allocations: 0 / 0.7851 GB, free: 11 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.189e-05/0.01037, allocations: 19.92 kB / 0.7851 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.01037, allocations: 4 kB / 0.7851 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.831e-05/0.01039, allocations: 20.59 kB / 0.7851 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.01039, allocations: 4.531 kB / 0.7851 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.01039, allocations: 0 / 0.7851 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002431/0.01064, allocations: 380.7 kB / 0.7855 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.56e-05/0.01065, allocations: 27.72 kB / 0.7855 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.007e-05/0.01069, allocations: 19.98 kB / 0.7855 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.89e-05/0.01078, allocations: 31.22 kB / 0.7855 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.803e-05/0.01085, allocations: 51.89 kB / 0.7856 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.064e-05/0.01088, allocations: 27.97 kB / 0.7856 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.6e-05/0.0109, allocations: 43.31 kB / 0.7857 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.0109, allocations: 0 / 0.7857 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002251/0.01113, allocations: 103.9 kB / 0.7858 GB, free: 10.27 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.0001185/0.01125, allocations: 125.7 kB / 0.7859 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003383/0.01159, allocations: 455.8 kB / 0.7863 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.01159, allocations: 0 / 0.7863 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001279/0.01172, allocations: 154.2 kB / 0.7865 GB, free: 9.504 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001803/0.0119, allocations: 58.86 kB / 0.7865 GB, free: 9.449 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005032/0.0124, allocations: 454.7 kB / 0.7869 GB, free: 8.98 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.547e-05/0.01245, allocations: 85.3 kB / 0.787 GB, free: 8.875 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 7.677e-05/0.01252, allocations: 39.17 kB / 0.7871 GB, free: 8.836 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001477/0.01267, allocations: 122.4 kB / 0.7872 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of SimCode: time 4.01e-07/0.01267, allocations: 0 / 0.7872 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of Templates: time 0.006459/0.01913, allocations: 4.876 MB / 0.7919 GB, free: 4.035 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.2360375369898975]