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.0009673/0.0009673, allocations: 84.8 kB / 21.62 MB, free: 2.84 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.001021/0.001021, allocations: 169.7 kB / 25.05 MB, free: 9.152 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 0.9412/0.9412, allocations: 177.1 MB / 205.5 MB, free: 5.473 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.945/1.945, allocations: 389.6 MB / 0.6363 GB, free: 12.29 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.555e-06/2.555e-06, allocations: 0.5469 kB / 0.7761 GB, free: 5.273 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.648e-05/2.903e-05, allocations: 9.953 kB / 0.7761 GB, free: 5.266 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.TimerWithReset): time 0.002502/0.002531, allocations: 1.002 MB / 0.7771 GB, free: 4.289 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001693/0.004224, allocations: 1.713 MB / 0.7788 GB, free: 2.566 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.863e-05/0.004303, allocations: 0 / 0.7788 GB, free: 2.566 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 4.728e-05/0.00435, allocations: 15.8 kB / 0.7788 GB, free: 2.551 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001108/0.004461, allocations: 42.91 kB / 0.7788 GB, free: 2.52 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005486/0.00501, allocations: 313.5 kB / 0.7791 GB, free: 2.215 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0003082/0.005318, allocations: 452.1 kB / 0.7796 GB, free: 1.773 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.005434, allocations: 46.58 kB / 0.7796 GB, free: 1.727 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002472/0.005681, allocations: 267.5 kB / 0.7799 GB, free: 1.465 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001557/0.005837, allocations: 137.6 kB / 0.78 GB, free: 1.332 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 4.331e-05/0.00588, allocations: 36 kB / 0.78 GB, free: 1.297 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 9.344e-05/0.005974, allocations: 43.98 kB / 0.7801 GB, free: 1.254 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 5.197e-05/0.006026, allocations: 80.27 kB / 0.7801 GB, free: 1.176 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 9.917e-05/0.006125, allocations: 124.6 kB / 0.7803 GB, free: 1.055 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002468/0.006371, allocations: 295 kB / 0.7805 GB, free: 0.7656 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.006375, allocations: 5.375 kB / 0.7806 GB, free: 0.7617 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.533e-06/0.006376, allocations: 0 / 0.7806 GB, free: 0.7617 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.00638, allocations: 0 / 0.7806 GB, free: 0.7617 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.0006363/0.007016, allocations: 0.5426 MB / 0.7811 GB, free: 184 kB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.007052, allocations: 11.06 kB / 0.7811 GB, free: 176 kB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.696e-05/0.007129, allocations: 56.88 kB / 0.7811 GB, free: 120 kB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002427/0.007372, allocations: 178.3 kB / 0.7813 GB, free: 15.92 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.132e-05/0.007403, allocations: 33.48 kB / 0.7814 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.243e-05/0.007445, allocations: 40.36 kB / 0.7814 GB, free: 15.85 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002592/0.007705, allocations: 233.8 kB / 0.7816 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.007712, allocations: 0.8125 kB / 0.7816 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.072e-05/0.007733, allocations: 16.34 kB / 0.7816 GB, free: 15.6 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.00774, allocations: 12.8 kB / 0.7816 GB, free: 15.59 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001332/0.007874, allocations: 116.4 kB / 0.7818 GB, free: 15.47 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006999/0.008574, allocations: 392.6 kB / 0.7821 GB, free: 15.08 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002477/0.008821, allocations: 225 kB / 0.7823 GB, free: 14.85 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.16e-05/0.008893, allocations: 64.83 kB / 0.7824 GB, free: 14.79 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.79e-05/0.008911, allocations: 4 kB / 0.7824 GB, free: 14.78 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003051/0.009216, allocations: 321.7 kB / 0.7827 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=45): time 1.944e-06/0.009218, allocations: 0 / 0.7827 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of matching and sorting (n=45): time 0.0003628/0.009581, allocations: 357.7 kB / 0.7831 GB, free: 14.11 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.266e-05/0.009623, allocations: 67.39 kB / 0.7831 GB, free: 14.03 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.653e-05/0.00971, allocations: 165 kB / 0.7833 GB, free: 13.86 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.819e-05/0.009748, allocations: 53.69 kB / 0.7833 GB, free: 13.8 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.775e-05/0.009796, allocations: 113.3 kB / 0.7834 GB, free: 13.68 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 6.094e-05/0.009857, allocations: 116.2 kB / 0.7835 GB, free: 13.57 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001071/0.009964, allocations: 118.2 kB / 0.7837 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.407e-05/0.01005, allocations: 347.6 kB / 0.784 GB, free: 13.1 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000111/0.01016, allocations: 136.7 kB / 0.7841 GB, free: 12.96 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001694/0.01033, allocations: 266.7 kB / 0.7844 GB, free: 12.64 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002387/0.01057, allocations: 326.6 kB / 0.7847 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.01057, allocations: 6.75 kB / 0.7847 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0003679/0.01094, allocations: 455.3 kB / 0.7851 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.32e-05/0.01099, allocations: 71.39 kB / 0.7852 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.011, allocations: 3.938 kB / 0.7852 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.01101, allocations: 8 kB / 0.7852 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000141/0.01115, allocations: 59.91 kB / 0.7853 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.01116, allocations: 7.938 kB / 0.7853 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001912/0.01135, allocations: 85.33 kB / 0.7854 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.643e-05/0.01138, allocations: 21.91 kB / 0.7854 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.0001255/0.0115, allocations: 173.7 kB / 0.7855 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.589e-05/0.01155, allocations: 52.92 kB / 0.7856 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.678e-05/0.01159, allocations: 26.3 kB / 0.7856 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.01159, allocations: 5.031 kB / 0.7856 GB, free: 11.28 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.01159, allocations: 0 / 0.7856 GB, free: 11.28 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.0116, allocations: 8 kB / 0.7856 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004202/0.01202, allocations: 485.6 kB / 0.7861 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.01202, allocations: 0 / 0.7861 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.427e-05/0.01207, allocations: 23.92 kB / 0.7861 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.01207, allocations: 4 kB / 0.7861 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.112e-05/0.01209, allocations: 21.06 kB / 0.7861 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.01209, allocations: 0 / 0.7861 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.0121, allocations: 0 / 0.7861 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002553/0.01235, allocations: 380.6 kB / 0.7865 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.507e-05/0.01237, allocations: 19.8 kB / 0.7865 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.722e-05/0.0124, allocations: 23.98 kB / 0.7865 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.379e-05/0.0125, allocations: 31.36 kB / 0.7866 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.11e-05/0.01257, allocations: 47.91 kB / 0.7866 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.185e-05/0.0126, allocations: 31.97 kB / 0.7866 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.826e-05/0.01263, allocations: 44.06 kB / 0.7867 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01263, allocations: 0 / 0.7867 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002365/0.01286, allocations: 99.98 kB / 0.7868 GB, free: 10.05 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.0001512/0.01302, allocations: 129.3 kB / 0.7869 GB, free: 9.918 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.00036/0.01338, allocations: 465.2 kB / 0.7874 GB, free: 9.426 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.01338, allocations: 0 / 0.7874 GB, free: 9.426 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001334/0.01351, allocations: 152.5 kB / 0.7875 GB, free: 9.273 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002109/0.01372, allocations: 58.78 kB / 0.7876 GB, free: 9.219 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005587/0.01428, allocations: 443.3 kB / 0.788 GB, free: 8.762 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.698e-05/0.01433, allocations: 85.3 kB / 0.7881 GB, free: 8.656 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 7.818e-05/0.01441, allocations: 40.33 kB / 0.7881 GB, free: 8.617 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001475/0.01456, allocations: 123.3 kB / 0.7882 GB, free: 8.496 MB / 0.7448 GB Notification: Performance of SimCode: time 9.11e-07/0.01456, allocations: 1.125 kB / 0.7882 GB, free: 8.496 MB / 0.7448 GB Notification: Performance of Templates: time 0.006782/0.02134, allocations: 4.873 MB / 0.793 GB, free: 3.812 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.047340705059469]