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.001014/0.001014, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.001149/0.001149, allocations: 181 kB / 23.36 MB, free: 1.133 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.095/1.095, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.001753/0.001753, allocations: 253.5 kB / 260.5 MB, free: 12.68 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.742/0.742, allocations: 138.4 MB / 402.2 MB, free: 68 kB / 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 2.896e-06/2.896e-06, allocations: 0 / 462.3 MB, free: 0.7891 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.079e-05/3.368e-05, allocations: 3.516 kB / 462.3 MB, free: 0.7852 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.004167/0.004201, allocations: 1.612 MB / 463.9 MB, free: 15.75 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001784/0.005985, allocations: 0.5395 MB / 464.5 MB, free: 15.4 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.842e-05/0.006074, allocations: 1.469 kB / 464.5 MB, free: 15.4 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001235/0.006197, allocations: 8.469 kB / 464.5 MB, free: 15.4 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001714/0.006369, allocations: 30.62 kB / 464.5 MB, free: 15.39 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001231/0.007599, allocations: 324.3 kB / 464.8 MB, free: 15.23 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009113/0.008511, allocations: 491.7 kB / 465.3 MB, free: 15.04 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.172e-05/0.008572, allocations: 8.766 kB / 465.3 MB, free: 15.04 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007087/0.009281, allocations: 361.6 kB / 465.7 MB, free: 14.9 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004356/0.009717, allocations: 131.8 kB / 465.8 MB, free: 14.86 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001229/0.009839, allocations: 26.5 kB / 465.8 MB, free: 14.86 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.414e-05/0.009914, allocations: 26.66 kB / 465.9 MB, free: 14.86 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00016/0.01007, allocations: 123.3 kB / 466 MB, free: 14.81 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002542/0.01033, allocations: 128.5 kB / 466.1 MB, free: 14.73 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005326/0.01086, allocations: 380.5 kB / 466.5 MB, free: 14.37 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.01087, allocations: 0 / 466.5 MB, free: 14.37 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.226e-06/0.01087, allocations: 5.188 kB / 466.5 MB, free: 14.36 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.578e-06/0.01088, allocations: 0 / 466.5 MB, free: 14.36 MB / 426.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.001043/0.01192, allocations: 0.7316 MB / 467.2 MB, free: 13.57 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.01196, allocations: 8.75 kB / 467.2 MB, free: 13.57 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.669e-05/0.01204, allocations: 53.69 kB / 467.3 MB, free: 13.52 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002502/0.01229, allocations: 243.9 kB / 467.5 MB, free: 13.26 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.203e-05/0.01233, allocations: 17.7 kB / 467.5 MB, free: 13.24 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.499e-05/0.01237, allocations: 28.36 kB / 467.6 MB, free: 13.21 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003273/0.0127, allocations: 191.2 kB / 467.7 MB, free: 13.03 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.0127, allocations: 192 / 467.7 MB, free: 13.03 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.631e-05/0.01272, allocations: 2.5 kB / 467.7 MB, free: 13.03 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.01273, allocations: 4.375 kB / 467.8 MB, free: 13.03 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.741e-05/0.0128, allocations: 45.95 kB / 467.8 MB, free: 12.99 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001746/0.01298, allocations: 110.9 kB / 467.9 MB, free: 12.87 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001606/0.01314, allocations: 103 kB / 468 MB, free: 12.77 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.569e-05/0.01322, allocations: 41.34 kB / 468 MB, free: 12.73 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.915e-05/0.01323, allocations: 4 kB / 468 MB, free: 12.72 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001664/0.0134, allocations: 153 kB / 468.2 MB, free: 12.57 MB / 426.7 MB Notification: Performance of pre-optimization done (n=16): time 8.41e-07/0.0134, allocations: 0 / 468.2 MB, free: 12.57 MB / 426.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003324/0.01373, allocations: 208 kB / 468.4 MB, free: 12.37 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.406e-05/0.01377, allocations: 55.41 kB / 468.5 MB, free: 12.3 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001923/0.01396, allocations: 327.3 kB / 468.8 MB, free: 11.97 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.425e-05/0.01399, allocations: 42.88 kB / 468.8 MB, free: 11.93 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.499e-05/0.01404, allocations: 97.44 kB / 468.9 MB, free: 11.83 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.732e-05/0.01408, allocations: 39.72 kB / 469 MB, free: 11.79 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001183/0.0142, allocations: 118.3 kB / 469.1 MB, free: 11.67 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.785e-05/0.01427, allocations: 322.8 kB / 469.4 MB, free: 11.34 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001471/0.01442, allocations: 152.1 kB / 469.5 MB, free: 11.18 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001538/0.01457, allocations: 219.5 kB / 469.7 MB, free: 10.94 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001883/0.01476, allocations: 247.9 kB / 470 MB, free: 10.67 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.01477, allocations: 0 / 470 MB, free: 10.67 MB / 426.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003598/0.01512, allocations: 438.2 kB / 470.4 MB, free: 10.21 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.672e-05/0.01518, allocations: 79.38 kB / 470.5 MB, free: 10.12 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.01519, allocations: 0 / 470.5 MB, free: 10.12 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.0152, allocations: 7.406 kB / 470.5 MB, free: 10.12 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001255/0.01533, allocations: 43.91 kB / 470.5 MB, free: 10.07 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.557e-06/0.01533, allocations: 0 / 470.5 MB, free: 10.07 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001639/0.0155, allocations: 47.86 kB / 470.6 MB, free: 10.03 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.418e-05/0.01555, allocations: 55.91 kB / 470.6 MB, free: 9.973 MB / 426.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.0001269/0.01568, allocations: 144.3 kB / 470.8 MB, free: 9.824 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.768e-05/0.01571, allocations: 25.88 kB / 470.8 MB, free: 9.801 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.074e-05/0.01576, allocations: 35.69 kB / 470.8 MB, free: 9.766 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.01576, allocations: 1.469 kB / 470.8 MB, free: 9.766 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.904e-06/0.01576, allocations: 0 / 470.8 MB, free: 9.766 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.01576, allocations: 0 / 470.8 MB, free: 9.766 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004318/0.01619, allocations: 386.9 kB / 471.2 MB, free: 9.371 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.0162, allocations: 0.75 kB / 471.2 MB, free: 9.371 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.385e-05/0.01622, allocations: 9.266 kB / 471.2 MB, free: 9.363 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-06/0.01622, allocations: 3.938 kB / 471.2 MB, free: 9.359 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.861e-05/0.01624, allocations: 9.859 kB / 471.2 MB, free: 9.352 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.01624, allocations: 0 / 471.2 MB, free: 9.352 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.01625, allocations: 4.516 kB / 471.3 MB, free: 9.348 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002128/0.01646, allocations: 245.1 kB / 471.5 MB, free: 9.102 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001299/0.01659, allocations: 116.5 kB / 471.6 MB, free: 8.992 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.444e-05/0.01663, allocations: 12 kB / 471.6 MB, free: 8.98 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001717/0.0168, allocations: 33.5 kB / 471.6 MB, free: 8.949 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.028e-05/0.01683, allocations: 19.56 kB / 471.7 MB, free: 8.934 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.086e-05/0.01688, allocations: 52.88 kB / 471.7 MB, free: 8.883 MB / 426.7 MB Notification: Performance of sorting global known variables: time 9.577e-05/0.01697, allocations: 132.7 kB / 471.8 MB, free: 8.754 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01697, allocations: 1.75 kB / 471.9 MB, free: 8.754 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002161/0.01719, allocations: 67.98 kB / 471.9 MB, free: 8.688 MB / 426.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.0001079/0.0173, allocations: 92.41 kB / 472 MB, free: 8.59 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000404/0.0177, allocations: 406.4 kB / 472.4 MB, free: 8.16 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.01771, allocations: 4 kB / 472.4 MB, free: 8.156 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.816e-05/0.01779, allocations: 64.06 kB / 472.5 MB, free: 8.098 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002108/0.018, allocations: 39.77 kB / 472.5 MB, free: 8.062 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006477/0.01865, allocations: 468.1 kB / 473 MB, free: 7.578 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.919e-05/0.0187, allocations: 87.81 kB / 473.1 MB, free: 7.473 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.895e-05/0.01874, allocations: 11.14 kB / 473.1 MB, free: 7.465 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001811/0.01892, allocations: 119.1 kB / 473.2 MB, free: 7.355 MB / 426.7 MB Notification: Performance of SimCode: time 4.51e-07/0.01892, allocations: 0 / 473.2 MB, free: 7.355 MB / 426.7 MB Notification: Performance of Templates: time 0.006725/0.02565, allocations: 5.345 MB / 478.5 MB, free: 2.25 MB / 426.7 MB " [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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7305680280551314]