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.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths") translateModel(IBPSA.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 103.9 kB / 16.27 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001051/0.001052, allocations: 186.7 kB / 17.19 MB, free: 5.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.547/1.547, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8288/0.8288, allocations: 122.9 MB / 413.9 MB, free: 15.85 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 67.91 kB / 0.4911 GB, free: 7.445 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3964/0.3978, allocations: 77.91 MB / 0.5672 GB, free: 32.51 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Validation.CalendarTimeMonths): time 0.002899/0.4007, allocations: 1.509 MB / 0.5687 GB, free: 31.46 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001423/0.4022, allocations: 0.5413 MB / 0.5692 GB, free: 31.11 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.545e-05/0.4022, allocations: 2.375 kB / 0.5692 GB, free: 31.11 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 9.111e-05/0.4023, allocations: 5.531 kB / 0.5692 GB, free: 31.11 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001053/0.4024, allocations: 35.58 kB / 0.5692 GB, free: 31.09 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007499/0.4032, allocations: 308.5 kB / 0.5695 GB, free: 30.94 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005004/0.4037, allocations: 0.4982 MB / 0.57 GB, free: 30.75 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.315e-05/0.4038, allocations: 11.55 kB / 0.57 GB, free: 30.75 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003544/0.4041, allocations: 274 kB / 0.5703 GB, free: 30.66 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002633/0.4044, allocations: 135.2 kB / 0.5704 GB, free: 30.62 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001019/0.4045, allocations: 26.72 kB / 0.5704 GB, free: 30.62 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.8e-05/0.4046, allocations: 26.97 kB / 0.5705 GB, free: 30.62 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001425/0.4048, allocations: 116 kB / 0.5706 GB, free: 30.58 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001829/0.405, allocations: 187.3 kB / 0.5708 GB, free: 30.48 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004596/0.4054, allocations: 424.7 kB / 0.5712 GB, free: 30.32 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.4054, allocations: 5.312 kB / 0.5712 GB, free: 30.32 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.4055, allocations: 0 / 0.5712 GB, free: 30.32 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.043e-06/0.4055, allocations: 0.5938 kB / 0.5712 GB, free: 30.32 MB / 446.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.001071/0.4065, allocations: 0.8728 MB / 0.572 GB, free: 29.57 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.4066, allocations: 9.812 kB / 0.572 GB, free: 29.57 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000127/0.4067, allocations: 52.05 kB / 0.5721 GB, free: 29.55 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000321/0.407, allocations: 302 kB / 0.5724 GB, free: 29.29 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.895e-05/0.4071, allocations: 22.11 kB / 0.5724 GB, free: 29.29 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.276e-05/0.4072, allocations: 29.64 kB / 0.5724 GB, free: 29.28 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001057/0.4083, allocations: 211.2 kB / 0.5726 GB, free: 29.23 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.4083, allocations: 2.469 kB / 0.5726 GB, free: 29.23 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.06e-05/0.4083, allocations: 4.453 kB / 0.5726 GB, free: 29.22 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.4083, allocations: 1.984 kB / 0.5726 GB, free: 29.22 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008227/0.4092, allocations: 101.9 kB / 0.5727 GB, free: 29.21 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004292/0.4096, allocations: 392.4 kB / 0.5731 GB, free: 28.94 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001118/0.4107, allocations: 185.5 kB / 0.5733 GB, free: 28.88 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008181/0.4115, allocations: 110.8 kB / 0.5734 GB, free: 28.86 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.617e-05/0.4116, allocations: 2.156 kB / 0.5734 GB, free: 28.86 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001046/0.4126, allocations: 220.8 kB / 0.5736 GB, free: 28.78 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 2.014e-06/0.4127, allocations: 0 / 0.5736 GB, free: 28.78 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.0028/0.4155, allocations: 488.4 kB / 0.5741 GB, free: 28.67 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.883e-05/0.4155, allocations: 66.56 kB / 0.5741 GB, free: 28.6 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005088/0.416, allocations: 410.9 kB / 0.5745 GB, free: 28.4 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.191e-05/0.4161, allocations: 44.31 kB / 0.5745 GB, free: 28.36 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.746e-05/0.4162, allocations: 91.77 kB / 0.5746 GB, free: 28.28 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.297e-05/0.4162, allocations: 41.81 kB / 0.5747 GB, free: 28.25 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00022/0.4165, allocations: 134.6 kB / 0.5748 GB, free: 28.19 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.369e-05/0.4165, allocations: 322.4 kB / 0.5751 GB, free: 27.88 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002755/0.4168, allocations: 116.8 kB / 0.5752 GB, free: 27.84 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002953/0.4171, allocations: 171.2 kB / 0.5754 GB, free: 27.75 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003625/0.4175, allocations: 279.8 kB / 0.5757 GB, free: 27.55 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.4175, allocations: 0 / 0.5757 GB, free: 27.55 MB / 446.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008384/0.4184, allocations: 491.2 kB / 0.5761 GB, free: 27.35 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.12e-05/0.4184, allocations: 92.42 kB / 0.5762 GB, free: 27.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/0.4184, allocations: 2.812 kB / 0.5762 GB, free: 27.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.4185, allocations: 7.562 kB / 0.5762 GB, free: 27.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001758/0.4187, allocations: 23.73 kB / 0.5762 GB, free: 27.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.4187, allocations: 9.391 kB / 0.5763 GB, free: 27.26 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005587/0.4192, allocations: 60.08 kB / 0.5763 GB, free: 27.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.988e-05/0.4193, allocations: 61.66 kB / 0.5764 GB, free: 27.25 MB / 446.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.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.0002443/0.4196, allocations: 193.1 kB / 0.5766 GB, free: 27.11 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.995e-05/0.4197, allocations: 40.58 kB / 0.5766 GB, free: 27.09 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.542e-05/0.4197, allocations: 43.02 kB / 0.5766 GB, free: 27.07 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.4198, allocations: 1.375 kB / 0.5766 GB, free: 27.07 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.767e-06/0.4198, allocations: 6.172 kB / 0.5766 GB, free: 27.06 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.92e-06/0.4198, allocations: 1.438 kB / 0.5766 GB, free: 27.06 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002413/0.4222, allocations: 0.7416 MB / 0.5774 GB, free: 26.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.4222, allocations: 2.25 kB / 0.5774 GB, free: 26.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.892e-05/0.4223, allocations: 4.234 kB / 0.5774 GB, free: 26.66 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.781e-06/0.4223, allocations: 4.188 kB / 0.5774 GB, free: 26.66 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.713e-05/0.4223, allocations: 22.19 kB / 0.5774 GB, free: 26.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.4223, allocations: 0.8438 kB / 0.5774 GB, free: 26.66 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.4223, allocations: 1.406 kB / 0.5774 GB, free: 26.66 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001946/0.4243, allocations: 478.6 kB / 0.5779 GB, free: 26.46 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000281/0.4246, allocations: 195.7 kB / 0.578 GB, free: 26.32 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.804e-05/0.4247, allocations: 17.52 kB / 0.5781 GB, free: 26.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005035/0.4252, allocations: 28.16 kB / 0.5781 GB, free: 26.32 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.163e-05/0.4252, allocations: 14.12 kB / 0.5781 GB, free: 26.31 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.283e-05/0.4253, allocations: 60.61 kB / 0.5782 GB, free: 26.31 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003639/0.4257, allocations: 294 kB / 0.5784 GB, free: 26.18 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4257, allocations: 0 / 0.5784 GB, free: 26.18 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004622/0.4262, allocations: 65.09 kB / 0.5785 GB, free: 26.17 MB / 446.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.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.0001343/0.4263, allocations: 124.7 kB / 0.5786 GB, free: 26.07 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001365/0.4277, allocations: 451 kB / 0.579 GB, free: 25.85 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.4277, allocations: 1.25 kB / 0.579 GB, free: 25.85 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000849/0.4286, allocations: 124 kB / 0.5792 GB, free: 25.83 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000412/0.429, allocations: 32.58 kB / 0.5792 GB, free: 25.81 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001475/0.4305, allocations: 0.5534 MB / 0.5797 GB, free: 25.48 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001954/0.4307, allocations: 0.7719 MB / 0.5805 GB, free: 24.74 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.101e-05/0.4307, allocations: 14.2 kB / 0.5805 GB, free: 24.74 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.842e-05/0.4308, allocations: 18.08 kB / 0.5805 GB, free: 24.73 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4308, allocations: 1.125 kB / 0.5805 GB, free: 24.73 MB / 446.1 MB Notification: Performance of Templates: time 0.008304/0.4391, allocations: 4.955 MB / 0.5854 GB, free: 22.04 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.makefile (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)