Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Time.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.0007476/0.0007476, allocations: 84.44 kB / 20.69 MB, free: 3.875 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.0007331/0.0007331, allocations: 165.9 kB / 23.96 MB, free: 0.6016 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 0.8349/0.8349, allocations: 177.1 MB / 204.3 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5482/0.5482, allocations: 114 MB / 374.7 MB, free: 8.711 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths") translateModel(IBPSA.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 0.5554 GB, free: 2.309 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.432e-05/2.6e-05, allocations: 2.281 kB / 0.5554 GB, free: 2.305 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Validation.CalendarTimeMonths): time 0.001928/0.001954, allocations: 1.516 MB / 0.5569 GB, free: 0.7812 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0009644/0.002918, allocations: 0.5333 MB / 0.5574 GB, free: 252 kB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.522e-05/0.002983, allocations: 0 / 0.5574 GB, free: 252 kB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 9.262e-05/0.003076, allocations: 11.86 kB / 0.5574 GB, free: 240 kB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0001061/0.003182, allocations: 27.86 kB / 0.5574 GB, free: 212 kB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007036/0.003886, allocations: 326 kB / 0.5577 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.000399/0.004285, allocations: 487.4 kB / 0.5582 GB, free: 15.42 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 4.099e-05/0.004326, allocations: 7.984 kB / 0.5582 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003275/0.004653, allocations: 351.6 kB / 0.5585 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001988/0.004852, allocations: 128.3 kB / 0.5587 GB, free: 14.94 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 4.897e-05/0.004901, allocations: 32 kB / 0.5587 GB, free: 14.91 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 4.775e-05/0.004949, allocations: 24 kB / 0.5587 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 9.306e-05/0.005042, allocations: 115.7 kB / 0.5588 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001019/0.005144, allocations: 135.7 kB / 0.5589 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0003437/0.005487, allocations: 466.8 kB / 0.5594 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.00549, allocations: 0 / 0.5594 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.282e-06/0.005491, allocations: 0 / 0.5594 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.005497, allocations: 0 / 0.5594 GB, free: 14.18 MB / 0.5261 GB 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.0008227/0.006319, allocations: 0.7872 MB / 0.5602 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.006355, allocations: 16.62 kB / 0.5602 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.449e-05/0.00645, allocations: 60.58 kB / 0.5602 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002533/0.006703, allocations: 252 kB / 0.5605 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.913e-05/0.006742, allocations: 20.36 kB / 0.5605 GB, free: 12.96 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.585e-05/0.006788, allocations: 28.36 kB / 0.5605 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005221/0.00731, allocations: 232.6 kB / 0.5607 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.007317, allocations: 192 / 0.5607 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.872e-05/0.007336, allocations: 8.297 kB / 0.5608 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.007341, allocations: 8.375 kB / 0.5608 GB, free: 12.69 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000358/0.007699, allocations: 115.8 kB / 0.5609 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002633/0.007962, allocations: 281.1 kB / 0.5611 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005145/0.008477, allocations: 182.5 kB / 0.5613 GB, free: 12.08 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003547/0.008831, allocations: 116.8 kB / 0.5614 GB, free: 11.96 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.046e-05/0.008852, allocations: 0 / 0.5614 GB, free: 11.96 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000482/0.009334, allocations: 249.9 kB / 0.5617 GB, free: 11.71 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=16): time 1.103e-06/0.009335, allocations: 0 / 0.5617 GB, free: 11.71 MB / 0.5261 GB Notification: Performance of matching and sorting (n=16): time 0.001287/0.01062, allocations: 0.5206 MB / 0.5622 GB, free: 11.18 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.672e-05/0.01066, allocations: 59.39 kB / 0.5622 GB, free: 11.11 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002779/0.01094, allocations: 417.8 kB / 0.5626 GB, free: 10.7 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.585e-05/0.01097, allocations: 41.69 kB / 0.5627 GB, free: 10.65 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.231e-05/0.01102, allocations: 97.41 kB / 0.5628 GB, free: 10.55 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.391e-05/0.01106, allocations: 39.73 kB / 0.5628 GB, free: 10.51 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001192/0.01118, allocations: 133.3 kB / 0.5629 GB, free: 10.38 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.885e-05/0.01126, allocations: 326.8 kB / 0.5632 GB, free: 10.05 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002021/0.01146, allocations: 191.3 kB / 0.5634 GB, free: 9.848 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002098/0.01167, allocations: 241.3 kB / 0.5636 GB, free: 9.578 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002373/0.01191, allocations: 282.5 kB / 0.5639 GB, free: 9.27 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.01191, allocations: 0 / 0.5639 GB, free: 9.27 MB / 0.5261 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005293/0.01244, allocations: 0.5569 MB / 0.5645 GB, free: 8.684 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 5.074e-05/0.01249, allocations: 83.56 kB / 0.5645 GB, free: 8.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.01249, allocations: 7.938 kB / 0.5645 GB, free: 8.582 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.01251, allocations: 0 / 0.5645 GB, free: 8.582 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.01261, allocations: 19.98 kB / 0.5646 GB, free: 8.562 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.01262, allocations: 11.92 kB / 0.5646 GB, free: 8.551 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002377/0.01285, allocations: 67.78 kB / 0.5646 GB, free: 8.484 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.539e-05/0.01291, allocations: 59.98 kB / 0.5647 GB, free: 8.426 MB / 0.5261 GB 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.0001439/0.01305, allocations: 191.8 kB / 0.5649 GB, free: 8.23 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.377e-05/0.01309, allocations: 35.77 kB / 0.5649 GB, free: 8.195 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.521e-05/0.01313, allocations: 47.67 kB / 0.565 GB, free: 8.148 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.01313, allocations: 0 / 0.565 GB, free: 8.148 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.01314, allocations: 0 / 0.565 GB, free: 8.148 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.137e-06/0.01314, allocations: 3.938 kB / 0.565 GB, free: 8.145 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001154/0.0143, allocations: 0.709 MB / 0.5657 GB, free: 7.395 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.0143, allocations: 4 kB / 0.5657 GB, free: 7.391 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.222e-05/0.01432, allocations: 11.98 kB / 0.5657 GB, free: 7.379 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.01432, allocations: 0 / 0.5657 GB, free: 7.379 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.279e-05/0.01435, allocations: 23.91 kB / 0.5657 GB, free: 7.355 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.01435, allocations: 3.938 kB / 0.5657 GB, free: 7.352 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.01435, allocations: 0 / 0.5657 GB, free: 7.352 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008391/0.01519, allocations: 0.5058 MB / 0.5662 GB, free: 6.832 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001599/0.01535, allocations: 129.5 kB / 0.5663 GB, free: 6.703 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.21e-05/0.01539, allocations: 15.94 kB / 0.5663 GB, free: 6.688 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002198/0.01561, allocations: 39.95 kB / 0.5664 GB, free: 6.648 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.454e-05/0.01564, allocations: 11.98 kB / 0.5664 GB, free: 6.637 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.26e-05/0.01568, allocations: 63.97 kB / 0.5664 GB, free: 6.574 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001794/0.01586, allocations: 295.1 kB / 0.5667 GB, free: 6.293 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8e-08/0.01586, allocations: 0 / 0.5667 GB, free: 6.293 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002253/0.01608, allocations: 60 kB / 0.5668 GB, free: 6.234 MB / 0.5261 GB 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.0001004/0.01618, allocations: 121.8 kB / 0.5669 GB, free: 6.105 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0006879/0.01687, allocations: 489.9 kB / 0.5674 GB, free: 5.59 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.01687, allocations: 3.938 kB / 0.5674 GB, free: 5.586 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003539/0.01723, allocations: 127.8 kB / 0.5675 GB, free: 5.461 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002398/0.01747, allocations: 25.64 kB / 0.5675 GB, free: 5.434 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008485/0.01832, allocations: 0.6053 MB / 0.5681 GB, free: 4.797 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001065/0.01842, allocations: 174.8 kB / 0.5683 GB, free: 4.609 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.353e-05/0.01846, allocations: 16.48 kB / 0.5683 GB, free: 4.594 MB / 0.5261 GB Notification: Performance of SimCode: time 4.71e-07/0.01846, allocations: 0 / 0.5683 GB, free: 4.594 MB / 0.5261 GB Notification: Performance of Templates: time 0.004008/0.02246, allocations: 3.671 MB / 0.5719 GB, free: 0.875 MB / 0.5261 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.sim & ./IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.887096834369004] Failed to read output from testmodel.py, exit status != 0: 0.028192859143018723 0.0364736 0.029266180000000003 Calling exit ...