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.0014/0.0014, 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.00153/0.00153, allocations: 161.7 kB / 22.76 MB, free: 1.68 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.474/1.474, allocations: 177.2 MB / 203.1 MB, free: 5.594 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.002715/0.002715, allocations: 228 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.094/1.094, 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.253e-06/1.253e-06, allocations: 0 / 0.5543 GB, free: 0.9062 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.514e-05/2.639e-05, allocations: 5.266 kB / 0.5543 GB, free: 0.9023 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002931/0.002958, allocations: 1.515 MB / 0.5558 GB, free: 15.37 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00142/0.004378, allocations: 0.5372 MB / 0.5563 GB, free: 14.84 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.385e-05/0.004442, allocations: 3.938 kB / 0.5563 GB, free: 14.83 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 9.876e-05/0.004541, allocations: 7.922 kB / 0.5563 GB, free: 14.82 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001189/0.00466, allocations: 23.86 kB / 0.5563 GB, free: 14.8 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009527/0.005612, allocations: 315.3 kB / 0.5566 GB, free: 14.49 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007137/0.006326, allocations: 491.4 kB / 0.5571 GB, free: 14.01 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.728e-05/0.006373, allocations: 4 kB / 0.5571 GB, free: 14.01 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006539/0.007027, allocations: 363.5 kB / 0.5575 GB, free: 13.65 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003224/0.007349, allocations: 127.7 kB / 0.5576 GB, free: 13.53 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 9.561e-05/0.007445, allocations: 28 kB / 0.5576 GB, free: 13.5 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.486e-05/0.00753, allocations: 28 kB / 0.5576 GB, free: 13.47 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001521/0.007682, allocations: 115.7 kB / 0.5577 GB, free: 13.36 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001906/0.007873, allocations: 131.7 kB / 0.5579 GB, free: 13.23 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006109/0.008484, allocations: 462.7 kB / 0.5583 GB, free: 12.78 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.008489, allocations: 3.984 kB / 0.5583 GB, free: 12.77 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.008489, allocations: 0 / 0.5583 GB, free: 12.77 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.684e-06/0.008497, allocations: 0 / 0.5583 GB, free: 12.77 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.001434/0.009931, allocations: 0.7951 MB / 0.5591 GB, free: 11.91 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.009968, allocations: 8.75 kB / 0.5591 GB, free: 11.9 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001822/0.01015, allocations: 64.62 kB / 0.5592 GB, free: 11.84 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004343/0.01058, allocations: 260 kB / 0.5594 GB, free: 11.55 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.324e-05/0.01064, allocations: 16.36 kB / 0.5594 GB, free: 11.54 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.811e-05/0.01073, allocations: 32.36 kB / 0.5595 GB, free: 11.51 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001151/0.01188, allocations: 222 kB / 0.5597 GB, free: 11.29 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/0.01188, allocations: 192 / 0.5597 GB, free: 11.29 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.659e-05/0.01192, allocations: 12.36 kB / 0.5597 GB, free: 11.27 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.01193, allocations: 384 / 0.5597 GB, free: 11.27 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008944/0.01282, allocations: 123.9 kB / 0.5598 GB, free: 11.15 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004402/0.01326, allocations: 277.1 kB / 0.5601 GB, free: 10.85 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001192/0.01445, allocations: 186.3 kB / 0.5602 GB, free: 10.66 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000887/0.01534, allocations: 124.8 kB / 0.5604 GB, free: 10.54 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.524e-05/0.01536, allocations: 4 kB / 0.5604 GB, free: 10.53 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001095/0.01646, allocations: 231.2 kB / 0.5606 GB, free: 10.29 MB / 490.7 MB Notification: Performance of pre-optimization done (n=16): time 1.523e-06/0.01646, allocations: 0 / 0.5606 GB, free: 10.29 MB / 490.7 MB Notification: Performance of matching and sorting (n=16): time 0.00315/0.01961, allocations: 0.5318 MB / 0.5611 GB, free: 9.758 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.951e-05/0.01967, allocations: 63.39 kB / 0.5612 GB, free: 9.684 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005235/0.02019, allocations: 413.8 kB / 0.5616 GB, free: 9.273 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.192e-05/0.02027, allocations: 45.69 kB / 0.5616 GB, free: 9.223 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001112/0.02038, allocations: 101.4 kB / 0.5617 GB, free: 9.121 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.03e-05/0.02043, allocations: 35.7 kB / 0.5617 GB, free: 9.086 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002451/0.02067, allocations: 137.4 kB / 0.5619 GB, free: 8.945 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001947/0.02087, allocations: 318.8 kB / 0.5622 GB, free: 8.625 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003811/0.02125, allocations: 195.3 kB / 0.5623 GB, free: 8.422 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004171/0.02166, allocations: 249.3 kB / 0.5626 GB, free: 8.145 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004542/0.02212, allocations: 267.8 kB / 0.5628 GB, free: 7.852 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/0.02212, allocations: 4 kB / 0.5628 GB, free: 7.848 MB / 490.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001106/0.02323, allocations: 0.5859 MB / 0.5634 GB, free: 7.23 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.406e-05/0.02333, allocations: 79.38 kB / 0.5635 GB, free: 7.141 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.02334, allocations: 4 kB / 0.5635 GB, free: 7.137 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.02335, allocations: 0 / 0.5635 GB, free: 7.137 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001683/0.02352, allocations: 20.17 kB / 0.5635 GB, free: 7.117 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.119e-05/0.02353, allocations: 15.88 kB / 0.5635 GB, free: 7.102 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005857/0.02412, allocations: 67.78 kB / 0.5636 GB, free: 7.035 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001068/0.02422, allocations: 63.97 kB / 0.5637 GB, free: 6.973 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.0002582/0.02448, allocations: 191.7 kB / 0.5638 GB, free: 6.777 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.884e-05/0.02458, allocations: 43.72 kB / 0.5639 GB, free: 6.734 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.418e-05/0.02467, allocations: 47.67 kB / 0.5639 GB, free: 6.684 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.02467, allocations: 7.984 kB / 0.5639 GB, free: 6.676 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.83e-06/0.02468, allocations: 0 / 0.5639 GB, free: 6.676 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.02468, allocations: 3.938 kB / 0.5639 GB, free: 6.672 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002576/0.02726, allocations: 0.7051 MB / 0.5646 GB, free: 5.926 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.02726, allocations: 4 kB / 0.5646 GB, free: 5.922 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.24e-05/0.0273, allocations: 11.92 kB / 0.5646 GB, free: 5.91 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.02731, allocations: 0 / 0.5646 GB, free: 5.91 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.296e-05/0.02735, allocations: 19.92 kB / 0.5647 GB, free: 5.891 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.952e-06/0.02735, allocations: 3.984 kB / 0.5647 GB, free: 5.887 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.02736, allocations: 0 / 0.5647 GB, free: 5.887 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002092/0.02945, allocations: 0.5073 MB / 0.5652 GB, free: 5.363 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002933/0.02974, allocations: 133.6 kB / 0.5653 GB, free: 5.23 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.273e-05/0.02982, allocations: 15.92 kB / 0.5653 GB, free: 5.215 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000524/0.03035, allocations: 35.97 kB / 0.5653 GB, free: 5.18 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.585e-05/0.03039, allocations: 11.98 kB / 0.5653 GB, free: 5.168 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.208e-05/0.03048, allocations: 55.97 kB / 0.5654 GB, free: 5.113 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0003657/0.03084, allocations: 299 kB / 0.5657 GB, free: 4.828 MB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03084, allocations: 0 / 0.5657 GB, free: 4.828 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003895/0.03123, allocations: 71.94 kB / 0.5658 GB, free: 4.758 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.0001697/0.0314, allocations: 119.2 kB / 0.5659 GB, free: 4.633 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001524/0.03292, allocations: 0.4895 MB / 0.5663 GB, free: 4.109 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.03293, allocations: 384 / 0.5663 GB, free: 4.109 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008695/0.0338, allocations: 123.9 kB / 0.5665 GB, free: 3.988 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004036/0.0342, allocations: 56.02 kB / 0.5665 GB, free: 3.934 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001744/0.03594, allocations: 0.5791 MB / 0.5671 GB, free: 3.324 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002283/0.03617, allocations: 171 kB / 0.5672 GB, free: 3.133 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 6.543e-05/0.03624, allocations: 13.14 kB / 0.5673 GB, free: 3.121 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.227e-05/0.03629, allocations: 16.5 kB / 0.5673 GB, free: 3.105 MB / 490.7 MB Notification: Performance of SimCode: time 6.11e-07/0.03629, allocations: 0 / 0.5673 GB, free: 3.105 MB / 490.7 MB Notification: Performance of Templates: time 0.01203/0.04832, allocations: 5.892 MB / 0.573 GB, free: 13.17 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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.70118900295347]