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.0009793/0.0009793, allocations: 80.88 kB / 21.55 MB, free: 2.941 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.001012/0.001012, allocations: 166.1 kB / 24.97 MB, free: 9.18 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.9554/0.9554, allocations: 177.1 MB / 205.4 MB, free: 5.488 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.927/1.927, allocations: 389.6 MB / 0.6362 GB, free: 12.3 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 1.423e-06/1.423e-06, allocations: 0.5469 kB / 0.776 GB, free: 5.391 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.18e-05/1.323e-05, allocations: 2.312 kB / 0.776 GB, free: 5.387 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.TimerWithReset): time 0.001411/0.001424, allocations: 1.009 MB / 0.777 GB, free: 4.406 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001601/0.003025, allocations: 1.72 MB / 0.7786 GB, free: 2.676 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.097e-05/0.003096, allocations: 0 / 0.7786 GB, free: 2.676 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.527e-05/0.003131, allocations: 19.73 kB / 0.7787 GB, free: 2.656 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001003/0.003231, allocations: 52.66 kB / 0.7787 GB, free: 2.617 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.000492/0.003724, allocations: 315.2 kB / 0.779 GB, free: 2.309 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0003104/0.004034, allocations: 451.6 kB / 0.7794 GB, free: 1.867 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.00414, allocations: 47.27 kB / 0.7795 GB, free: 1.82 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004733/0.004613, allocations: 267.6 kB / 0.7797 GB, free: 1.559 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001489/0.004762, allocations: 133 kB / 0.7799 GB, free: 1.43 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 4.132e-05/0.004803, allocations: 37.5 kB / 0.7799 GB, free: 1.395 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 8.363e-05/0.004887, allocations: 47.97 kB / 0.7799 GB, free: 1.348 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 4.747e-05/0.004934, allocations: 75.78 kB / 0.78 GB, free: 1.273 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001067/0.005041, allocations: 127.8 kB / 0.7801 GB, free: 1.148 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002353/0.005276, allocations: 288.2 kB / 0.7804 GB, free: 0.8672 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.643e-06/0.005278, allocations: 3.938 kB / 0.7804 GB, free: 0.8633 MB / 0.7292 GB Notification: Performance of FrontEnd: time 4.2e-07/0.005278, allocations: 0 / 0.7804 GB, free: 0.8633 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.997e-06/0.005282, allocations: 4.906 kB / 0.7804 GB, free: 0.8594 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.0005507/0.005833, allocations: 0.5311 MB / 0.7809 GB, free: 296 kB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.952e-05/0.005862, allocations: 9.875 kB / 0.7809 GB, free: 288 kB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.48e-05/0.005937, allocations: 65.52 kB / 0.781 GB, free: 224 kB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002142/0.006151, allocations: 178.8 kB / 0.7812 GB, free: 20 kB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.341e-05/0.006195, allocations: 32.72 kB / 0.7812 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.958e-05/0.006234, allocations: 41.75 kB / 0.7812 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002405/0.006475, allocations: 237.2 kB / 0.7815 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.006483, allocations: 192 / 0.7815 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.037e-05/0.006503, allocations: 17 kB / 0.7815 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.006509, allocations: 7.938 kB / 0.7815 GB, free: 15.69 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001369/0.006646, allocations: 114.1 kB / 0.7816 GB, free: 15.58 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006135/0.007259, allocations: 405.6 kB / 0.782 GB, free: 15.17 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002204/0.00748, allocations: 214.4 kB / 0.7822 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.05e-05/0.00755, allocations: 64.83 kB / 0.7823 GB, free: 14.89 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.675e-05/0.007567, allocations: 8 kB / 0.7823 GB, free: 14.88 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002758/0.007843, allocations: 325.7 kB / 0.7826 GB, free: 14.55 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=45): time 1.383e-06/0.007844, allocations: 0 / 0.7826 GB, free: 14.55 MB / 0.7448 GB Notification: Performance of matching and sorting (n=45): time 0.0003492/0.008193, allocations: 353.2 kB / 0.7829 GB, free: 14.2 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.891e-05/0.008222, allocations: 68.47 kB / 0.783 GB, free: 14.12 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.19e-05/0.008304, allocations: 168.1 kB / 0.7831 GB, free: 13.95 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.448e-05/0.008339, allocations: 49.7 kB / 0.7832 GB, free: 13.89 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.607e-05/0.008385, allocations: 117.8 kB / 0.7833 GB, free: 13.78 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.811e-05/0.008443, allocations: 112.3 kB / 0.7834 GB, free: 13.67 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001052/0.008548, allocations: 122.2 kB / 0.7835 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.868e-05/0.008627, allocations: 346.7 kB / 0.7839 GB, free: 13.2 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001054/0.008732, allocations: 133.5 kB / 0.784 GB, free: 13.05 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001616/0.008894, allocations: 258.7 kB / 0.7842 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002281/0.009122, allocations: 337.1 kB / 0.7846 GB, free: 12.37 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.96e-06/0.009127, allocations: 4.719 kB / 0.7846 GB, free: 12.36 MB / 0.7448 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0003439/0.009471, allocations: 439.8 kB / 0.785 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.705e-05/0.009508, allocations: 67.39 kB / 0.785 GB, free: 11.83 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.009514, allocations: 4 kB / 0.785 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.009527, allocations: 4 kB / 0.785 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001131/0.00964, allocations: 63.84 kB / 0.7851 GB, free: 11.76 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.246e-06/0.009648, allocations: 10.56 kB / 0.7851 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001832/0.009831, allocations: 91.66 kB / 0.7852 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.86e-05/0.00986, allocations: 20 kB / 0.7852 GB, free: 11.64 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.0001026/0.009962, allocations: 167.3 kB / 0.7854 GB, free: 11.47 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.125e-05/0.01, allocations: 51.89 kB / 0.7854 GB, free: 11.42 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.432e-05/0.01004, allocations: 31.98 kB / 0.7855 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.01004, allocations: 0 / 0.7855 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.01004, allocations: 0 / 0.7855 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.669e-05/0.01006, allocations: 31.72 kB / 0.7855 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.671e-05/0.0101, allocations: 21.08 kB / 0.7855 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.689e-05/0.01016, allocations: 25 kB / 0.7855 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.947e-05/0.01023, allocations: 55.89 kB / 0.7856 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002254/0.01046, allocations: 325.7 kB / 0.7859 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002675/0.01073, allocations: 455.9 kB / 0.7863 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001186/0.01084, allocations: 120.9 kB / 0.7865 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002715/0.01112, allocations: 35.94 kB / 0.7865 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of Backend: time 1.3e-07/0.01112, allocations: 0 / 0.7865 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004376/0.01155, allocations: 464 kB / 0.7869 GB, free: 9.828 MB / 0.7448 GB Notification: Performance of SimCode: time 0.0005878/0.01214, allocations: 0.8907 MB / 0.7878 GB, free: 8.887 MB / 0.7448 GB Notification: Performance of Templates: time 0.006454/0.01859, allocations: 5.327 MB / 0.793 GB, free: 3.766 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.987936703488231]