Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime.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.001355/0.001355, allocations: 75.22 kB / 19.93 MB, free: 1.77 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.001443/0.001443, allocations: 170.3 kB / 23.22 MB, free: 4.887 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.381/1.381, 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.9139/0.9139, allocations: 114 MB / 373.9 MB, free: 13.24 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.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime") translateModel(IBPSA.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.87e-06/4.87e-06, allocations: 7.938 kB / 0.5546 GB, free: 2.66 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.072e-05/2.559e-05, allocations: 3.125 kB / 0.5546 GB, free: 2.656 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Examples.CalendarTime): time 0.002488/0.002514, allocations: 1.509 MB / 0.5561 GB, free: 1.148 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001231/0.003745, allocations: 0.5304 MB / 0.5566 GB, free: 0.6172 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.048e-05/0.003795, allocations: 0 / 0.5566 GB, free: 0.6172 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 9.307e-05/0.003888, allocations: 15.86 kB / 0.5566 GB, free: 0.6016 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001044/0.003993, allocations: 23.81 kB / 0.5567 GB, free: 0.5781 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000762/0.004755, allocations: 325.8 kB / 0.557 GB, free: 268 kB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005867/0.005342, allocations: 479.4 kB / 0.5574 GB, free: 15.79 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.634e-05/0.005388, allocations: 12 kB / 0.5574 GB, free: 15.78 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004781/0.005866, allocations: 351.6 kB / 0.5578 GB, free: 15.44 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002915/0.006157, allocations: 131.5 kB / 0.5579 GB, free: 15.31 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 9.737e-05/0.006255, allocations: 28 kB / 0.5579 GB, free: 15.28 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.524e-05/0.00635, allocations: 28 kB / 0.558 GB, free: 15.25 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001383/0.006488, allocations: 115.7 kB / 0.5581 GB, free: 15.14 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001791/0.006667, allocations: 135.7 kB / 0.5582 GB, free: 15.01 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005235/0.007191, allocations: 458.7 kB / 0.5586 GB, free: 14.56 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.007194, allocations: 0 / 0.5586 GB, free: 14.56 MB / 478.1 MB Notification: Performance of FrontEnd: time 7.81e-07/0.007195, allocations: 4 kB / 0.5586 GB, free: 14.55 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.199e-06/0.0072, allocations: 0 / 0.5586 GB, free: 14.55 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001276/0.008476, allocations: 0.799 MB / 0.5594 GB, free: 13.68 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.352e-05/0.00851, allocations: 8.625 kB / 0.5594 GB, free: 13.68 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001203/0.00863, allocations: 52.7 kB / 0.5595 GB, free: 13.62 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003799/0.00901, allocations: 260 kB / 0.5597 GB, free: 13.34 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.693e-05/0.009057, allocations: 16.36 kB / 0.5597 GB, free: 13.33 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.242e-05/0.00913, allocations: 28.31 kB / 0.5598 GB, free: 13.3 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001053/0.01018, allocations: 230 kB / 0.56 GB, free: 13.07 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.01019, allocations: 8.062 kB / 0.56 GB, free: 13.06 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.107e-05/0.01022, allocations: 4.375 kB / 0.56 GB, free: 13.06 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.089e-05/0.01024, allocations: 384 / 0.56 GB, free: 13.06 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008139/0.01105, allocations: 115.9 kB / 0.5601 GB, free: 12.95 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003814/0.01143, allocations: 285.1 kB / 0.5604 GB, free: 12.64 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001095/0.01253, allocations: 182.5 kB / 0.5606 GB, free: 12.45 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007838/0.01331, allocations: 116.8 kB / 0.5607 GB, free: 12.33 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.628e-05/0.01334, allocations: 8 kB / 0.5607 GB, free: 12.32 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009915/0.01433, allocations: 239.1 kB / 0.5609 GB, free: 12.08 MB / 478.1 MB Notification: Performance of pre-optimization done (n=16): time 2.014e-06/0.01433, allocations: 0 / 0.5609 GB, free: 12.08 MB / 478.1 MB Notification: Performance of matching and sorting (n=16): time 0.0027/0.01703, allocations: 0.5194 MB / 0.5614 GB, free: 11.55 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.11e-05/0.01709, allocations: 63.41 kB / 0.5615 GB, free: 11.48 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004532/0.01754, allocations: 421.8 kB / 0.5619 GB, free: 11.07 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.349e-05/0.01761, allocations: 37.7 kB / 0.5619 GB, free: 11.02 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.704e-05/0.01769, allocations: 89.44 kB / 0.562 GB, free: 10.93 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.108e-05/0.01777, allocations: 47.73 kB / 0.562 GB, free: 10.89 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002085/0.01797, allocations: 129.4 kB / 0.5622 GB, free: 10.75 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.01813, allocations: 322.8 kB / 0.5625 GB, free: 10.43 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003393/0.01847, allocations: 195.3 kB / 0.5627 GB, free: 10.23 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003618/0.01883, allocations: 249.2 kB / 0.5629 GB, free: 9.949 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000392/0.01922, allocations: 273.2 kB / 0.5632 GB, free: 9.648 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.01922, allocations: 4 kB / 0.5632 GB, free: 9.645 MB / 478.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009905/0.02021, allocations: 0.5564 MB / 0.5637 GB, free: 9.059 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.043e-05/0.0203, allocations: 88.92 kB / 0.5638 GB, free: 8.961 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.02031, allocations: 0 / 0.5638 GB, free: 8.961 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.906e-05/0.02033, allocations: 4 kB / 0.5638 GB, free: 8.957 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001668/0.0205, allocations: 23.92 kB / 0.5638 GB, free: 8.934 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.197e-05/0.02051, allocations: 7.938 kB / 0.5638 GB, free: 8.926 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004913/0.021, allocations: 68.03 kB / 0.5639 GB, free: 8.859 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001068/0.02111, allocations: 63.97 kB / 0.5639 GB, free: 8.797 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 (calendarTime2016.firstHourSampling,$PRE.calendarTime2016.firstHourSampling,calendarTime2016.firstDaySampling,$PRE.calendarTime2016.firstDaySampling,calendarTime2016.daySampleTrigger,$whenCondition1,calendarTime2016.hourSampleTrigger,$whenCondition2,calendarTime2016.epochLastMonth,$PRE.calendarTime2016.epochLastMonth,calendarTime2016.yearIndex,$PRE.calendarTime2016.yearIndex,calendarTime2016.daysSinceEpoch,$PRE.calendarTime2016.daysSinceEpoch,calendarTime2016.weekDay,$PRE.calendarTime2016.weekDay,calendarTime2016.hour,$PRE.calendarTime2016.hour,calendarTime2016.day,$PRE.calendarTime2016.day,calendarTime2016.month,$PRE.calendarTime2016.month,calendarTime2016.year,$PRE.calendarTime2016.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.0002543/0.02136, allocations: 197.7 kB / 0.5641 GB, free: 8.598 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.92e-05/0.02142, allocations: 39.77 kB / 0.5642 GB, free: 8.559 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.734e-05/0.0215, allocations: 39.69 kB / 0.5642 GB, free: 8.512 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.0215, allocations: 0 / 0.5642 GB, free: 8.512 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.02151, allocations: 3.984 kB / 0.5642 GB, free: 8.508 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.02151, allocations: 7.938 kB / 0.5642 GB, free: 8.5 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002297/0.02381, allocations: 0.7051 MB / 0.5649 GB, free: 7.754 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.02381, allocations: 0 / 0.5649 GB, free: 7.754 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.457e-05/0.02385, allocations: 7.938 kB / 0.5649 GB, free: 7.746 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.02385, allocations: 0 / 0.5649 GB, free: 7.746 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.49e-05/0.02389, allocations: 31.91 kB / 0.565 GB, free: 7.715 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.0239, allocations: 7.938 kB / 0.565 GB, free: 7.707 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.0239, allocations: 3.938 kB / 0.565 GB, free: 7.703 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001833/0.02573, allocations: 0.5024 MB / 0.5655 GB, free: 7.188 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002558/0.02599, allocations: 137.5 kB / 0.5656 GB, free: 7.051 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.248e-05/0.02606, allocations: 15.94 kB / 0.5656 GB, free: 7.035 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004852/0.02654, allocations: 35.97 kB / 0.5656 GB, free: 7 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.411e-05/0.02659, allocations: 15.92 kB / 0.5656 GB, free: 6.984 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.229e-05/0.02666, allocations: 55.97 kB / 0.5657 GB, free: 6.93 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003049/0.02697, allocations: 295.1 kB / 0.566 GB, free: 6.645 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.02697, allocations: 0 / 0.566 GB, free: 6.645 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.000349/0.02731, allocations: 75.92 kB / 0.5661 GB, free: 6.57 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 (calendarTime2016.hourSampleTrigger,calendarTime2016.daySampleTrigger,$whenCondition2,$whenCondition1,calendarTime2016.year,calendarTime2016.month,calendarTime2016.day,calendarTime2016.hour,calendarTime2016.weekDay,calendarTime2016.daysSinceEpoch,calendarTime2016.yearIndex,calendarTime2016.epochLastMonth,calendarTime2016.firstHourSampling,calendarTime2016.firstDaySampling) * Number of discrete states: 9 (calendarTime2016.firstDaySampling,calendarTime2016.daysSinceEpoch,calendarTime2016.weekDay,calendarTime2016.yearIndex,calendarTime2016.year,calendarTime2016.epochLastMonth,calendarTime2016.month,calendarTime2016.firstHourSampling,calendarTime2016.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.0001642/0.02748, allocations: 120.5 kB / 0.5662 GB, free: 6.449 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001337/0.02882, allocations: 489.9 kB / 0.5666 GB, free: 5.934 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.02882, allocations: 0 / 0.5666 GB, free: 5.934 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008133/0.02963, allocations: 124.3 kB / 0.5668 GB, free: 5.812 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003638/0.03, allocations: 29.62 kB / 0.5668 GB, free: 5.781 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001555/0.03155, allocations: 0.5657 MB / 0.5673 GB, free: 5.191 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001894/0.03174, allocations: 170.8 kB / 0.5675 GB, free: 5.004 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 5.942e-05/0.0318, allocations: 13.14 kB / 0.5675 GB, free: 4.992 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.793e-05/0.03185, allocations: 16.5 kB / 0.5675 GB, free: 4.973 MB / 478.1 MB Notification: Performance of SimCode: time 4.2e-07/0.03185, allocations: 0 / 0.5675 GB, free: 4.973 MB / 478.1 MB Notification: Performance of Templates: time 0.009904/0.04175, allocations: 5.93 MB / 0.5733 GB, free: 15.02 MB / 494.1 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime.sim & ./IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.264605566859245] Failed to read output from testmodel.py, exit status != 0: 0.04976486414670944 0.063121012 0.053091571000000004 Calling exit ...