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.002304/0.002304, allocations: 85.48 kB / 19.44 MB, free: 344 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.002724/0.002724, allocations: 173.6 kB / 22.76 MB, free: 1.664 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.56/1.56, allocations: 177.1 MB / 203.1 MB, free: 5.609 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.003272/0.003272, allocations: 238.4 kB / 259.8 MB, free: 12.84 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.185/1.185, allocations: 138.4 MB / 454.7 MB, free: 1.484 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.903e-06/1.903e-06, allocations: 0 / 0.5543 GB, free: 0.8867 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.693e-05/2.883e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.8828 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002964/0.002993, allocations: 1.526 MB / 0.5558 GB, free: 15.34 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001424/0.004417, allocations: 0.5382 MB / 0.5563 GB, free: 14.8 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.108e-05/0.004468, allocations: 0 / 0.5563 GB, free: 14.8 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001051/0.004573, allocations: 11.86 kB / 0.5563 GB, free: 14.79 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001168/0.00469, allocations: 19.88 kB / 0.5564 GB, free: 14.77 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008633/0.005553, allocations: 331.1 kB / 0.5567 GB, free: 14.45 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006177/0.006171, allocations: 487.4 kB / 0.5571 GB, free: 13.97 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.657e-05/0.006207, allocations: 4 kB / 0.5571 GB, free: 13.96 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005485/0.006756, allocations: 351.6 kB / 0.5575 GB, free: 13.62 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003079/0.007064, allocations: 127.7 kB / 0.5576 GB, free: 13.5 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001326/0.007196, allocations: 28 kB / 0.5576 GB, free: 13.47 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001348/0.007331, allocations: 24 kB / 0.5576 GB, free: 13.45 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003776/0.007708, allocations: 115.7 kB / 0.5578 GB, free: 13.33 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002002/0.007909, allocations: 135.7 kB / 0.5579 GB, free: 13.2 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006041/0.008513, allocations: 470.6 kB / 0.5583 GB, free: 12.74 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.008516, allocations: 0 / 0.5583 GB, free: 12.74 MB / 490.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.008517, allocations: 0 / 0.5583 GB, free: 12.74 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.008522, allocations: 0 / 0.5583 GB, free: 12.74 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.001495/0.01002, allocations: 0.9219 MB / 0.5592 GB, free: 11.74 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.01006, allocations: 8.75 kB / 0.5592 GB, free: 11.73 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001619/0.01022, allocations: 60.7 kB / 0.5593 GB, free: 11.67 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005024/0.01072, allocations: 254.8 kB / 0.5595 GB, free: 11.39 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.439e-05/0.01078, allocations: 20.36 kB / 0.5596 GB, free: 11.38 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.211e-05/0.01086, allocations: 36.36 kB / 0.5596 GB, free: 11.34 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006528/0.01151, allocations: 198 kB / 0.5598 GB, free: 11.14 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.01152, allocations: 192 / 0.5598 GB, free: 11.14 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.534e-05/0.01155, allocations: 384 / 0.5598 GB, free: 11.14 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.01155, allocations: 4.375 kB / 0.5598 GB, free: 11.14 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004094/0.01196, allocations: 87.81 kB / 0.5599 GB, free: 11.05 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005053/0.01247, allocations: 332.4 kB / 0.5602 GB, free: 10.69 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006253/0.01309, allocations: 159 kB / 0.5603 GB, free: 10.52 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004061/0.0135, allocations: 87.27 kB / 0.5604 GB, free: 10.44 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.763e-05/0.01353, allocations: 0 / 0.5604 GB, free: 10.44 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000595/0.01412, allocations: 216.8 kB / 0.5606 GB, free: 10.21 MB / 490.7 MB Notification: Performance of pre-optimization done (n=16): time 1.432e-06/0.01412, allocations: 4 kB / 0.5606 GB, free: 10.21 MB / 490.7 MB Notification: Performance of matching and sorting (n=16): time 0.001615/0.01574, allocations: 432.7 kB / 0.5611 GB, free: 9.781 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.239e-05/0.01581, allocations: 63.34 kB / 0.5611 GB, free: 9.707 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005406/0.01635, allocations: 470.6 kB / 0.5616 GB, free: 9.234 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.885e-05/0.01642, allocations: 45.69 kB / 0.5616 GB, free: 9.184 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001265/0.01655, allocations: 148.2 kB / 0.5617 GB, free: 9.035 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.366e-05/0.01661, allocations: 43.69 kB / 0.5618 GB, free: 8.992 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002423/0.01685, allocations: 147 kB / 0.5619 GB, free: 8.84 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002988/0.01715, allocations: 0.4923 MB / 0.5624 GB, free: 8.336 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003847/0.01754, allocations: 215.3 kB / 0.5626 GB, free: 8.113 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004406/0.01798, allocations: 285.1 kB / 0.5629 GB, free: 7.793 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004925/0.01847, allocations: 319.4 kB / 0.5632 GB, free: 7.441 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.01847, allocations: 0 / 0.5632 GB, free: 7.441 MB / 490.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.00122/0.01969, allocations: 0.6172 MB / 0.5638 GB, free: 6.793 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.835e-05/0.01979, allocations: 79.38 kB / 0.5639 GB, free: 6.703 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.0198, allocations: 4 kB / 0.5639 GB, free: 6.699 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.01982, allocations: 0 / 0.5639 GB, free: 6.699 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002316/0.02005, allocations: 39.91 kB / 0.5639 GB, free: 6.66 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.267e-05/0.02006, allocations: 7.938 kB / 0.5639 GB, free: 6.652 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003616/0.02042, allocations: 52.05 kB / 0.564 GB, free: 6.602 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001019/0.02053, allocations: 55.98 kB / 0.564 GB, free: 6.547 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.0002458/0.02077, allocations: 194.5 kB / 0.5642 GB, free: 6.348 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.094e-05/0.02086, allocations: 47.72 kB / 0.5643 GB, free: 6.301 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.311e-05/0.02094, allocations: 35.67 kB / 0.5643 GB, free: 6.262 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/0.02094, allocations: 4 kB / 0.5643 GB, free: 6.258 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.02095, allocations: 0 / 0.5643 GB, free: 6.258 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.917e-06/0.02096, allocations: 3.938 kB / 0.5643 GB, free: 6.254 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001973/0.02293, allocations: 0.7473 MB / 0.565 GB, free: 5.461 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.02293, allocations: 0 / 0.565 GB, free: 5.461 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.896e-05/0.02297, allocations: 4 kB / 0.565 GB, free: 5.457 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.02297, allocations: 0 / 0.565 GB, free: 5.457 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.921e-05/0.02302, allocations: 23.91 kB / 0.5651 GB, free: 5.434 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.02303, allocations: 0 / 0.5651 GB, free: 5.434 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.02303, allocations: 0 / 0.5651 GB, free: 5.434 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00118/0.02421, allocations: 0.4999 MB / 0.5655 GB, free: 4.914 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003048/0.02451, allocations: 121.5 kB / 0.5657 GB, free: 4.793 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.951e-05/0.02459, allocations: 19.92 kB / 0.5657 GB, free: 4.773 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002893/0.02488, allocations: 19.98 kB / 0.5657 GB, free: 4.754 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.194e-05/0.02492, allocations: 7.984 kB / 0.5657 GB, free: 4.746 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.588e-05/0.02501, allocations: 59.97 kB / 0.5658 GB, free: 4.688 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0003133/0.02532, allocations: 291.1 kB / 0.566 GB, free: 4.41 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02532, allocations: 0 / 0.566 GB, free: 4.41 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003773/0.0257, allocations: 67.98 kB / 0.5661 GB, free: 4.344 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.0001793/0.02588, allocations: 115.2 kB / 0.5662 GB, free: 4.219 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001187/0.02706, allocations: 0.5985 MB / 0.5668 GB, free: 3.582 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.02707, allocations: 384 / 0.5668 GB, free: 3.582 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004312/0.0275, allocations: 111.6 kB / 0.5669 GB, free: 3.469 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004117/0.02791, allocations: 49.61 kB / 0.5669 GB, free: 3.418 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001147/0.02906, allocations: 0.4911 MB / 0.5674 GB, free: 2.898 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001887/0.02925, allocations: 155 kB / 0.5676 GB, free: 2.727 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 6.382e-05/0.02931, allocations: 17.14 kB / 0.5676 GB, free: 2.711 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.058e-05/0.02936, allocations: 20.48 kB / 0.5676 GB, free: 2.691 MB / 490.7 MB Notification: Performance of SimCode: time 5.51e-07/0.02936, allocations: 0 / 0.5676 GB, free: 2.691 MB / 490.7 MB Notification: Performance of Templates: time 0.01182/0.04119, allocations: 5.902 MB / 0.5734 GB, free: 12.75 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: 5.9742935709655285]