Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001665/0.001665, allocations: 189.1 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4709/0.4709, allocations: 87.5 MB / 104.9 MB, free: 13.02 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.434/1.434, allocations: 222.9 MB / 349.1 MB, free: 2.762 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009802/0.0009802, allocations: 96.56 kB / 420 MB, free: 8.496 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001116/0.001116, allocations: 63.89 kB / 0.4891 GB, free: 7.699 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3179/0.319, allocations: 70.06 MB / 0.5575 GB, free: 44.61 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002362/0.3214, allocations: 1.53 MB / 0.559 GB, free: 43.41 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007652/0.3222, allocations: 445 kB / 0.5594 GB, free: 43.08 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.713e-05/0.3222, allocations: 1.312 kB / 0.5594 GB, free: 43.08 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 8.684e-05/0.3223, allocations: 7.922 kB / 0.5594 GB, free: 43.07 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 8.562e-05/0.3224, allocations: 20.36 kB / 0.5594 GB, free: 43.06 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005166/0.323, allocations: 224 kB / 0.5596 GB, free: 42.91 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002236/0.3232, allocations: 290 kB / 0.5599 GB, free: 42.71 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.287e-05/0.3232, allocations: 4 kB / 0.5599 GB, free: 42.7 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002139/0.3235, allocations: 218.3 kB / 0.5601 GB, free: 42.49 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001587/0.3236, allocations: 111.6 kB / 0.5602 GB, free: 42.38 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.034e-05/0.3237, allocations: 12 kB / 0.5603 GB, free: 42.37 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.561e-05/0.3238, allocations: 12 kB / 0.5603 GB, free: 42.36 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.727e-05/0.3238, allocations: 79.77 kB / 0.5603 GB, free: 42.28 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001217/0.324, allocations: 119.3 kB / 0.5605 GB, free: 42.16 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002399/0.3242, allocations: 289.1 kB / 0.5607 GB, free: 41.88 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.3242, allocations: 0 / 0.5607 GB, free: 41.88 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.3242, allocations: 0 / 0.5607 GB, free: 41.88 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.3242, allocations: 0 / 0.5607 GB, free: 41.88 MB / 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.0009326/0.3252, allocations: 0.6941 MB / 0.5614 GB, free: 41.12 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.034e-05/0.3252, allocations: 12.03 kB / 0.5614 GB, free: 41.11 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.191e-05/0.3253, allocations: 35.72 kB / 0.5615 GB, free: 41.07 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002624/0.3256, allocations: 266.2 kB / 0.5617 GB, free: 40.77 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.648e-05/0.3256, allocations: 16 kB / 0.5617 GB, free: 40.76 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.956e-05/0.3257, allocations: 15.98 kB / 0.5617 GB, free: 40.74 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002368/0.3259, allocations: 147.9 kB / 0.5619 GB, free: 40.59 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.3259, allocations: 3.938 kB / 0.5619 GB, free: 40.59 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.176e-05/0.326, allocations: 11.94 kB / 0.5619 GB, free: 40.58 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-06/0.326, allocations: 0 / 0.5619 GB, free: 40.58 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001154/0.3261, allocations: 43.95 kB / 0.5619 GB, free: 40.54 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002355/0.3263, allocations: 317.3 kB / 0.5622 GB, free: 40.18 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002395/0.3266, allocations: 122.7 kB / 0.5624 GB, free: 40.05 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001091/0.3267, allocations: 60.77 kB / 0.5624 GB, free: 39.98 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.3267, allocations: 4 kB / 0.5624 GB, free: 39.98 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003776/0.3271, allocations: 215.6 kB / 0.5626 GB, free: 39.76 MB / 410.7 MB Notification: Performance of pre-optimization done (n=18): time 1.563e-06/0.3271, allocations: 0 / 0.5626 GB, free: 39.76 MB / 410.7 MB Notification: Performance of matching and sorting (n=18): time 0.0004836/0.3276, allocations: 279.1 kB / 0.5629 GB, free: 39.48 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.435e-05/0.3276, allocations: 71.38 kB / 0.563 GB, free: 39.4 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001861/0.3278, allocations: 287 kB / 0.5632 GB, free: 39.11 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.418e-05/0.3279, allocations: 33.7 kB / 0.5633 GB, free: 39.07 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.449e-05/0.3279, allocations: 97.12 kB / 0.5634 GB, free: 38.97 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.492e-05/0.328, allocations: 39.45 kB / 0.5634 GB, free: 38.93 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001303/0.3281, allocations: 109.6 kB / 0.5635 GB, free: 38.81 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.705e-05/0.3282, allocations: 326.8 kB / 0.5638 GB, free: 38.48 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002081/0.3284, allocations: 96.11 kB / 0.5639 GB, free: 38.39 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001895/0.3286, allocations: 150.4 kB / 0.564 GB, free: 38.22 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002393/0.3288, allocations: 243.9 kB / 0.5643 GB, free: 37.95 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.3288, allocations: 0 / 0.5643 GB, free: 37.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005483/0.3294, allocations: 420.5 kB / 0.5647 GB, free: 37.52 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.226e-05/0.3294, allocations: 75.39 kB / 0.5648 GB, free: 37.44 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.3294, allocations: 0 / 0.5648 GB, free: 37.44 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.3295, allocations: 7.938 kB / 0.5648 GB, free: 37.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001507/0.3296, allocations: 32.09 kB / 0.5648 GB, free: 37.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.3296, allocations: 4 kB / 0.5648 GB, free: 37.39 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004607/0.3301, allocations: 55.86 kB / 0.5648 GB, free: 37.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.104e-05/0.3302, allocations: 51.98 kB / 0.5649 GB, free: 37.29 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: 26 (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,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * 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.0001233/0.3303, allocations: 179.9 kB / 0.5651 GB, free: 37.11 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.307e-05/0.3303, allocations: 27.62 kB / 0.5651 GB, free: 37.08 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.297e-05/0.3304, allocations: 26.25 kB / 0.5651 GB, free: 37.05 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.3304, allocations: 7.938 kB / 0.5651 GB, free: 37.05 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.3304, allocations: 0 / 0.5651 GB, free: 37.05 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.3304, allocations: 0 / 0.5651 GB, free: 37.05 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006064/0.331, allocations: 0.5606 MB / 0.5657 GB, free: 36.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.331, allocations: 0 / 0.5657 GB, free: 36.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.099e-05/0.3311, allocations: 8 kB / 0.5657 GB, free: 36.42 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.3311, allocations: 4 kB / 0.5657 GB, free: 36.42 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.387e-05/0.3311, allocations: 15.98 kB / 0.5657 GB, free: 36.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.3311, allocations: 7.984 kB / 0.5657 GB, free: 36.39 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3311, allocations: 0 / 0.5657 GB, free: 36.39 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005268/0.3317, allocations: 0.9359 MB / 0.5666 GB, free: 35.4 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001527/0.3318, allocations: 156.6 kB / 0.5668 GB, free: 35.23 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.938e-05/0.3319, allocations: 23.91 kB / 0.5668 GB, free: 35.21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001979/0.3321, allocations: 11.98 kB / 0.5668 GB, free: 35.2 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.202e-05/0.3322, allocations: 15.98 kB / 0.5668 GB, free: 35.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.213e-05/0.3322, allocations: 27.98 kB / 0.5668 GB, free: 35.15 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000142/0.3324, allocations: 213.9 kB / 0.5671 GB, free: 34.95 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.3324, allocations: 0 / 0.5671 GB, free: 34.95 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003982/0.3328, allocations: 48 kB / 0.5671 GB, free: 34.9 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: 16 (calTim.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition4,$whenCondition3,$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.firstHourSampling,calTim.hour,calTim.yearIndex,calTim.epochLastMonth,calTim.month,calTim.year) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 8 * 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.000115/0.3329, allocations: 115.2 kB / 0.5672 GB, free: 34.77 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004456/0.3334, allocations: 343.8 kB / 0.5675 GB, free: 34.41 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3334, allocations: 0 / 0.5675 GB, free: 34.41 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001236/0.3335, allocations: 71.91 kB / 0.5676 GB, free: 34.34 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003158/0.3338, allocations: 30.83 kB / 0.5676 GB, free: 34.32 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006338/0.3345, allocations: 0.6034 MB / 0.5682 GB, free: 33.68 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001432/0.3346, allocations: 0.7543 MB / 0.569 GB, free: 32.9 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001283/0.3348, allocations: 33.42 kB / 0.569 GB, free: 32.86 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001139/0.3349, allocations: 39.42 kB / 0.569 GB, free: 32.82 MB / 410.7 MB Notification: Performance of SimCode: time 4.41e-07/0.3349, allocations: 0 / 0.569 GB, free: 32.82 MB / 410.7 MB Notification: Performance of Templates: time 0.006137/0.341, allocations: 4.121 MB / 0.5731 GB, free: 28.72 MB / 410.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)