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.000956/0.000956, allocations: 85.41 kB / 20.83 MB, free: 3.629 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.0009649/0.0009649, allocations: 169.3 kB / 24.25 MB, free: 208 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 1.012/1.012, allocations: 177.1 MB / 204.7 MB, free: 5.441 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.898/1.898, allocations: 389.6 MB / 0.6355 GB, free: 12.26 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.375e-06/2.375e-06, allocations: 0 / 0.7754 GB, free: 5.293 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.641e-05/2.879e-05, allocations: 2.312 kB / 0.7754 GB, free: 5.289 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.TimerWithReset): time 0.001755/0.001784, allocations: 1.005 MB / 0.7763 GB, free: 4.312 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001698/0.003482, allocations: 1.716 MB / 0.778 GB, free: 2.586 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.067e-05/0.003562, allocations: 4 kB / 0.778 GB, free: 2.582 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 4.544e-05/0.003608, allocations: 20.53 kB / 0.778 GB, free: 2.566 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001106/0.003719, allocations: 38.11 kB / 0.7781 GB, free: 2.539 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005049/0.004223, allocations: 311.2 kB / 0.7784 GB, free: 2.234 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0003029/0.004526, allocations: 451.1 kB / 0.7788 GB, free: 1.793 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001226/0.004649, allocations: 42.56 kB / 0.7788 GB, free: 1.75 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002405/0.004889, allocations: 277.2 kB / 0.7791 GB, free: 1.48 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001434/0.005033, allocations: 135.6 kB / 0.7792 GB, free: 1.348 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 4.199e-05/0.005075, allocations: 36 kB / 0.7793 GB, free: 1.312 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 8.393e-05/0.005159, allocations: 45.06 kB / 0.7793 GB, free: 1.27 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 4.869e-05/0.005208, allocations: 75.77 kB / 0.7794 GB, free: 1.195 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 9.04e-05/0.005298, allocations: 128.3 kB / 0.7795 GB, free: 1.07 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002335/0.005531, allocations: 291.1 kB / 0.7798 GB, free: 0.7852 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.005535, allocations: 3.469 kB / 0.7798 GB, free: 0.7852 MB / 0.7292 GB Notification: Performance of FrontEnd: time 5.91e-07/0.005535, allocations: 3.938 kB / 0.7798 GB, free: 0.7812 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.687e-06/0.005539, allocations: 0 / 0.7798 GB, free: 0.7812 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.0005528/0.006092, allocations: 0.5452 MB / 0.7803 GB, free: 200 kB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.103e-05/0.006123, allocations: 9.344 kB / 0.7803 GB, free: 192 kB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.535e-05/0.006188, allocations: 63.61 kB / 0.7804 GB, free: 132 kB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002247/0.006413, allocations: 174.7 kB / 0.7806 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.756e-05/0.006441, allocations: 28.69 kB / 0.7806 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.971e-05/0.00648, allocations: 40.36 kB / 0.7806 GB, free: 15.87 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002465/0.006727, allocations: 233.2 kB / 0.7808 GB, free: 15.63 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.006734, allocations: 192 / 0.7808 GB, free: 15.63 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.118e-05/0.006755, allocations: 21.42 kB / 0.7809 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.006761, allocations: 4 kB / 0.7809 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001359/0.006897, allocations: 124.3 kB / 0.781 GB, free: 15.49 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006143/0.007511, allocations: 387.1 kB / 0.7814 GB, free: 15.1 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002259/0.007737, allocations: 224.3 kB / 0.7816 GB, free: 14.87 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.008e-05/0.007807, allocations: 64.83 kB / 0.7816 GB, free: 14.8 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.643e-05/0.007823, allocations: 5.438 kB / 0.7816 GB, free: 14.8 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002814/0.008105, allocations: 324.3 kB / 0.7819 GB, free: 14.48 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=45): time 2.043e-06/0.008107, allocations: 0.5625 kB / 0.7819 GB, free: 14.48 MB / 0.7448 GB Notification: Performance of matching and sorting (n=45): time 0.000371/0.008478, allocations: 357.6 kB / 0.7823 GB, free: 14.12 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.506e-05/0.008523, allocations: 67.34 kB / 0.7824 GB, free: 14.04 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/0.008626, allocations: 173.2 kB / 0.7825 GB, free: 13.86 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.931e-05/0.008665, allocations: 49.7 kB / 0.7826 GB, free: 13.81 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.145e-05/0.008727, allocations: 114 kB / 0.7827 GB, free: 13.7 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 6.834e-05/0.008795, allocations: 111.2 kB / 0.7828 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001116/0.008907, allocations: 124.1 kB / 0.7829 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.566e-05/0.009002, allocations: 342.7 kB / 0.7832 GB, free: 13.12 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001213/0.009124, allocations: 132.7 kB / 0.7834 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001869/0.00931, allocations: 270.7 kB / 0.7836 GB, free: 12.66 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002625/0.009573, allocations: 326.6 kB / 0.7839 GB, free: 12.29 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.009576, allocations: 0 / 0.7839 GB, free: 12.29 MB / 0.7448 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0003683/0.009944, allocations: 460 kB / 0.7844 GB, free: 11.81 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.797e-05/0.009992, allocations: 67.89 kB / 0.7844 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.01, allocations: 4 kB / 0.7844 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.01001, allocations: 8.812 kB / 0.7844 GB, free: 11.72 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001284/0.01014, allocations: 59.84 kB / 0.7845 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.01015, allocations: 16.95 kB / 0.7845 GB, free: 11.65 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001751/0.01033, allocations: 85.42 kB / 0.7846 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.078e-05/0.01036, allocations: 23.98 kB / 0.7846 GB, free: 11.54 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.000126/0.01048, allocations: 164.4 kB / 0.7848 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.345e-05/0.01053, allocations: 55.94 kB / 0.7848 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.211e-05/0.01057, allocations: 26.31 kB / 0.7849 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.01057, allocations: 4 kB / 0.7849 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.01058, allocations: 0.9062 kB / 0.7849 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.01058, allocations: 3.984 kB / 0.7849 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004088/0.01099, allocations: 485 kB / 0.7853 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.01099, allocations: 0 / 0.7853 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.633e-05/0.01104, allocations: 23.92 kB / 0.7853 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.01104, allocations: 4.531 kB / 0.7853 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.183e-05/0.01106, allocations: 20.84 kB / 0.7854 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.01107, allocations: 4 kB / 0.7854 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.01107, allocations: 0 / 0.7854 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00027/0.01134, allocations: 376.3 kB / 0.7857 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.77e-05/0.01136, allocations: 23.8 kB / 0.7858 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.819e-05/0.0114, allocations: 23.97 kB / 0.7858 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.739e-05/0.01149, allocations: 29.91 kB / 0.7858 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.166e-05/0.01157, allocations: 55.88 kB / 0.7859 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-05/0.01161, allocations: 27.97 kB / 0.7859 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.274e-05/0.01164, allocations: 42.89 kB / 0.7859 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.01164, allocations: 3.938 kB / 0.7859 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002143/0.01185, allocations: 99.98 kB / 0.786 GB, free: 10.07 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.0001477/0.012, allocations: 122.9 kB / 0.7861 GB, free: 9.934 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000394/0.0124, allocations: 461.4 kB / 0.7866 GB, free: 9.445 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.0124, allocations: 4.938 kB / 0.7866 GB, free: 9.441 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001512/0.01255, allocations: 156.5 kB / 0.7867 GB, free: 9.285 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000212/0.01276, allocations: 59.38 kB / 0.7868 GB, free: 9.23 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005427/0.0133, allocations: 444.2 kB / 0.7872 GB, free: 8.773 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.619e-05/0.01338, allocations: 85.3 kB / 0.7873 GB, free: 8.668 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001133/0.01349, allocations: 35.88 kB / 0.7873 GB, free: 8.633 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002152/0.01371, allocations: 115.3 kB / 0.7874 GB, free: 8.52 MB / 0.7448 GB Notification: Performance of SimCode: time 1.062e-06/0.01371, allocations: 4 kB / 0.7874 GB, free: 8.516 MB / 0.7448 GB Notification: Performance of Templates: time 0.006764/0.02047, allocations: 4.889 MB / 0.7922 GB, free: 3.824 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: 4.998950377106667]