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.001663/0.001663, allocations: 83.03 kB / 19.94 MB, free: 1.777 MB / 14.72 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.001954/0.001954, allocations: 165.1 kB / 23.22 MB, free: 4.902 MB / 14.72 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.388/1.388, allocations: 177.1 MB / 203.5 MB, free: 9.16 MB / 190.1 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.9178/0.9178, allocations: 114 MB / 373.9 MB, free: 13.27 MB / 350.1 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.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 2.053e-06/2.053e-06, allocations: 0 / 0.5547 GB, free: 2.617 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.765e-05/2.971e-05, allocations: 3.656 kB / 0.5547 GB, free: 2.613 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.002856/0.002886, allocations: 1.717 MB / 0.5564 GB, free: 0.8984 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001406/0.004292, allocations: 0.6112 MB / 0.557 GB, free: 296 kB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.697e-05/0.004349, allocations: 0 / 0.557 GB, free: 296 kB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 9.791e-05/0.004447, allocations: 11.86 kB / 0.557 GB, free: 284 kB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001245/0.004571, allocations: 35.78 kB / 0.557 GB, free: 248 kB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008507/0.005422, allocations: 381.9 kB / 0.5574 GB, free: 15.87 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.000658/0.00608, allocations: 0.597 MB / 0.558 GB, free: 15.27 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.006184, allocations: 25.08 kB / 0.558 GB, free: 15.25 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005486/0.006733, allocations: 423.5 kB / 0.5584 GB, free: 14.84 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002824/0.007015, allocations: 131.7 kB / 0.5585 GB, free: 14.71 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001088/0.007124, allocations: 43.94 kB / 0.5586 GB, free: 14.66 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000104/0.007228, allocations: 44 kB / 0.5586 GB, free: 14.62 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001511/0.007379, allocations: 127.7 kB / 0.5587 GB, free: 14.5 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001957/0.007575, allocations: 151.7 kB / 0.5589 GB, free: 14.35 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006694/0.008244, allocations: 0.6351 MB / 0.5595 GB, free: 13.71 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.008246, allocations: 0 / 0.5595 GB, free: 13.71 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.857e-06/0.00825, allocations: 4 kB / 0.5595 GB, free: 13.71 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.031e-05/0.008261, allocations: 0 / 0.5595 GB, free: 13.71 MB / 478.1 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.001288/0.009548, allocations: 0.8378 MB / 0.5603 GB, free: 12.8 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.009583, allocations: 12.61 kB / 0.5603 GB, free: 12.79 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001227/0.009706, allocations: 56.66 kB / 0.5604 GB, free: 12.73 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004275/0.01013, allocations: 279.9 kB / 0.5607 GB, free: 12.43 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.471e-05/0.01018, allocations: 24.34 kB / 0.5607 GB, free: 12.41 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.141e-05/0.01026, allocations: 32.38 kB / 0.5607 GB, free: 12.38 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001062/0.01132, allocations: 253.9 kB / 0.561 GB, free: 12.12 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.01133, allocations: 192 / 0.561 GB, free: 12.12 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.097e-05/0.01136, allocations: 4.359 kB / 0.561 GB, free: 12.12 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.01137, allocations: 4.375 kB / 0.561 GB, free: 12.11 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000839/0.01221, allocations: 131.9 kB / 0.5611 GB, free: 11.98 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001193/0.0134, allocations: 0.5391 MB / 0.5616 GB, free: 11.41 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001126/0.01453, allocations: 190.4 kB / 0.5618 GB, free: 11.22 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000795/0.01532, allocations: 132.7 kB / 0.5619 GB, free: 11.09 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.738e-05/0.01534, allocations: 0 / 0.5619 GB, free: 11.09 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009684/0.01631, allocations: 243.2 kB / 0.5622 GB, free: 10.84 MB / 478.1 MB Notification: Performance of pre-optimization done (n=16): time 1.733e-06/0.01631, allocations: 0 / 0.5622 GB, free: 10.84 MB / 478.1 MB Notification: Performance of matching and sorting (n=16): time 0.002746/0.01906, allocations: 0.5354 MB / 0.5627 GB, free: 10.3 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.346e-05/0.01911, allocations: 71.39 kB / 0.5628 GB, free: 10.21 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004731/0.01958, allocations: 437.9 kB / 0.5632 GB, free: 9.785 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.536e-05/0.01965, allocations: 37.7 kB / 0.5632 GB, free: 9.742 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.821e-05/0.01975, allocations: 109.4 kB / 0.5633 GB, free: 9.633 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.243e-05/0.01979, allocations: 39.73 kB / 0.5633 GB, free: 9.594 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002266/0.02002, allocations: 141.4 kB / 0.5635 GB, free: 9.449 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.02015, allocations: 318.8 kB / 0.5638 GB, free: 9.129 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003621/0.02052, allocations: 223.3 kB / 0.564 GB, free: 8.898 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004054/0.02092, allocations: 278.3 kB / 0.5643 GB, free: 8.594 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004327/0.02135, allocations: 302.9 kB / 0.5646 GB, free: 8.266 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-06/0.02136, allocations: 4 kB / 0.5646 GB, free: 8.262 MB / 478.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001002/0.02236, allocations: 0.6054 MB / 0.5651 GB, free: 7.625 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.235e-05/0.02245, allocations: 87.38 kB / 0.5652 GB, free: 7.527 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.02246, allocations: 0 / 0.5652 GB, free: 7.527 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.02248, allocations: 8.188 kB / 0.5652 GB, free: 7.52 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001712/0.02265, allocations: 27.91 kB / 0.5653 GB, free: 7.492 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.02266, allocations: 0 / 0.5653 GB, free: 7.492 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004999/0.02316, allocations: 59.91 kB / 0.5653 GB, free: 7.434 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.554e-05/0.02325, allocations: 63.98 kB / 0.5654 GB, free: 7.371 MB / 478.1 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.0002645/0.02352, allocations: 224.2 kB / 0.5656 GB, free: 7.145 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.775e-05/0.02358, allocations: 51.69 kB / 0.5656 GB, free: 7.094 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.198e-05/0.02366, allocations: 35.73 kB / 0.5657 GB, free: 7.051 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.02366, allocations: 0 / 0.5657 GB, free: 7.051 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.058e-05/0.02367, allocations: 8 kB / 0.5657 GB, free: 7.043 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.02367, allocations: 0 / 0.5657 GB, free: 7.043 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002342/0.02601, allocations: 0.7479 MB / 0.5664 GB, free: 6.254 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.02602, allocations: 0 / 0.5664 GB, free: 6.254 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.413e-05/0.02605, allocations: 4 kB / 0.5664 GB, free: 6.25 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.02606, allocations: 3.984 kB / 0.5664 GB, free: 6.246 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.106e-05/0.0261, allocations: 23.98 kB / 0.5665 GB, free: 6.223 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.0261, allocations: 0 / 0.5665 GB, free: 6.223 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.0261, allocations: 0 / 0.5665 GB, free: 6.223 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001894/0.02799, allocations: 0.5176 MB / 0.567 GB, free: 5.691 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003071/0.0283, allocations: 181.4 kB / 0.5671 GB, free: 5.512 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.56e-05/0.02839, allocations: 23.98 kB / 0.5672 GB, free: 5.488 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004971/0.02888, allocations: 39.91 kB / 0.5672 GB, free: 5.449 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.11e-05/0.02892, allocations: 7.984 kB / 0.5672 GB, free: 5.441 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.888e-05/0.029, allocations: 59.97 kB / 0.5673 GB, free: 5.383 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003331/0.02934, allocations: 323.1 kB / 0.5676 GB, free: 5.074 MB / 478.1 MB Notification: Performance of sort global known variables: time 7e-08/0.02934, allocations: 0 / 0.5676 GB, free: 5.074 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.000361/0.0297, allocations: 71.94 kB / 0.5676 GB, free: 5.004 MB / 478.1 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 0.0001692/0.02987, allocations: 123.2 kB / 0.5677 GB, free: 4.875 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001428/0.03129, allocations: 0.5177 MB / 0.5683 GB, free: 4.32 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.0313, allocations: 0 / 0.5683 GB, free: 4.32 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000826/0.03212, allocations: 131.8 kB / 0.5684 GB, free: 4.191 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004172/0.03254, allocations: 40.97 kB / 0.5684 GB, free: 4.152 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001597/0.03414, allocations: 0.6087 MB / 0.569 GB, free: 3.52 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001975/0.03433, allocations: 190.8 kB / 0.5692 GB, free: 3.312 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 5.447e-05/0.03439, allocations: 9.5 kB / 0.5692 GB, free: 3.305 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.079e-05/0.03444, allocations: 20.48 kB / 0.5692 GB, free: 3.281 MB / 478.1 MB Notification: Performance of SimCode: time 3.2e-07/0.03444, allocations: 0 / 0.5692 GB, free: 3.281 MB / 478.1 MB Notification: Performance of Templates: time 0.01044/0.04488, allocations: 6.376 MB / 0.5755 GB, free: 12.9 MB / 494.1 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=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.198014035820961] Failed to read output from testmodel.py, exit status != 0: 0.05306519940495491 0.067071923 0.055757761 Calling exit ...