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.001029/0.001029, allocations: 81.86 kB / 19.87 MB, free: 4.621 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.0009973/0.0009973, allocations: 169.7 kB / 23.28 MB, free: 1.219 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.9528/0.9528, allocations: 177.1 MB / 203.7 MB, free: 5.504 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.001654/0.001654, allocations: 246.2 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.7738/0.7738, allocations: 138.4 MB / 455.5 MB, free: 1.465 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.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.072e-06/1.072e-06, allocations: 0 / 0.5556 GB, free: 364 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.061e-05/1.168e-05, allocations: 6.312 kB / 0.5556 GB, free: 356 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths): time 0.001604/0.001615, allocations: 1.557 MB / 0.5571 GB, free: 14.77 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008115/0.002427, allocations: 0.5359 MB / 0.5576 GB, free: 14.24 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.918e-05/0.002466, allocations: 0 / 0.5576 GB, free: 14.24 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 4.397e-05/0.00251, allocations: 11.88 kB / 0.5576 GB, free: 14.23 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.571e-05/0.002576, allocations: 31.84 kB / 0.5576 GB, free: 14.2 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000443/0.003019, allocations: 323.1 kB / 0.558 GB, free: 13.88 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003165/0.003335, allocations: 491.4 kB / 0.5584 GB, free: 13.4 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.009e-05/0.003355, allocations: 8 kB / 0.5584 GB, free: 13.39 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002824/0.003638, allocations: 351.6 kB / 0.5588 GB, free: 13.05 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001629/0.0038, allocations: 135.7 kB / 0.5589 GB, free: 12.92 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 4.703e-05/0.003847, allocations: 28 kB / 0.5589 GB, free: 12.89 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.948e-05/0.003897, allocations: 28 kB / 0.559 GB, free: 12.86 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 6.956e-05/0.003967, allocations: 119.7 kB / 0.5591 GB, free: 12.75 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 8.833e-05/0.004055, allocations: 131.7 kB / 0.5592 GB, free: 12.62 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002377/0.004293, allocations: 374.8 kB / 0.5595 GB, free: 12.25 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.132e-06/0.004294, allocations: 0 / 0.5595 GB, free: 12.25 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.004294, allocations: 0 / 0.5595 GB, free: 12.25 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.775e-06/0.004297, allocations: 0 / 0.5595 GB, free: 12.25 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.0006264/0.004923, allocations: 0.9182 MB / 0.5604 GB, free: 11.25 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.17e-05/0.004945, allocations: 8.75 kB / 0.5605 GB, free: 11.25 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.987e-05/0.005025, allocations: 64.69 kB / 0.5605 GB, free: 11.18 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000186/0.005211, allocations: 254.8 kB / 0.5608 GB, free: 10.91 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.52e-05/0.005236, allocations: 24.3 kB / 0.5608 GB, free: 10.88 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.118e-05/0.005277, allocations: 32.36 kB / 0.5608 GB, free: 10.85 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000257/0.005534, allocations: 202.7 kB / 0.561 GB, free: 10.64 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.037e-06/0.005538, allocations: 192 / 0.561 GB, free: 10.64 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.005551, allocations: 384 / 0.561 GB, free: 10.64 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.786e-06/0.005554, allocations: 384 / 0.561 GB, free: 10.64 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.435e-05/0.005628, allocations: 55.91 kB / 0.5611 GB, free: 10.59 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001878/0.005816, allocations: 261 kB / 0.5613 GB, free: 10.31 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001384/0.005954, allocations: 111 kB / 0.5614 GB, free: 10.19 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.946e-05/0.006034, allocations: 63.64 kB / 0.5615 GB, free: 10.12 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.393e-05/0.006048, allocations: 4 kB / 0.5615 GB, free: 10.12 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001437/0.006191, allocations: 168.8 kB / 0.5616 GB, free: 9.938 MB / 490.7 MB Notification: Performance of pre-optimization done (n=16): time 7.31e-07/0.006192, allocations: 4 kB / 0.5616 GB, free: 9.934 MB / 490.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004021/0.006594, allocations: 361 kB / 0.562 GB, free: 9.578 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.396e-05/0.006618, allocations: 63.34 kB / 0.562 GB, free: 9.504 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002055/0.006824, allocations: 418.5 kB / 0.5624 GB, free: 9.082 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.291e-05/0.006857, allocations: 45.69 kB / 0.5625 GB, free: 9.031 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.028e-05/0.006907, allocations: 140.2 kB / 0.5626 GB, free: 8.891 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.846e-05/0.006935, allocations: 43.66 kB / 0.5627 GB, free: 8.848 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001095/0.007045, allocations: 131.1 kB / 0.5628 GB, free: 8.711 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.007153, allocations: 0.5 MB / 0.5633 GB, free: 8.199 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001416/0.007295, allocations: 171.2 kB / 0.5634 GB, free: 8.02 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001497/0.007444, allocations: 229.1 kB / 0.5637 GB, free: 7.754 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001682/0.007613, allocations: 261 kB / 0.5639 GB, free: 7.457 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.007614, allocations: 4 kB / 0.5639 GB, free: 7.453 MB / 490.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004277/0.008042, allocations: 0.5258 MB / 0.5644 GB, free: 6.898 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.267e-05/0.008085, allocations: 83.38 kB / 0.5645 GB, free: 6.805 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.00809, allocations: 4 kB / 0.5645 GB, free: 6.801 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.272e-06/0.008096, allocations: 4 kB / 0.5645 GB, free: 6.797 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.026e-05/0.008186, allocations: 35.91 kB / 0.5646 GB, free: 6.762 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.527e-06/0.00819, allocations: 4 kB / 0.5646 GB, free: 6.758 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001507/0.00834, allocations: 55.98 kB / 0.5646 GB, free: 6.703 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.553e-05/0.008386, allocations: 59.98 kB / 0.5647 GB, free: 6.645 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 9.946e-05/0.008485, allocations: 178.5 kB / 0.5648 GB, free: 6.461 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.58e-05/0.008531, allocations: 51.72 kB / 0.5649 GB, free: 6.41 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.368e-05/0.008565, allocations: 35.66 kB / 0.5649 GB, free: 6.371 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.008567, allocations: 4 kB / 0.5649 GB, free: 6.367 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.008569, allocations: 0 / 0.5649 GB, free: 6.367 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.008571, allocations: 0 / 0.5649 GB, free: 6.367 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005223/0.009094, allocations: 0.6151 MB / 0.5655 GB, free: 5.715 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.009094, allocations: 0 / 0.5655 GB, free: 5.715 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.663e-05/0.009111, allocations: 4 kB / 0.5655 GB, free: 5.711 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.009113, allocations: 0 / 0.5655 GB, free: 5.711 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.929e-05/0.009132, allocations: 27.91 kB / 0.5656 GB, free: 5.684 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.009133, allocations: 0 / 0.5656 GB, free: 5.684 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.009134, allocations: 3.938 kB / 0.5656 GB, free: 5.68 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003235/0.009458, allocations: 459.9 kB / 0.566 GB, free: 5.211 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001287/0.009586, allocations: 121.6 kB / 0.5661 GB, free: 5.094 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.756e-05/0.009624, allocations: 15.98 kB / 0.5661 GB, free: 5.078 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001583/0.009782, allocations: 27.97 kB / 0.5662 GB, free: 5.051 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.522e-05/0.009798, allocations: 11.92 kB / 0.5662 GB, free: 5.039 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.825e-05/0.009836, allocations: 59.98 kB / 0.5662 GB, free: 4.98 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001185/0.009954, allocations: 263 kB / 0.5665 GB, free: 4.73 MB / 490.7 MB Notification: Performance of sort global known variables: time 8e-08/0.009954, allocations: 0 / 0.5665 GB, free: 4.73 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002053/0.01016, allocations: 67.98 kB / 0.5665 GB, free: 4.664 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 7.551e-05/0.01024, allocations: 119.2 kB / 0.5667 GB, free: 4.535 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003685/0.0106, allocations: 421.5 kB / 0.5671 GB, free: 4.082 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.41e-07/0.0106, allocations: 0 / 0.5671 GB, free: 4.082 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 8.864e-05/0.01069, allocations: 83.33 kB / 0.5671 GB, free: 4 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002038/0.0109, allocations: 45.62 kB / 0.5672 GB, free: 3.953 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005169/0.01141, allocations: 478.8 kB / 0.5676 GB, free: 3.457 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.59e-05/0.01146, allocations: 87.81 kB / 0.5677 GB, free: 3.348 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.404e-05/0.01149, allocations: 13.14 kB / 0.5677 GB, free: 3.332 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001589/0.01165, allocations: 142.2 kB / 0.5679 GB, free: 3.191 MB / 490.7 MB Notification: Performance of SimCode: time 4.01e-07/0.01165, allocations: 4 kB / 0.5679 GB, free: 3.188 MB / 490.7 MB Notification: Performance of Templates: time 0.005572/0.01722, allocations: 5.36 MB / 0.5731 GB, free: 13.78 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.4885673741810024]