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.0007725/0.0007725, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001008/0.00178, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001061/0.001061, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001215/0.002275, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.008/1.008, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08675/1.095, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001315/0.001315, allocations: 237.2 kB / 244.4 MB, free: 14.54 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001211/0.002526, allocations: 475.7 kB / 244.8 MB, free: 14.07 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7233/0.7233, allocations: 138.7 MB / 384.3 MB, free: 368 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08055/0.8038, allocations: 42.4 MB / 426.7 MB, free: 5.828 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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.472e-06/1.472e-06, allocations: 0 / 428 MB, free: 4.52 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.132e-05/2.279e-05, allocations: 2.312 kB / 428 MB, free: 4.516 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002841/0.002864, allocations: 1.623 MB / 429.7 MB, free: 2.875 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001173/0.004038, allocations: 0.5575 MB / 430.2 MB, free: 2.316 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.465e-05/0.004102, allocations: 0 / 430.2 MB, free: 2.316 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 6.19e-05/0.004164, allocations: 15.86 kB / 430.2 MB, free: 2.301 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001097/0.004274, allocations: 27.84 kB / 430.3 MB, free: 2.273 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007598/0.005034, allocations: 327.2 kB / 430.6 MB, free: 1.953 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005707/0.005604, allocations: 495.5 kB / 431.1 MB, free: 1.469 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.081e-05/0.005645, allocations: 7.984 kB / 431.1 MB, free: 1.461 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005052/0.00615, allocations: 371.6 kB / 431.4 MB, free: 1.098 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002779/0.006428, allocations: 131.8 kB / 431.6 MB, free: 0.9688 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.955e-05/0.006508, allocations: 28 kB / 431.6 MB, free: 0.9414 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.905e-05/0.006587, allocations: 24 kB / 431.6 MB, free: 0.918 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001246/0.006711, allocations: 111.7 kB / 431.7 MB, free: 0.8086 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001344/0.006846, allocations: 95.81 kB / 431.8 MB, free: 0.7148 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004109/0.007257, allocations: 335 kB / 432.1 MB, free: 396 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.381e-05/0.00727, allocations: 4 kB / 432.1 MB, free: 392 kB / 410.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.007271, allocations: 0 / 432.1 MB, free: 392 kB / 410.7 MB Notification: Performance of Transformations before backend: time 1.865e-05/0.00729, allocations: 3.984 kB / 432.1 MB, free: 388 kB / 410.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.1958/0.2031, allocations: 0.8147 MB / 433 MB, free: 2.82 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.2031, allocations: 10.62 kB / 433 MB, free: 2.82 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001051/0.2032, allocations: 47.95 kB / 433 MB, free: 2.82 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002331/0.2034, allocations: 231.3 kB / 433.2 MB, free: 2.66 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.662e-05/0.2035, allocations: 18.11 kB / 433.3 MB, free: 2.66 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.345e-05/0.2035, allocations: 29.17 kB / 433.3 MB, free: 2.66 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003362/0.2039, allocations: 181.8 kB / 433.5 MB, free: 2.613 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.2039, allocations: 2.188 kB / 433.5 MB, free: 2.613 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.652e-05/0.2039, allocations: 3.984 kB / 433.5 MB, free: 2.613 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.2039, allocations: 2.375 kB / 433.5 MB, free: 2.613 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.71e-05/0.204, allocations: 40.89 kB / 433.5 MB, free: 2.609 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001611/0.2041, allocations: 114.2 kB / 433.6 MB, free: 2.539 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001462/0.2043, allocations: 93.31 kB / 433.7 MB, free: 2.516 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.507e-05/0.2043, allocations: 44.11 kB / 433.8 MB, free: 2.508 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.764e-05/0.2044, allocations: 6.641 kB / 433.8 MB, free: 2.508 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001794/0.2045, allocations: 153 kB / 433.9 MB, free: 2.461 MB / 410.7 MB Notification: Performance of pre-optimization done (n=16): time 1.132e-06/0.2045, allocations: 0.875 kB / 433.9 MB, free: 2.461 MB / 410.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003267/0.2049, allocations: 203 kB / 434.1 MB, free: 2.43 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.148e-05/0.2049, allocations: 60.72 kB / 434.2 MB, free: 2.367 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001975/0.2051, allocations: 330.4 kB / 434.5 MB, free: 2.254 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.607e-05/0.2051, allocations: 39.3 kB / 434.5 MB, free: 2.223 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.053e-05/0.2052, allocations: 98.28 kB / 434.6 MB, free: 2.141 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.586e-05/0.2052, allocations: 37.69 kB / 434.7 MB, free: 2.125 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001161/0.2053, allocations: 112.8 kB / 434.8 MB, free: 2.09 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.231e-05/0.2054, allocations: 327.9 kB / 435.1 MB, free: 1.773 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00016/0.2055, allocations: 156.8 kB / 435.3 MB, free: 1.711 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001552/0.2057, allocations: 202.8 kB / 435.5 MB, free: 1.594 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002218/0.2059, allocations: 245.2 kB / 435.7 MB, free: 1.477 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.2059, allocations: 0.6562 kB / 435.7 MB, free: 1.477 MB / 410.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000378/0.2063, allocations: 430.9 kB / 436.1 MB, free: 1.32 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.926e-05/0.2063, allocations: 82.31 kB / 436.2 MB, free: 1.258 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.2063, allocations: 2.562 kB / 436.2 MB, free: 1.258 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.2064, allocations: 2.5 kB / 436.2 MB, free: 1.258 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001446/0.2065, allocations: 45.33 kB / 436.2 MB, free: 1.258 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.2065, allocations: 1.312 kB / 436.2 MB, free: 1.258 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001573/0.2067, allocations: 47.39 kB / 436.3 MB, free: 1.254 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.754e-05/0.2067, allocations: 54.58 kB / 436.3 MB, free: 1.25 MB / 410.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.0001027/0.2068, allocations: 138.5 kB / 436.5 MB, free: 1.133 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.168e-05/0.2069, allocations: 29.25 kB / 436.5 MB, free: 1.133 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.85e-05/0.2069, allocations: 33.89 kB / 436.5 MB, free: 1.121 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.2069, allocations: 4.156 kB / 436.5 MB, free: 1.121 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.2069, allocations: 2.594 kB / 436.5 MB, free: 1.121 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.2069, allocations: 1.844 kB / 436.5 MB, free: 1.121 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004281/0.2073, allocations: 380 kB / 436.9 MB, free: 0.9297 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.2073, allocations: 0 / 436.9 MB, free: 0.9297 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.637e-05/0.2074, allocations: 9.641 kB / 436.9 MB, free: 0.9297 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001326/0.2075, allocations: 123.6 kB / 437 MB, free: 0.9023 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.2075, allocations: 1.438 kB / 437.1 MB, free: 0.9023 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.119e-05/0.2075, allocations: 14.05 kB / 437.1 MB, free: 0.9023 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.2075, allocations: 4.625 kB / 437.1 MB, free: 0.8984 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.2075, allocations: 1.719 kB / 437.1 MB, free: 0.8984 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002067/0.2077, allocations: 239.1 kB / 437.3 MB, free: 0.7695 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.069e-05/0.2078, allocations: 13.2 kB / 437.3 MB, free: 0.7695 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00017/0.208, allocations: 29.17 kB / 437.3 MB, free: 0.7695 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.344e-05/0.208, allocations: 15.36 kB / 437.4 MB, free: 0.7656 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.225e-05/0.208, allocations: 46.34 kB / 437.4 MB, free: 0.7656 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000111/0.2081, allocations: 139.8 kB / 437.5 MB, free: 0.7461 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2081, allocations: 0 / 437.5 MB, free: 0.7461 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002183/0.2083, allocations: 68.89 kB / 437.6 MB, free: 0.7461 MB / 410.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.0001163/0.2085, allocations: 96.48 kB / 437.7 MB, free: 0.6758 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004843/0.2089, allocations: 406.9 kB / 438.1 MB, free: 16.48 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.162e-05/0.209, allocations: 4.188 kB / 438.1 MB, free: 16.48 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001107/0.2091, allocations: 68.45 kB / 438.2 MB, free: 16.47 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002827/0.2094, allocations: 118.2 kB / 438.3 MB, free: 16.41 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008691/0.2102, allocations: 472.1 kB / 438.7 MB, free: 16.14 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.725e-05/0.2103, allocations: 86.47 kB / 438.8 MB, free: 16.07 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 4.047e-05/0.2103, allocations: 14.75 kB / 438.8 MB, free: 16.07 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001832/0.2105, allocations: 119.9 kB / 439 MB, free: 16.02 MB / 426.7 MB Notification: Performance of SimCode: time 7.42e-07/0.2105, allocations: 1.062 kB / 439 MB, free: 16.02 MB / 426.7 MB Notification: Performance of Templates: time 0.006882/0.2174, allocations: 5.358 MB / 444.3 MB, free: 14.41 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.451471010223031]