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.001329/0.001329, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001482/0.001482, allocations: 173.3 kB / 23.02 MB, free: 1.551 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 1.011/1.011, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.00176/0.00176, allocations: 236.7 kB / 260.2 MB, free: 12.82 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.7079/0.7079, allocations: 138.4 MB / 455.2 MB, free: 1.496 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.292e-06/1.292e-06, allocations: 0 / 0.5551 GB, free: 0.5078 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.635e-05/1.764e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.5039 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.001733/0.001751, allocations: 1.569 MB / 0.5566 GB, free: 14.92 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008819/0.002632, allocations: 0.5369 MB / 0.5571 GB, free: 14.38 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.364e-05/0.002686, allocations: 0 / 0.5571 GB, free: 14.38 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 9.513e-05/0.002781, allocations: 11.86 kB / 0.5572 GB, free: 14.37 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001023/0.002884, allocations: 35.78 kB / 0.5572 GB, free: 14.34 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006315/0.003515, allocations: 307.3 kB / 0.5575 GB, free: 14.04 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.000366/0.003881, allocations: 487.4 kB / 0.5579 GB, free: 13.56 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.708e-05/0.003918, allocations: 11.92 kB / 0.558 GB, free: 13.55 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003251/0.004243, allocations: 359.6 kB / 0.5583 GB, free: 13.2 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001918/0.004435, allocations: 123.7 kB / 0.5584 GB, free: 13.07 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 5.311e-05/0.004488, allocations: 28 kB / 0.5584 GB, free: 13.05 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.052e-05/0.004539, allocations: 27.94 kB / 0.5585 GB, free: 13.02 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 8.912e-05/0.004628, allocations: 119.7 kB / 0.5586 GB, free: 12.9 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001015/0.004729, allocations: 127.7 kB / 0.5587 GB, free: 12.78 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002923/0.005022, allocations: 378.9 kB / 0.5591 GB, free: 12.41 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.713e-06/0.005023, allocations: 4 kB / 0.5591 GB, free: 12.4 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.005024, allocations: 0 / 0.5591 GB, free: 12.4 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.93e-06/0.005029, allocations: 0 / 0.5591 GB, free: 12.4 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.0008205/0.005849, allocations: 0.9066 MB / 0.56 GB, free: 11.42 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.005884, allocations: 12.75 kB / 0.56 GB, free: 11.41 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001005/0.005984, allocations: 56.69 kB / 0.56 GB, free: 11.35 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002452/0.006229, allocations: 262.8 kB / 0.5603 GB, free: 11.07 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.265e-05/0.006262, allocations: 20.3 kB / 0.5603 GB, free: 11.05 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.558e-05/0.006308, allocations: 28.36 kB / 0.5603 GB, free: 11.02 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003356/0.006643, allocations: 206.7 kB / 0.5605 GB, free: 10.81 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.006651, allocations: 192 / 0.5605 GB, free: 10.81 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.807e-05/0.00667, allocations: 384 / 0.5605 GB, free: 10.81 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.006677, allocations: 8.375 kB / 0.5605 GB, free: 10.8 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.445e-05/0.006772, allocations: 63.53 kB / 0.5606 GB, free: 10.74 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000286/0.007058, allocations: 308.4 kB / 0.5609 GB, free: 10.41 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001985/0.007256, allocations: 131 kB / 0.561 GB, free: 10.27 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.47e-05/0.007351, allocations: 63.66 kB / 0.5611 GB, free: 10.2 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.942e-05/0.00737, allocations: 4 kB / 0.5611 GB, free: 10.2 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001975/0.007568, allocations: 184.9 kB / 0.5613 GB, free: 10 MB / 490.7 MB Notification: Performance of pre-optimization done (n=16): time 1.302e-06/0.007569, allocations: 0 / 0.5613 GB, free: 10 MB / 490.7 MB Notification: Performance of matching and sorting (n=16): time 0.0005137/0.008083, allocations: 385 kB / 0.5616 GB, free: 9.621 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.008117, allocations: 55.41 kB / 0.5617 GB, free: 9.555 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002809/0.008398, allocations: 426.6 kB / 0.5621 GB, free: 9.125 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.723e-05/0.008435, allocations: 41.69 kB / 0.5621 GB, free: 9.078 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.053e-05/0.008496, allocations: 144.2 kB / 0.5623 GB, free: 8.934 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.126e-05/0.008527, allocations: 35.7 kB / 0.5623 GB, free: 8.898 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001532/0.008681, allocations: 131.1 kB / 0.5624 GB, free: 8.762 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.0088, allocations: 0.4962 MB / 0.5629 GB, free: 8.254 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002015/0.009001, allocations: 183.2 kB / 0.5631 GB, free: 8.062 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002938/0.009295, allocations: 249.1 kB / 0.5633 GB, free: 7.777 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002378/0.009533, allocations: 271.6 kB / 0.5636 GB, free: 7.473 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.009536, allocations: 0 / 0.5636 GB, free: 7.473 MB / 490.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005604/0.0101, allocations: 0.5625 MB / 0.5641 GB, free: 6.879 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.08e-05/0.01015, allocations: 79.38 kB / 0.5642 GB, free: 6.789 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.01015, allocations: 4 kB / 0.5642 GB, free: 6.785 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.01017, allocations: 0 / 0.5642 GB, free: 6.785 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001287/0.0103, allocations: 35.97 kB / 0.5642 GB, free: 6.75 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.428e-06/0.01031, allocations: 11.88 kB / 0.5642 GB, free: 6.738 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001709/0.01048, allocations: 48.05 kB / 0.5643 GB, free: 6.691 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-05/0.01053, allocations: 59.98 kB / 0.5643 GB, free: 6.633 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.0001164/0.01065, allocations: 182.6 kB / 0.5645 GB, free: 6.445 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.755e-05/0.01069, allocations: 43.72 kB / 0.5646 GB, free: 6.402 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.038e-05/0.01073, allocations: 39.67 kB / 0.5646 GB, free: 6.359 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.01074, allocations: 3.984 kB / 0.5646 GB, free: 6.355 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.01074, allocations: 3.938 kB / 0.5646 GB, free: 6.352 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.01075, allocations: 11.94 kB / 0.5646 GB, free: 6.34 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008733/0.01162, allocations: 0.6693 MB / 0.5653 GB, free: 5.625 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.01162, allocations: 0 / 0.5653 GB, free: 5.625 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.725e-05/0.01165, allocations: 7.938 kB / 0.5653 GB, free: 5.617 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.01165, allocations: 4 kB / 0.5653 GB, free: 5.613 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.39e-05/0.01168, allocations: 27.84 kB / 0.5653 GB, free: 5.586 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.01168, allocations: 0 / 0.5653 GB, free: 5.586 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.01168, allocations: 0 / 0.5653 GB, free: 5.586 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003781/0.01206, allocations: 468 kB / 0.5658 GB, free: 5.109 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001319/0.01219, allocations: 121.6 kB / 0.5659 GB, free: 4.992 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.688e-05/0.01224, allocations: 19.94 kB / 0.5659 GB, free: 4.973 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001404/0.01238, allocations: 19.97 kB / 0.5659 GB, free: 4.953 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.96e-05/0.01241, allocations: 7.984 kB / 0.5659 GB, free: 4.945 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.518e-05/0.01245, allocations: 59.97 kB / 0.566 GB, free: 4.887 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001538/0.01261, allocations: 271.1 kB / 0.5662 GB, free: 4.629 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01261, allocations: 0 / 0.5662 GB, free: 4.629 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002297/0.01283, allocations: 63.98 kB / 0.5663 GB, free: 4.566 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.0001052/0.01294, allocations: 123.2 kB / 0.5664 GB, free: 4.434 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004443/0.01338, allocations: 437.1 kB / 0.5668 GB, free: 3.969 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.01339, allocations: 0 / 0.5668 GB, free: 3.969 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001005/0.01349, allocations: 79.97 kB / 0.5669 GB, free: 3.887 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002455/0.01373, allocations: 54.62 kB / 0.567 GB, free: 3.832 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006476/0.01438, allocations: 470.9 kB / 0.5674 GB, free: 3.344 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.734e-05/0.01443, allocations: 95.8 kB / 0.5675 GB, free: 3.227 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.561e-05/0.01446, allocations: 9.156 kB / 0.5675 GB, free: 3.215 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.233e-05/0.0145, allocations: 20.42 kB / 0.5675 GB, free: 3.195 MB / 490.7 MB Notification: Performance of SimCode: time 7.41e-07/0.0145, allocations: 0 / 0.5675 GB, free: 3.195 MB / 490.7 MB Notification: Performance of Templates: time 0.007975/0.02247, allocations: 6.522 MB / 0.5739 GB, free: 12.64 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.760765246581286]