Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.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.0006792/0.0006792, allocations: 85.05 kB / 9.985 MB, free: 0.7031 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009385/0.001618, allocations: 452 kB / 10.43 MB, free: 268 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.0006709/0.0006709, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009078/0.001579, allocations: 483.5 kB / 11.8 MB, free: 2.363 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 0.9708/0.9708, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09276/1.064, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5971/0.5971, allocations: 120.1 MB / 364.2 MB, free: 2.547 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06638/0.6635, allocations: 38.15 MB / 402.4 MB, free: 12.28 MB / 394.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths") translateModel(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 403.7 MB, free: 10.93 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.155e-05/1.299e-05, allocations: 2.312 kB / 403.7 MB, free: 10.92 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.001812/0.001825, allocations: 1.805 MB / 405.6 MB, free: 9.098 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008597/0.002685, allocations: 0.64 MB / 406.2 MB, free: 8.457 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.273e-05/0.002738, allocations: 0 / 406.2 MB, free: 8.457 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 5.26e-05/0.00279, allocations: 11.86 kB / 406.2 MB, free: 8.445 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 9.442e-05/0.002885, allocations: 39.72 kB / 406.2 MB, free: 8.406 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005187/0.003404, allocations: 379.1 kB / 406.6 MB, free: 8.035 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004378/0.003841, allocations: 0.6166 MB / 407.2 MB, free: 7.418 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.365e-05/0.003915, allocations: 25.73 kB / 407.3 MB, free: 7.395 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003701/0.004285, allocations: 447.5 kB / 407.7 MB, free: 6.957 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001993/0.004484, allocations: 143.7 kB / 407.8 MB, free: 6.816 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 5.787e-05/0.004542, allocations: 40 kB / 407.9 MB, free: 6.777 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.926e-05/0.004601, allocations: 44 kB / 407.9 MB, free: 6.734 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 8.744e-05/0.004689, allocations: 111.7 kB / 408 MB, free: 6.625 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 9.726e-05/0.004786, allocations: 127.7 kB / 408.1 MB, free: 6.5 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002835/0.00507, allocations: 386.9 kB / 408.5 MB, free: 6.121 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.093e-05/0.005081, allocations: 0 / 408.5 MB, free: 6.121 MB / 394.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.005081, allocations: 0 / 408.5 MB, free: 6.121 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.028e-05/0.005091, allocations: 0 / 408.5 MB, free: 6.121 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.000829/0.00592, allocations: 0.8595 MB / 409.4 MB, free: 5.195 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.94e-05/0.00595, allocations: 8.031 kB / 409.4 MB, free: 5.188 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.033e-05/0.00603, allocations: 48.88 kB / 409.4 MB, free: 5.141 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002268/0.006257, allocations: 255.9 kB / 409.7 MB, free: 4.863 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.266e-05/0.00629, allocations: 20.38 kB / 409.7 MB, free: 4.844 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.062e-05/0.00634, allocations: 32.36 kB / 409.7 MB, free: 4.812 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003139/0.006654, allocations: 186.7 kB / 409.9 MB, free: 4.621 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.006662, allocations: 192 / 409.9 MB, free: 4.621 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.873e-05/0.006681, allocations: 8.359 kB / 409.9 MB, free: 4.613 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.006687, allocations: 384 / 409.9 MB, free: 4.613 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.57e-05/0.006762, allocations: 51.81 kB / 410 MB, free: 4.562 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005116/0.007274, allocations: 316.1 kB / 410.3 MB, free: 4.238 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001456/0.00742, allocations: 90.53 kB / 410.4 MB, free: 4.141 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.83e-05/0.007488, allocations: 56.77 kB / 410.4 MB, free: 4.082 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.576e-05/0.007504, allocations: 4 kB / 410.4 MB, free: 4.078 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001591/0.007663, allocations: 147.1 kB / 410.6 MB, free: 3.922 MB / 394.7 MB Notification: Performance of pre-optimization done (n=16): time 1.012e-06/0.007664, allocations: 4 kB / 410.6 MB, free: 3.918 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003011/0.007965, allocations: 205.4 kB / 410.8 MB, free: 3.711 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.121e-05/0.007996, allocations: 63.34 kB / 410.9 MB, free: 3.637 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001893/0.008185, allocations: 343.4 kB / 411.2 MB, free: 3.293 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.44e-05/0.00822, allocations: 41.7 kB / 411.2 MB, free: 3.246 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.316e-05/0.008273, allocations: 101.3 kB / 411.3 MB, free: 3.145 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.845e-05/0.008301, allocations: 43.66 kB / 411.4 MB, free: 3.102 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000106/0.008407, allocations: 117.4 kB / 411.5 MB, free: 2.98 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.098e-05/0.008478, allocations: 326.8 kB / 411.8 MB, free: 2.652 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001428/0.008621, allocations: 163.3 kB / 412 MB, free: 2.48 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001438/0.008765, allocations: 209.3 kB / 412.2 MB, free: 2.242 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001766/0.008942, allocations: 257.1 kB / 412.4 MB, free: 1.957 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.008945, allocations: 0 / 412.4 MB, free: 1.957 MB / 394.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003539/0.009298, allocations: 460.1 kB / 412.9 MB, free: 1.477 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.868e-05/0.009357, allocations: 87.38 kB / 413 MB, free: 1.379 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.688e-06/0.009362, allocations: 0 / 413 MB, free: 1.379 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.009376, allocations: 4 kB / 413 MB, free: 1.375 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/0.009492, allocations: 43.89 kB / 413 MB, free: 1.332 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.009497, allocations: 4 kB / 413 MB, free: 1.328 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001561/0.009653, allocations: 47.8 kB / 413.1 MB, free: 1.281 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.724e-05/0.0097, allocations: 51.97 kB / 413.1 MB, free: 1.23 MB / 394.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.calTim.firstDaySampling,$PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstHourSampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.hourSampleTrigger,$whenCondition1,calTim.calTim.daySampleTrigger,$whenCondition2,calTim.calTim.epochLastMonth,$PRE.calTim.calTim.epochLastMonth,calTim.calTim.yearIndex,$PRE.calTim.calTim.yearIndex,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,$PRE.calTim.calTim.weekDay,calTim.calTim.hour,$PRE.calTim.calTim.hour,calTim.calTim.day,$PRE.calTim.calTim.day,calTim.calTim.month,$PRE.calTim.calTim.month,calTim.calTim.year,$PRE.calTim.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.0001135/0.009814, allocations: 143.3 kB / 413.2 MB, free: 1.078 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.874e-05/0.009853, allocations: 35.89 kB / 413.3 MB, free: 1.043 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.993e-05/0.009892, allocations: 31.73 kB / 413.3 MB, free: 1.004 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.009894, allocations: 0 / 413.3 MB, free: 1.004 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.009896, allocations: 4 kB / 413.3 MB, free: 1 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.009899, allocations: 0 / 413.3 MB, free: 1 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003735/0.01027, allocations: 398.6 kB / 413.7 MB, free: 0.582 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-06/0.01027, allocations: 0 / 413.7 MB, free: 0.582 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.47e-05/0.0103, allocations: 15.98 kB / 413.7 MB, free: 0.5664 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001309/0.01043, allocations: 127.6 kB / 413.8 MB, free: 452 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.01043, allocations: 0 / 413.8 MB, free: 452 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.887e-05/0.01045, allocations: 11.97 kB / 413.9 MB, free: 440 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.01045, allocations: 3.938 kB / 413.9 MB, free: 436 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.01045, allocations: 0 / 413.9 MB, free: 436 kB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002008/0.01065, allocations: 243.8 kB / 414.1 MB, free: 176 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.508e-05/0.0107, allocations: 19.98 kB / 414.1 MB, free: 156 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001611/0.01086, allocations: 31.97 kB / 414.1 MB, free: 124 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.022e-05/0.01088, allocations: 11.98 kB / 414.2 MB, free: 112 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.385e-05/0.01091, allocations: 39.98 kB / 414.2 MB, free: 72 kB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001022/0.01102, allocations: 144.7 kB / 414.3 MB, free: 15.93 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01102, allocations: 0 / 414.3 MB, free: 15.93 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001918/0.01121, allocations: 75.88 kB / 414.4 MB, free: 15.86 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.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$whenCondition2,$whenCondition1,calTim.calTim.year,calTim.calTim.month,calTim.calTim.day,calTim.calTim.hour,calTim.calTim.weekDay,calTim.calTim.daysSinceEpoch,calTim.calTim.yearIndex,calTim.calTim.epochLastMonth,calTim.calTim.firstHourSampling,calTim.calTim.firstDaySampling) * Number of discrete states: 9 (calTim.calTim.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.yearIndex,calTim.calTim.year,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.calTim.firstHourSampling,calTim.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 9.638e-05/0.0113, allocations: 116.3 kB / 414.5 MB, free: 15.73 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003763/0.01168, allocations: 407.8 kB / 414.9 MB, free: 15.3 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.636e-06/0.01169, allocations: 8 kB / 414.9 MB, free: 15.29 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.457e-05/0.01177, allocations: 73.73 kB / 415 MB, free: 15.21 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002495/0.01202, allocations: 196.7 kB / 415.2 MB, free: 15 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005935/0.01262, allocations: 475.8 kB / 415.7 MB, free: 14.5 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.862e-05/0.01267, allocations: 91.8 kB / 415.7 MB, free: 14.39 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.53e-05/0.0127, allocations: 13.48 kB / 415.8 MB, free: 14.38 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001657/0.01287, allocations: 127.3 kB / 415.9 MB, free: 14.25 MB / 410.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01287, allocations: 3.938 kB / 415.9 MB, free: 14.25 MB / 410.7 MB Notification: Performance of Templates: time 0.00629/0.01916, allocations: 5.887 MB / 421.8 MB, free: 8.219 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.023367878049612]