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.001033/0.001033, allocations: 73.88 kB / 20.66 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.001162/0.001162, allocations: 169 kB / 24.06 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 1.055/1.055, allocations: 177.1 MB / 204.5 MB, free: 5.492 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.001673/0.001673, allocations: 238 kB / 261.3 MB, free: 12.65 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.7493/0.7493, allocations: 138.5 MB / 456.3 MB, free: 1.438 MB / 362.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 1.193e-06/1.193e-06, allocations: 0 / 0.5563 GB, free: 292 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.036e-05/2.155e-05, allocations: 4.984 kB / 0.5563 GB, free: 288 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.00539/0.005412, allocations: 1.557 MB / 0.5579 GB, free: 14.71 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001123/0.006535, allocations: 0.5448 MB / 0.5584 GB, free: 14.16 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.655e-05/0.006601, allocations: 0 / 0.5584 GB, free: 14.16 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 9.685e-05/0.006698, allocations: 15.8 kB / 0.5584 GB, free: 14.15 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001084/0.006807, allocations: 27.84 kB / 0.5584 GB, free: 14.12 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00383/0.01064, allocations: 315.2 kB / 0.5587 GB, free: 13.81 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005535/0.01119, allocations: 491.4 kB / 0.5592 GB, free: 13.33 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.698e-05/0.01123, allocations: 0 / 0.5592 GB, free: 13.33 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004245/0.01165, allocations: 355.6 kB / 0.5595 GB, free: 12.98 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002426/0.01189, allocations: 127.7 kB / 0.5597 GB, free: 12.86 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 5.918e-05/0.01195, allocations: 28 kB / 0.5597 GB, free: 12.83 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.109e-05/0.012, allocations: 24 kB / 0.5597 GB, free: 12.81 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000107/0.01211, allocations: 119.6 kB / 0.5598 GB, free: 12.69 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001285/0.01224, allocations: 131.7 kB / 0.56 GB, free: 12.56 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003616/0.0126, allocations: 374.9 kB / 0.5603 GB, free: 12.2 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.0126, allocations: 0 / 0.5603 GB, free: 12.2 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.01261, allocations: 3.938 kB / 0.5603 GB, free: 12.19 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.162e-06/0.01261, allocations: 7.922 kB / 0.5603 GB, free: 12.18 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.004065/0.01668, allocations: 0.9027 MB / 0.5612 GB, free: 11.2 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.01672, allocations: 12.75 kB / 0.5612 GB, free: 11.19 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001376/0.01685, allocations: 60.69 kB / 0.5613 GB, free: 11.13 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003214/0.01718, allocations: 254.8 kB / 0.5615 GB, free: 10.86 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.59e-05/0.01722, allocations: 24.36 kB / 0.5615 GB, free: 10.83 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.306e-05/0.01729, allocations: 32.36 kB / 0.5616 GB, free: 10.8 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004226/0.01772, allocations: 190.7 kB / 0.5618 GB, free: 10.61 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.01773, allocations: 4.188 kB / 0.5618 GB, free: 10.6 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.256e-05/0.01775, allocations: 384 / 0.5618 GB, free: 10.6 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.01776, allocations: 4.375 kB / 0.5618 GB, free: 10.6 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001202/0.01788, allocations: 59.72 kB / 0.5618 GB, free: 10.54 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003189/0.0182, allocations: 257 kB / 0.5621 GB, free: 10.27 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002307/0.01843, allocations: 115 kB / 0.5622 GB, free: 10.14 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001173/0.01854, allocations: 59.66 kB / 0.5622 GB, free: 10.08 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.91e-05/0.01856, allocations: 4 kB / 0.5622 GB, free: 10.07 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002396/0.0188, allocations: 172.8 kB / 0.5624 GB, free: 9.891 MB / 490.7 MB Notification: Performance of pre-optimization done (n=16): time 1.804e-06/0.0188, allocations: 0 / 0.5624 GB, free: 9.891 MB / 490.7 MB Notification: Performance of matching and sorting (n=16): time 0.002329/0.02113, allocations: 360.9 kB / 0.5627 GB, free: 9.535 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.007e-05/0.02117, allocations: 63.39 kB / 0.5628 GB, free: 9.461 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00043/0.0216, allocations: 422.5 kB / 0.5632 GB, free: 9.035 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.313e-05/0.02165, allocations: 37.7 kB / 0.5632 GB, free: 8.992 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.067e-05/0.02172, allocations: 144.1 kB / 0.5634 GB, free: 8.848 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.224e-05/0.02176, allocations: 47.66 kB / 0.5634 GB, free: 8.801 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001595/0.02192, allocations: 131 kB / 0.5636 GB, free: 8.664 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001279/0.02205, allocations: 0.5039 MB / 0.564 GB, free: 8.148 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002157/0.02226, allocations: 171.2 kB / 0.5642 GB, free: 7.969 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002147/0.02248, allocations: 225.1 kB / 0.5644 GB, free: 7.707 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002446/0.02272, allocations: 261.1 kB / 0.5647 GB, free: 7.41 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.02272, allocations: 3.938 kB / 0.5647 GB, free: 7.406 MB / 490.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006458/0.02337, allocations: 0.522 MB / 0.5652 GB, free: 6.855 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.378e-05/0.02343, allocations: 83.38 kB / 0.5653 GB, free: 6.762 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.02344, allocations: 0 / 0.5653 GB, free: 6.762 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.02345, allocations: 7.984 kB / 0.5653 GB, free: 6.754 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001488/0.0236, allocations: 35.91 kB / 0.5653 GB, free: 6.719 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.02361, allocations: 8.188 kB / 0.5653 GB, free: 6.711 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000193/0.0238, allocations: 47.8 kB / 0.5654 GB, free: 6.664 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.228e-05/0.02385, allocations: 59.98 kB / 0.5654 GB, free: 6.605 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.0001104/0.02396, allocations: 186.4 kB / 0.5656 GB, free: 6.414 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.083e-05/0.02401, allocations: 51.7 kB / 0.5656 GB, free: 6.363 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.826e-05/0.02405, allocations: 31.69 kB / 0.5657 GB, free: 6.328 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.02406, allocations: 4 kB / 0.5657 GB, free: 6.324 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.02406, allocations: 4 kB / 0.5657 GB, free: 6.32 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.349e-06/0.02406, allocations: 7.984 kB / 0.5657 GB, free: 6.312 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007555/0.02482, allocations: 0.6111 MB / 0.5663 GB, free: 5.664 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.02482, allocations: 0 / 0.5663 GB, free: 5.664 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.458e-05/0.02485, allocations: 4 kB / 0.5663 GB, free: 5.66 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.02486, allocations: 0 / 0.5663 GB, free: 5.66 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.902e-05/0.02489, allocations: 23.97 kB / 0.5663 GB, free: 5.637 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.137e-06/0.02489, allocations: 4 kB / 0.5663 GB, free: 5.633 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.02489, allocations: 3.938 kB / 0.5663 GB, free: 5.629 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004878/0.02538, allocations: 451.9 kB / 0.5668 GB, free: 5.168 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001942/0.02558, allocations: 125.6 kB / 0.5669 GB, free: 5.047 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.435e-05/0.02563, allocations: 12 kB / 0.5669 GB, free: 5.035 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001513/0.02578, allocations: 15.98 kB / 0.5669 GB, free: 5.02 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.48e-05/0.02581, allocations: 15.92 kB / 0.5669 GB, free: 5.004 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.331e-05/0.02585, allocations: 55.97 kB / 0.567 GB, free: 4.949 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001205/0.02597, allocations: 263 kB / 0.5672 GB, free: 4.699 MB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02597, allocations: 4 kB / 0.5672 GB, free: 4.695 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002429/0.02621, allocations: 67.98 kB / 0.5673 GB, free: 4.629 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.0001131/0.02633, allocations: 109.9 kB / 0.5674 GB, free: 4.512 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003946/0.02672, allocations: 421.5 kB / 0.5678 GB, free: 4.059 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.02672, allocations: 0 / 0.5678 GB, free: 4.059 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 9.751e-05/0.02682, allocations: 83.33 kB / 0.5679 GB, free: 3.977 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002551/0.02708, allocations: 49.62 kB / 0.5679 GB, free: 3.926 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006979/0.02777, allocations: 474.8 kB / 0.5684 GB, free: 3.434 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.964e-05/0.02782, allocations: 87.75 kB / 0.5685 GB, free: 3.324 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.866e-05/0.02786, allocations: 13.14 kB / 0.5685 GB, free: 3.309 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001761/0.02804, allocations: 138.2 kB / 0.5686 GB, free: 3.172 MB / 490.7 MB Notification: Performance of SimCode: time 5.91e-07/0.02804, allocations: 0 / 0.5686 GB, free: 3.172 MB / 490.7 MB Notification: Performance of Templates: time 0.007726/0.03576, allocations: 5.521 MB / 0.574 GB, free: 13.61 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.8611204088665545]