Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.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.0009533/0.0009533, allocations: 85.17 kB / 19.87 MB, free: 4.617 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.0009732/0.0009732, allocations: 169 kB / 23.27 MB, free: 1.223 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.9921/0.9921, allocations: 177.2 MB / 203.7 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.00194/0.00194, allocations: 237.8 kB / 260.5 MB, free: 12.66 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7042/0.7042, allocations: 138.4 MB / 455.5 MB, free: 30.04 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 0.5555 GB, free: 15.94 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.011e-05/2.212e-05, allocations: 6.312 kB / 0.5555 GB, free: 15.93 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.001964/0.001986, allocations: 1.558 MB / 0.5571 GB, free: 14.36 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009451/0.002931, allocations: 0.5389 MB / 0.5576 GB, free: 13.82 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.398e-05/0.002995, allocations: 3.938 kB / 0.5576 GB, free: 13.82 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 9.15e-05/0.003087, allocations: 7.922 kB / 0.5576 GB, free: 13.81 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001022/0.003189, allocations: 23.86 kB / 0.5576 GB, free: 13.79 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006738/0.003863, allocations: 331.2 kB / 0.5579 GB, free: 13.46 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.000407/0.00427, allocations: 483.4 kB / 0.5584 GB, free: 12.99 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.366e-05/0.004313, allocations: 8 kB / 0.5584 GB, free: 12.98 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003753/0.004689, allocations: 359.5 kB / 0.5588 GB, free: 12.63 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002138/0.004903, allocations: 135.7 kB / 0.5589 GB, free: 12.5 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 5.465e-05/0.004957, allocations: 28 kB / 0.5589 GB, free: 12.47 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.883e-05/0.005006, allocations: 28 kB / 0.5589 GB, free: 12.44 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 8.648e-05/0.005093, allocations: 115.7 kB / 0.5591 GB, free: 12.33 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 9.774e-05/0.00519, allocations: 131.7 kB / 0.5592 GB, free: 12.2 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002908/0.005481, allocations: 374.9 kB / 0.5595 GB, free: 11.83 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.843e-06/0.005483, allocations: 4 kB / 0.5595 GB, free: 11.83 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.82e-07/0.005484, allocations: 0 / 0.5595 GB, free: 11.83 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.807e-06/0.005487, allocations: 0 / 0.5595 GB, free: 11.83 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007874/0.006275, allocations: 0.9105 MB / 0.5604 GB, free: 10.84 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.006317, allocations: 13.94 kB / 0.5604 GB, free: 10.83 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.714e-05/0.006404, allocations: 60.64 kB / 0.5605 GB, free: 10.77 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002165/0.006621, allocations: 254.8 kB / 0.5607 GB, free: 10.5 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.182e-05/0.006653, allocations: 28.34 kB / 0.5608 GB, free: 10.47 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.27e-05/0.006695, allocations: 36.36 kB / 0.5608 GB, free: 10.43 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003033/0.006999, allocations: 198.7 kB / 0.561 GB, free: 10.23 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.074e-06/0.007006, allocations: 192 / 0.561 GB, free: 10.23 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.612e-05/0.007022, allocations: 4.375 kB / 0.561 GB, free: 10.23 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.463e-06/0.007028, allocations: 12.3 kB / 0.561 GB, free: 10.21 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.657e-05/0.007105, allocations: 47.92 kB / 0.5611 GB, free: 10.17 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002308/0.007336, allocations: 245 kB / 0.5613 GB, free: 9.902 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001541/0.00749, allocations: 122.3 kB / 0.5614 GB, free: 9.773 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.734e-05/0.007567, allocations: 59.66 kB / 0.5615 GB, free: 9.711 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.953e-05/0.007587, allocations: 0 / 0.5615 GB, free: 9.711 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001656/0.007752, allocations: 180.8 kB / 0.5616 GB, free: 9.52 MB / 490.7 MB Notification: Performance of pre-optimization done (n=16): time 1.112e-06/0.007753, allocations: 0 / 0.5616 GB, free: 9.52 MB / 490.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004447/0.008198, allocations: 361.2 kB / 0.562 GB, free: 9.16 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.972e-05/0.008228, allocations: 59.39 kB / 0.562 GB, free: 9.09 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002252/0.008453, allocations: 422.5 kB / 0.5624 GB, free: 8.66 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.161e-05/0.008485, allocations: 41.7 kB / 0.5625 GB, free: 8.613 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.461e-05/0.008539, allocations: 140.2 kB / 0.5626 GB, free: 8.473 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.126e-05/0.008571, allocations: 39.7 kB / 0.5627 GB, free: 8.434 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001115/0.008682, allocations: 139.1 kB / 0.5628 GB, free: 8.289 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.00011/0.008792, allocations: 0.4961 MB / 0.5633 GB, free: 7.781 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001459/0.008938, allocations: 167.3 kB / 0.5634 GB, free: 7.605 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001546/0.009093, allocations: 234.3 kB / 0.5637 GB, free: 7.336 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001839/0.009277, allocations: 260.1 kB / 0.5639 GB, free: 7.043 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.009279, allocations: 3.938 kB / 0.5639 GB, free: 7.039 MB / 490.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004426/0.009721, allocations: 0.5312 MB / 0.5644 GB, free: 6.477 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.903e-05/0.00977, allocations: 79.38 kB / 0.5645 GB, free: 6.387 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.009775, allocations: 0 / 0.5645 GB, free: 6.387 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.009787, allocations: 8.188 kB / 0.5645 GB, free: 6.379 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001039/0.009891, allocations: 35.91 kB / 0.5645 GB, free: 6.344 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.009895, allocations: 4 kB / 0.5645 GB, free: 6.34 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001567/0.01005, allocations: 51.8 kB / 0.5646 GB, free: 6.289 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.006e-05/0.0101, allocations: 59.98 kB / 0.5646 GB, free: 6.23 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 24 (calTim.firstHourSampling,$PRE.calTim.firstHourSampling,calTim.firstDaySampling,$PRE.calTim.firstDaySampling,calTim.daySampleTrigger,$whenCondition1,calTim.hourSampleTrigger,$whenCondition2,calTim.epochLastMonth,$PRE.calTim.epochLastMonth,calTim.yearIndex,$PRE.calTim.yearIndex,calTim.daysSinceEpoch,$PRE.calTim.daysSinceEpoch,calTim.weekDay,$PRE.calTim.weekDay,calTim.hour,$PRE.calTim.hour,calTim.day,$PRE.calTim.day,calTim.month,$PRE.calTim.month,calTim.year,$PRE.calTim.year) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * 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.0001254/0.01023, allocations: 182.5 kB / 0.5648 GB, free: 6.043 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.391e-05/0.01027, allocations: 47.75 kB / 0.5649 GB, free: 5.996 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.931e-05/0.01031, allocations: 31.69 kB / 0.5649 GB, free: 5.965 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.01031, allocations: 11.98 kB / 0.5649 GB, free: 5.953 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.01031, allocations: 0 / 0.5649 GB, free: 5.953 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.01032, allocations: 0 / 0.5649 GB, free: 5.953 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005463/0.01087, allocations: 0.6034 MB / 0.5655 GB, free: 5.312 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.01087, allocations: 3.938 kB / 0.5655 GB, free: 5.309 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.212e-05/0.01089, allocations: 7.984 kB / 0.5655 GB, free: 5.301 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.01089, allocations: 4 kB / 0.5655 GB, free: 5.297 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.983e-05/0.01091, allocations: 23.98 kB / 0.5655 GB, free: 5.273 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.01091, allocations: 7.984 kB / 0.5655 GB, free: 5.266 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.01092, allocations: 3.938 kB / 0.5655 GB, free: 5.262 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004034/0.01132, allocations: 455.3 kB / 0.566 GB, free: 4.801 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001888/0.01151, allocations: 125.5 kB / 0.5661 GB, free: 4.68 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.02e-05/0.01156, allocations: 8 kB / 0.5661 GB, free: 4.672 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002302/0.01179, allocations: 39.97 kB / 0.5661 GB, free: 4.633 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.445e-05/0.01181, allocations: 7.922 kB / 0.5662 GB, free: 4.625 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.909e-05/0.01187, allocations: 59.97 kB / 0.5662 GB, free: 4.566 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001609/0.01203, allocations: 259 kB / 0.5665 GB, free: 4.316 MB / 490.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01203, allocations: 0 / 0.5665 GB, free: 4.316 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003113/0.01234, allocations: 71.98 kB / 0.5665 GB, free: 4.246 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 (calTim.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition2,$whenCondition1,calTim.year,calTim.month,calTim.day,calTim.hour,calTim.weekDay,calTim.daysSinceEpoch,calTim.yearIndex,calTim.epochLastMonth,calTim.firstHourSampling,calTim.firstDaySampling) * Number of discrete states: 9 (calTim.firstDaySampling,calTim.daysSinceEpoch,calTim.weekDay,calTim.yearIndex,calTim.year,calTim.epochLastMonth,calTim.month,calTim.firstHourSampling,calTim.hour) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.0001108/0.01246, allocations: 114.2 kB / 0.5666 GB, free: 4.125 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0005191/0.01297, allocations: 434.2 kB / 0.5671 GB, free: 3.66 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.01298, allocations: 0 / 0.5671 GB, free: 3.66 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001209/0.0131, allocations: 68.03 kB / 0.5671 GB, free: 3.59 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003316/0.01641, allocations: 55.14 kB / 0.5672 GB, free: 3.539 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007175/0.01713, allocations: 483.1 kB / 0.5676 GB, free: 3.039 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.741e-05/0.01719, allocations: 95.69 kB / 0.5677 GB, free: 2.926 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 4.355e-05/0.01723, allocations: 13.14 kB / 0.5677 GB, free: 2.91 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000207/0.01744, allocations: 142.2 kB / 0.5679 GB, free: 2.77 MB / 490.7 MB Notification: Performance of SimCode: time 7.11e-07/0.01744, allocations: 0 / 0.5679 GB, free: 2.77 MB / 490.7 MB Notification: Performance of Templates: time 0.01669/0.03413, allocations: 5.365 MB / 0.5731 GB, free: 13.37 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.719872263725847]