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.001373/0.001373, allocations: 88.72 kB / 19.44 MB, free: 356 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.001532/0.001532, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.466/1.466, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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.002488/0.002488, allocations: 234 kB / 259.8 MB, free: 12.86 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 1.097/1.097, allocations: 138.4 MB / 454.7 MB, free: 1.457 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.452e-06/1.452e-06, allocations: 0 / 0.5543 GB, free: 0.875 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.421e-05/2.566e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.8711 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths): time 0.002937/0.002963, allocations: 1.519 MB / 0.5558 GB, free: 15.34 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001378/0.004341, allocations: 0.5303 MB / 0.5563 GB, free: 14.8 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.134e-05/0.004392, allocations: 0 / 0.5563 GB, free: 14.8 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 9.254e-05/0.004485, allocations: 7.875 kB / 0.5563 GB, free: 14.8 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001133/0.004598, allocations: 31.84 kB / 0.5563 GB, free: 14.77 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000904/0.005502, allocations: 323.2 kB / 0.5566 GB, free: 14.45 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006571/0.006159, allocations: 487.4 kB / 0.5571 GB, free: 13.97 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.666e-05/0.006196, allocations: 4 kB / 0.5571 GB, free: 13.97 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006178/0.006814, allocations: 355.6 kB / 0.5574 GB, free: 13.62 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003347/0.007149, allocations: 127.7 kB / 0.5576 GB, free: 13.5 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 9.888e-05/0.007248, allocations: 32 kB / 0.5576 GB, free: 13.46 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.454e-05/0.007332, allocations: 24 kB / 0.5576 GB, free: 13.44 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001518/0.007484, allocations: 119.7 kB / 0.5577 GB, free: 13.32 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001838/0.007668, allocations: 127.7 kB / 0.5579 GB, free: 13.2 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006383/0.008306, allocations: 474.5 kB / 0.5583 GB, free: 12.73 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.008309, allocations: 0 / 0.5583 GB, free: 12.73 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.00831, allocations: 0 / 0.5583 GB, free: 12.73 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.806e-06/0.008319, allocations: 0 / 0.5583 GB, free: 12.73 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.001398/0.009717, allocations: 0.7912 MB / 0.5591 GB, free: 11.87 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.009757, allocations: 16.75 kB / 0.5591 GB, free: 11.86 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001818/0.009939, allocations: 52.7 kB / 0.5592 GB, free: 11.8 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004501/0.01039, allocations: 264 kB / 0.5594 GB, free: 11.52 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.256e-05/0.01044, allocations: 16.36 kB / 0.5594 GB, free: 11.5 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.504e-05/0.01053, allocations: 24.38 kB / 0.5594 GB, free: 11.48 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001147/0.01167, allocations: 230 kB / 0.5597 GB, free: 11.25 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.01168, allocations: 4.125 kB / 0.5597 GB, free: 11.25 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.352e-05/0.01172, allocations: 4.375 kB / 0.5597 GB, free: 11.24 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.01172, allocations: 4.375 kB / 0.5597 GB, free: 11.24 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008873/0.01261, allocations: 119.8 kB / 0.5598 GB, free: 11.12 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004776/0.01309, allocations: 285.1 kB / 0.5601 GB, free: 10.81 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001155/0.01424, allocations: 178.5 kB / 0.5602 GB, free: 10.63 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008331/0.01508, allocations: 128.5 kB / 0.5604 GB, free: 10.5 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.661e-05/0.0151, allocations: 4 kB / 0.5604 GB, free: 10.5 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001062/0.01616, allocations: 238.4 kB / 0.5606 GB, free: 10.26 MB / 490.7 MB Notification: Performance of pre-optimization done (n=16): time 1.834e-06/0.01617, allocations: 0 / 0.5606 GB, free: 10.26 MB / 490.7 MB Notification: Performance of matching and sorting (n=16): time 0.003174/0.01934, allocations: 0.5284 MB / 0.5611 GB, free: 9.723 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.322e-05/0.0194, allocations: 63.39 kB / 0.5612 GB, free: 9.648 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005357/0.01994, allocations: 417.8 kB / 0.5616 GB, free: 9.234 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.081e-05/0.02003, allocations: 41.69 kB / 0.5616 GB, free: 9.188 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/0.02013, allocations: 93.45 kB / 0.5617 GB, free: 9.094 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.822e-05/0.02019, allocations: 39.69 kB / 0.5617 GB, free: 9.055 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002433/0.02044, allocations: 129.4 kB / 0.5618 GB, free: 8.922 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001843/0.02062, allocations: 322.8 kB / 0.5622 GB, free: 8.598 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003872/0.02101, allocations: 199.3 kB / 0.5623 GB, free: 8.391 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004028/0.02141, allocations: 241.3 kB / 0.5626 GB, free: 8.121 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004581/0.02187, allocations: 279.6 kB / 0.5628 GB, free: 7.816 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.02187, allocations: 0 / 0.5628 GB, free: 7.816 MB / 490.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001095/0.02297, allocations: 0.5821 MB / 0.5634 GB, free: 7.203 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.697e-05/0.02306, allocations: 83.56 kB / 0.5635 GB, free: 7.109 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.02307, allocations: 0 / 0.5635 GB, free: 7.109 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.139e-05/0.02309, allocations: 4 kB / 0.5635 GB, free: 7.105 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001809/0.02327, allocations: 31.91 kB / 0.5635 GB, free: 7.074 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.02328, allocations: 3.938 kB / 0.5635 GB, free: 7.07 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005637/0.02384, allocations: 71.78 kB / 0.5636 GB, free: 7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001046/0.02395, allocations: 59.98 kB / 0.5637 GB, free: 6.941 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.0002717/0.02422, allocations: 203.7 kB / 0.5638 GB, free: 6.734 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001022/0.02432, allocations: 43.72 kB / 0.5639 GB, free: 6.691 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.657e-05/0.0244, allocations: 39.69 kB / 0.5639 GB, free: 6.648 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.02441, allocations: 4 kB / 0.5639 GB, free: 6.645 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.02441, allocations: 3.984 kB / 0.5639 GB, free: 6.641 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.02442, allocations: 3.938 kB / 0.5639 GB, free: 6.637 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002527/0.02695, allocations: 0.709 MB / 0.5646 GB, free: 5.887 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.02695, allocations: 0 / 0.5646 GB, free: 5.887 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.364e-05/0.02698, allocations: 4 kB / 0.5646 GB, free: 5.883 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.101e-06/0.02699, allocations: 4 kB / 0.5646 GB, free: 5.879 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.629e-05/0.02703, allocations: 27.91 kB / 0.5647 GB, free: 5.852 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.02704, allocations: 0 / 0.5647 GB, free: 5.852 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.02704, allocations: 0 / 0.5647 GB, free: 5.852 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002307/0.02934, allocations: 0.5107 MB / 0.5652 GB, free: 5.328 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002811/0.02963, allocations: 137.6 kB / 0.5653 GB, free: 5.191 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.521e-05/0.0297, allocations: 11.94 kB / 0.5653 GB, free: 5.18 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005285/0.03023, allocations: 39.95 kB / 0.5653 GB, free: 5.141 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.43e-05/0.03027, allocations: 15.98 kB / 0.5654 GB, free: 5.125 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.234e-05/0.03036, allocations: 51.98 kB / 0.5654 GB, free: 5.074 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0003628/0.03072, allocations: 295.1 kB / 0.5657 GB, free: 4.793 MB / 490.7 MB Notification: Performance of sort global known variables: time 9e-08/0.03072, allocations: 3.938 kB / 0.5657 GB, free: 4.789 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003828/0.0311, allocations: 67.98 kB / 0.5658 GB, free: 4.723 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.0001673/0.03127, allocations: 115.2 kB / 0.5659 GB, free: 4.602 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00153/0.0328, allocations: 497.8 kB / 0.5663 GB, free: 4.078 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.0328, allocations: 0 / 0.5663 GB, free: 4.078 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008994/0.0337, allocations: 127.8 kB / 0.5665 GB, free: 3.953 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004036/0.0341, allocations: 48.59 kB / 0.5665 GB, free: 3.906 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00168/0.03578, allocations: 0.5796 MB / 0.5671 GB, free: 3.297 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001988/0.03598, allocations: 163 kB / 0.5672 GB, free: 3.113 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 5.91e-05/0.03604, allocations: 13.14 kB / 0.5672 GB, free: 3.102 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.276e-05/0.03609, allocations: 20.48 kB / 0.5673 GB, free: 3.082 MB / 490.7 MB Notification: Performance of SimCode: time 3.91e-07/0.0361, allocations: 0 / 0.5673 GB, free: 3.082 MB / 490.7 MB Notification: Performance of Templates: time 0.01148/0.04757, allocations: 5.894 MB / 0.573 GB, free: 13.14 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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.671632981975563]