Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Utilities.Time.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002392/0.002396, allocations: 357.2 kB / 15.94 MB, free: 6.207 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.223/1.223, allocations: 165.8 MB / 182.5 MB, free: 5.91 MB / 90.72 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.079/4.079, allocations: 410.8 MB / 0.5995 GB, free: 2.188 MB / 410.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002812/0.002812, allocations: 187.7 kB / 0.6662 GB, free: 14.04 MB / 490.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004653/0.0004655, allocations: 8 kB / 0.7423 GB, free: 52 kB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4814/0.4819, allocations: 67.44 MB / 0.8081 GB, free: 245.3 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Validation.CalendarTimeMonths): time 0.001557/0.4835, allocations: 1.173 MB / 0.8093 GB, free: 244.7 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0008944/0.4845, allocations: 388.9 kB / 0.8096 GB, free: 244.6 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.395e-05/0.4845, allocations: 0 / 0.8096 GB, free: 244.6 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.114e-05/0.4846, allocations: 5.938 kB / 0.8097 GB, free: 244.5 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001274/0.4847, allocations: 22.12 kB / 0.8097 GB, free: 244.5 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007235/0.4855, allocations: 206.2 kB / 0.8099 GB, free: 244.5 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0002856/0.4858, allocations: 238.4 kB / 0.8101 GB, free: 244.4 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 5.121e-05/0.4858, allocations: 11.58 kB / 0.8101 GB, free: 244.4 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002996/0.4861, allocations: 166.5 kB / 0.8103 GB, free: 244.4 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002551/0.4864, allocations: 136.8 kB / 0.8104 GB, free: 244.3 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 6.812e-05/0.4865, allocations: 8.781 kB / 0.8104 GB, free: 244.3 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 6.468e-05/0.4866, allocations: 10.69 kB / 0.8104 GB, free: 244.3 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0001115/0.4867, allocations: 74.81 kB / 0.8105 GB, free: 244.3 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 8.563e-05/0.4868, allocations: 71.3 kB / 0.8106 GB, free: 244.3 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002777/0.4871, allocations: 205.6 kB / 0.8108 GB, free: 244.2 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.875e-06/0.4871, allocations: 0 / 0.8108 GB, free: 244.2 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.385e-06/0.4871, allocations: 1.906 kB / 0.8108 GB, free: 244.2 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.628e-06/0.4871, allocations: 0 / 0.8108 GB, free: 244.2 MB / 0.5886 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.001454/0.4886, allocations: 0.617 MB / 0.8114 GB, free: 243.6 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/0.4886, allocations: 10.91 kB / 0.8114 GB, free: 243.6 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001646/0.4888, allocations: 33.58 kB / 0.8114 GB, free: 243.6 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004646/0.4893, allocations: 255 kB / 0.8116 GB, free: 243.4 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.461e-05/0.4894, allocations: 9.062 kB / 0.8117 GB, free: 243.4 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001384/0.4896, allocations: 24.98 kB / 0.8117 GB, free: 243.4 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006497/0.4902, allocations: 157.3 kB / 0.8118 GB, free: 243.3 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.4903, allocations: 0 / 0.8118 GB, free: 243.3 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.735e-05/0.4903, allocations: 5.312 kB / 0.8118 GB, free: 243.3 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.985e-06/0.4904, allocations: 2.828 kB / 0.8118 GB, free: 243.3 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003148/0.4907, allocations: 43.88 kB / 0.8119 GB, free: 243.3 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006541/0.4914, allocations: 310.7 kB / 0.8122 GB, free: 243.1 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006219/0.492, allocations: 131.8 kB / 0.8123 GB, free: 243 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002786/0.4923, allocations: 56.58 kB / 0.8123 GB, free: 243 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.484e-05/0.4924, allocations: 4.234 kB / 0.8124 GB, free: 243 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008715/0.4933, allocations: 226.4 kB / 0.8126 GB, free: 242.9 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=18): time 3.906e-06/0.4933, allocations: 0 / 0.8126 GB, free: 242.9 MB / 0.5886 GB Notification: Performance of matching and sorting (n=18): time 0.001164/0.4945, allocations: 270.8 kB / 0.8128 GB, free: 242.8 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.513e-05/0.4945, allocations: 58.69 kB / 0.8129 GB, free: 242.8 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000611/0.4952, allocations: 295.3 kB / 0.8132 GB, free: 242.6 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0001043/0.4953, allocations: 36.83 kB / 0.8132 GB, free: 242.6 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/0.4954, allocations: 93.73 kB / 0.8133 GB, free: 242.5 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 9.394e-05/0.4955, allocations: 44.11 kB / 0.8133 GB, free: 242.4 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.222e-05/0.4956, allocations: 10.8 kB / 0.8133 GB, free: 242.4 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.671e-05/0.4957, allocations: 322.3 kB / 0.8136 GB, free: 242.1 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004896/0.4962, allocations: 93.95 kB / 0.8137 GB, free: 242.1 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005418/0.4968, allocations: 146.6 kB / 0.8139 GB, free: 242 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005036/0.4973, allocations: 149.3 kB / 0.814 GB, free: 241.9 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.942e-06/0.4973, allocations: 0 / 0.814 GB, free: 241.9 MB / 0.5886 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001629/0.499, allocations: 418.6 kB / 0.8144 GB, free: 241.7 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001067/0.4991, allocations: 76.77 kB / 0.8145 GB, free: 241.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.314e-05/0.4992, allocations: 2.188 kB / 0.8145 GB, free: 241.6 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.502e-05/0.4992, allocations: 7.641 kB / 0.8145 GB, free: 241.6 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003448/0.4996, allocations: 27.28 kB / 0.8145 GB, free: 241.6 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.414e-05/0.4996, allocations: 2.906 kB / 0.8145 GB, free: 241.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001083/0.5007, allocations: 67.19 kB / 0.8146 GB, free: 241.6 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001713/0.5009, allocations: 59.31 kB / 0.8147 GB, free: 241.6 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 26 ($PRE.calTim.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$PRE.calTim.year,calTim.year,$PRE.calTim.month,calTim.month,$PRE.calTim.day,calTim.day,$PRE.calTim.hour,calTim.hour,$PRE.calTim.weekDay,calTim.weekDay,$PRE.calTim.daysSinceEpoch,calTim.daysSinceEpoch,$PRE.calTim.yearIndex,calTim.yearIndex,$PRE.calTim.epochLastMonth,calTim.epochLastMonth) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003685/0.5013, allocations: 174.6 kB / 0.8148 GB, free: 241.5 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.796e-05/0.5014, allocations: 30.83 kB / 0.8148 GB, free: 241.5 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.938e-05/0.5015, allocations: 32.09 kB / 0.8149 GB, free: 241.5 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.669e-06/0.5016, allocations: 6.109 kB / 0.8149 GB, free: 241.4 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.397e-06/0.5016, allocations: 1.438 kB / 0.8149 GB, free: 241.4 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.188e-06/0.5016, allocations: 0.7969 kB / 0.8149 GB, free: 241.4 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001617/0.5032, allocations: 0.552 MB / 0.8154 GB, free: 241.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.101e-06/0.5033, allocations: 0.8125 kB / 0.8154 GB, free: 241.1 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.988e-05/0.5034, allocations: 9 kB / 0.8154 GB, free: 241.1 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.516e-06/0.5034, allocations: 5.453 kB / 0.8154 GB, free: 241.1 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.431e-05/0.5035, allocations: 14.47 kB / 0.8155 GB, free: 241.1 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.83e-06/0.5035, allocations: 2 kB / 0.8155 GB, free: 241.1 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.712e-06/0.5035, allocations: 1.641 kB / 0.8155 GB, free: 241.1 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000957/0.5045, allocations: 325.2 kB / 0.8158 GB, free: 240.9 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003706/0.5049, allocations: 159.1 kB / 0.8159 GB, free: 240.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001272/0.5051, allocations: 14.05 kB / 0.8159 GB, free: 240.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005095/0.5056, allocations: 11.77 kB / 0.8159 GB, free: 240.8 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.865e-05/0.5057, allocations: 24.53 kB / 0.816 GB, free: 240.7 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001004/0.5058, allocations: 28.48 kB / 0.816 GB, free: 240.7 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0004119/0.5063, allocations: 206.1 kB / 0.8162 GB, free: 240.6 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.155e-06/0.5063, allocations: 0.7188 kB / 0.8162 GB, free: 240.6 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0008274/0.5072, allocations: 52.5 kB / 0.8162 GB, free: 240.6 MB / 0.5886 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002003/0.5074, allocations: 109.1 kB / 0.8163 GB, free: 240.5 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.001217/0.5086, allocations: 345.9 kB / 0.8167 GB, free: 240.3 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.5087, allocations: 2.062 kB / 0.8167 GB, free: 240.3 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0003615/0.509, allocations: 77.33 kB / 0.8168 GB, free: 240.3 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007684/0.5098, allocations: 25.19 kB / 0.8168 GB, free: 240.3 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00136/0.5112, allocations: 442.7 kB / 0.8172 GB, free: 240 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003453/0.5116, allocations: 0.7515 MB / 0.8179 GB, free: 239.3 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0003781/0.512, allocations: 36.48 kB / 0.818 GB, free: 239.3 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002966/0.5123, allocations: 34.73 kB / 0.818 GB, free: 239.3 MB / 0.5886 GB Notification: Performance of SimCode: time 2.655e-06/0.5124, allocations: 1.375 kB / 0.818 GB, free: 239.3 MB / 0.5886 GB Notification: Performance of Templates: time 0.01667/0.529, allocations: 3.893 MB / 0.8218 GB, free: 238.4 MB / 0.5886 GB