Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.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.00124/0.00124, allocations: 73.88 kB / 20.65 MB, free: 3.844 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.001594/0.001594, allocations: 169 kB / 24.05 MB, free: 456 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.9715/0.9715, allocations: 177.1 MB / 204.5 MB, free: 5.477 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.002496/0.002496, allocations: 240.6 kB / 261.3 MB, free: 12.64 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.7637/0.7637, allocations: 138.4 MB / 456.3 MB, free: 29.99 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.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths") translateModel(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.522e-06/1.522e-06, allocations: 0 / 0.5563 GB, free: 15.93 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.945e-05/2.097e-05, allocations: 2.312 kB / 0.5563 GB, free: 15.92 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths): time 0.002447/0.002468, allocations: 1.558 MB / 0.5578 GB, free: 14.35 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001329/0.003797, allocations: 0.5401 MB / 0.5583 GB, free: 13.81 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.289e-05/0.00387, allocations: 0 / 0.5583 GB, free: 13.81 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001034/0.003974, allocations: 11.86 kB / 0.5584 GB, free: 13.8 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000119/0.004093, allocations: 27.84 kB / 0.5584 GB, free: 13.77 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008435/0.004936, allocations: 323.2 kB / 0.5587 GB, free: 13.46 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007114/0.005648, allocations: 487.4 kB / 0.5592 GB, free: 12.98 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.436e-05/0.005692, allocations: 8 kB / 0.5592 GB, free: 12.97 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005072/0.006199, allocations: 363.5 kB / 0.5595 GB, free: 12.62 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002614/0.00646, allocations: 126.8 kB / 0.5596 GB, free: 12.5 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 7.039e-05/0.006531, allocations: 28 kB / 0.5597 GB, free: 12.47 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.378e-05/0.006585, allocations: 28 kB / 0.5597 GB, free: 12.44 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001108/0.006695, allocations: 123.7 kB / 0.5598 GB, free: 12.32 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001298/0.006825, allocations: 123.7 kB / 0.5599 GB, free: 12.2 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003792/0.007204, allocations: 386.8 kB / 0.5603 GB, free: 11.82 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.007206, allocations: 0 / 0.5603 GB, free: 11.82 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.007207, allocations: 0 / 0.5603 GB, free: 11.82 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.007213, allocations: 0 / 0.5603 GB, free: 11.82 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.001064/0.008277, allocations: 0.8988 MB / 0.5612 GB, free: 10.84 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.008315, allocations: 9.938 kB / 0.5612 GB, free: 10.84 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001337/0.008448, allocations: 64.64 kB / 0.5612 GB, free: 10.77 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003027/0.008751, allocations: 262.7 kB / 0.5615 GB, free: 10.49 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.217e-05/0.008793, allocations: 20.36 kB / 0.5615 GB, free: 10.47 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.651e-05/0.00886, allocations: 32.36 kB / 0.5615 GB, free: 10.44 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004159/0.009276, allocations: 190.7 kB / 0.5617 GB, free: 10.25 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.009286, allocations: 4.188 kB / 0.5617 GB, free: 10.24 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.653e-05/0.009312, allocations: 8.375 kB / 0.5617 GB, free: 10.23 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.293e-06/0.00932, allocations: 384 / 0.5617 GB, free: 10.23 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001211/0.009441, allocations: 51.91 kB / 0.5618 GB, free: 10.18 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003198/0.009761, allocations: 245 kB / 0.562 GB, free: 9.918 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002307/0.009991, allocations: 130.9 kB / 0.5621 GB, free: 9.777 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001155/0.01011, allocations: 59.59 kB / 0.5622 GB, free: 9.715 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.669e-05/0.01012, allocations: 4 kB / 0.5622 GB, free: 9.711 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002367/0.01036, allocations: 176.8 kB / 0.5624 GB, free: 9.523 MB / 490.7 MB Notification: Performance of pre-optimization done (n=16): time 1.513e-06/0.01036, allocations: 0 / 0.5624 GB, free: 9.523 MB / 490.7 MB Notification: Performance of matching and sorting (n=16): time 0.0009243/0.01129, allocations: 357.2 kB / 0.5627 GB, free: 9.168 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.976e-05/0.01133, allocations: 63.39 kB / 0.5628 GB, free: 9.094 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003355/0.01166, allocations: 418.5 kB / 0.5632 GB, free: 8.668 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.683e-05/0.01171, allocations: 37.7 kB / 0.5632 GB, free: 8.625 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.364e-05/0.01178, allocations: 148.2 kB / 0.5634 GB, free: 8.477 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.703e-05/0.01183, allocations: 43.7 kB / 0.5634 GB, free: 8.434 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001828/0.01201, allocations: 135 kB / 0.5635 GB, free: 8.293 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.01216, allocations: 0.4961 MB / 0.564 GB, free: 7.785 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002328/0.0124, allocations: 159.3 kB / 0.5642 GB, free: 7.617 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000244/0.01264, allocations: 229.6 kB / 0.5644 GB, free: 7.352 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002782/0.01292, allocations: 266.8 kB / 0.5646 GB, free: 7.051 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.616e-06/0.01292, allocations: 0 / 0.5646 GB, free: 7.051 MB / 490.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007403/0.01366, allocations: 0.5274 MB / 0.5651 GB, free: 6.492 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.89e-05/0.01374, allocations: 79.38 kB / 0.5652 GB, free: 6.402 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.809e-06/0.01375, allocations: 4 kB / 0.5652 GB, free: 6.398 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.01376, allocations: 0 / 0.5652 GB, free: 6.398 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001648/0.01393, allocations: 36.16 kB / 0.5653 GB, free: 6.363 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.01394, allocations: 11.94 kB / 0.5653 GB, free: 6.352 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002671/0.0142, allocations: 55.73 kB / 0.5653 GB, free: 6.297 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.06e-05/0.01428, allocations: 59.97 kB / 0.5654 GB, free: 6.238 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.0001682/0.01445, allocations: 182.6 kB / 0.5656 GB, free: 6.051 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.478e-05/0.01453, allocations: 47.69 kB / 0.5656 GB, free: 6.004 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.655e-05/0.01458, allocations: 35.69 kB / 0.5656 GB, free: 5.969 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.01459, allocations: 0 / 0.5656 GB, free: 5.969 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.01459, allocations: 4 kB / 0.5656 GB, free: 5.965 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.0146, allocations: 3.984 kB / 0.5656 GB, free: 5.961 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000835/0.01543, allocations: 0.6034 MB / 0.5662 GB, free: 5.32 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.01544, allocations: 4 kB / 0.5662 GB, free: 5.316 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.685e-05/0.01547, allocations: 7.938 kB / 0.5662 GB, free: 5.309 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.01548, allocations: 4 kB / 0.5662 GB, free: 5.305 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.995e-05/0.01551, allocations: 19.97 kB / 0.5663 GB, free: 5.285 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.01551, allocations: 0 / 0.5663 GB, free: 5.285 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.01551, allocations: 3.938 kB / 0.5663 GB, free: 5.281 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005221/0.01603, allocations: 463.6 kB / 0.5667 GB, free: 4.812 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000318/0.01635, allocations: 117.6 kB / 0.5668 GB, free: 4.699 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.498e-05/0.01641, allocations: 12 kB / 0.5668 GB, free: 4.688 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002322/0.01664, allocations: 27.97 kB / 0.5669 GB, free: 4.66 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.369e-05/0.01667, allocations: 11.92 kB / 0.5669 GB, free: 4.648 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.836e-05/0.01672, allocations: 55.98 kB / 0.5669 GB, free: 4.594 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001705/0.01689, allocations: 259 kB / 0.5672 GB, free: 4.344 MB / 490.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.01689, allocations: 7.938 kB / 0.5672 GB, free: 4.336 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002724/0.01716, allocations: 67.98 kB / 0.5672 GB, free: 4.27 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.0001323/0.0173, allocations: 123.9 kB / 0.5674 GB, free: 4.137 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004386/0.01773, allocations: 410.3 kB / 0.5678 GB, free: 3.695 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.01774, allocations: 0 / 0.5678 GB, free: 3.695 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001037/0.01784, allocations: 80.02 kB / 0.5678 GB, free: 3.613 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000259/0.0181, allocations: 45.62 kB / 0.5679 GB, free: 3.57 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006325/0.01873, allocations: 483.1 kB / 0.5683 GB, free: 3.07 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.368e-05/0.01878, allocations: 91.67 kB / 0.5684 GB, free: 2.961 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.748e-05/0.01882, allocations: 9.141 kB / 0.5684 GB, free: 2.949 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001678/0.01899, allocations: 146.2 kB / 0.5686 GB, free: 2.805 MB / 490.7 MB Notification: Performance of SimCode: time 7.92e-07/0.01899, allocations: 0 / 0.5686 GB, free: 2.805 MB / 490.7 MB Notification: Performance of Templates: time 0.009274/0.02826, allocations: 5.522 MB / 0.574 GB, free: 13.26 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.sim & ./BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8237094399519265]