Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007869/0.007869, allocations: 101.2 kB / 15.73 MB, free: 6.422 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.001723/0.001723, allocations: 188.8 kB / 16.67 MB, free: 6.352 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.415/1.415, allocations: 222.9 MB / 240.4 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7873/0.7873, allocations: 132.2 MB / 422.7 MB, free: 1.734 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 63.91 kB / 0.5813 GB, free: 7.641 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4622/0.4635, allocations: 80.21 MB / 0.6596 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.003017/0.4666, allocations: 1.472 MB / 0.6611 GB, free: 9.293 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001025/0.4677, allocations: 420.8 kB / 0.6615 GB, free: 9.02 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.192e-05/0.4678, allocations: 1.125 kB / 0.6615 GB, free: 9.02 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001123/0.4679, allocations: 9.609 kB / 0.6615 GB, free: 9.012 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001207/0.468, allocations: 22.72 kB / 0.6615 GB, free: 9 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008838/0.4689, allocations: 247.4 kB / 0.6618 GB, free: 8.879 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004877/0.4694, allocations: 316 kB / 0.6621 GB, free: 8.758 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.411e-05/0.4695, allocations: 9.875 kB / 0.6621 GB, free: 8.754 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000403/0.4699, allocations: 193.4 kB / 0.6622 GB, free: 8.695 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000355/0.4703, allocations: 111.3 kB / 0.6624 GB, free: 8.656 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001192/0.4704, allocations: 20.97 kB / 0.6624 GB, free: 8.652 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.138e-05/0.4705, allocations: 19 kB / 0.6624 GB, free: 8.652 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001471/0.4706, allocations: 81.53 kB / 0.6625 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001798/0.4708, allocations: 119.4 kB / 0.6626 GB, free: 8.535 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004172/0.4713, allocations: 278 kB / 0.6629 GB, free: 8.359 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.4713, allocations: 0 / 0.6629 GB, free: 8.359 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.313e-06/0.4713, allocations: 3.938 kB / 0.6629 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.535e-05/0.4713, allocations: 4 kB / 0.6629 GB, free: 8.352 MB / 0.4981 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.001359/0.4727, allocations: 0.6931 MB / 0.6635 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.4727, allocations: 9.375 kB / 0.6635 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001361/0.4729, allocations: 31.25 kB / 0.6636 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003025/0.4732, allocations: 267.1 kB / 0.6638 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.632e-05/0.4732, allocations: 11.14 kB / 0.6638 GB, free: 7.422 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.102e-05/0.4733, allocations: 22.47 kB / 0.6639 GB, free: 7.414 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002892/0.4736, allocations: 151.8 kB / 0.664 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.4736, allocations: 0 / 0.664 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.617e-05/0.4736, allocations: 5.047 kB / 0.664 GB, free: 7.305 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.044e-06/0.4736, allocations: 2.688 kB / 0.664 GB, free: 7.305 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001372/0.4738, allocations: 44.72 kB / 0.6641 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003252/0.4741, allocations: 308.8 kB / 0.6644 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002702/0.4744, allocations: 140.7 kB / 0.6645 GB, free: 6.898 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001192/0.4745, allocations: 58.39 kB / 0.6645 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.564e-05/0.4745, allocations: 2.719 kB / 0.6645 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004155/0.475, allocations: 229.5 kB / 0.6648 GB, free: 6.711 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.723e-06/0.475, allocations: 0 / 0.6648 GB, free: 6.711 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0005693/0.4756, allocations: 265 kB / 0.665 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.507e-05/0.4756, allocations: 59.12 kB / 0.6651 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002466/0.4759, allocations: 294.8 kB / 0.6654 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.163e-05/0.4759, allocations: 37.27 kB / 0.6654 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.807e-05/0.476, allocations: 89.02 kB / 0.6655 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.369e-05/0.476, allocations: 46.62 kB / 0.6655 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001539/0.4762, allocations: 112.2 kB / 0.6656 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.961e-05/0.4762, allocations: 325.6 kB / 0.6659 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002041/0.4764, allocations: 91.7 kB / 0.666 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002142/0.4767, allocations: 149.5 kB / 0.6662 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002934/0.477, allocations: 242.2 kB / 0.6664 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.477, allocations: 1.062 kB / 0.6664 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006549/0.4776, allocations: 420.2 kB / 0.6668 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.254e-05/0.4777, allocations: 70.33 kB / 0.6669 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.4777, allocations: 6.328 kB / 0.6669 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.173e-05/0.4777, allocations: 2.625 kB / 0.6669 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001734/0.4779, allocations: 29.55 kB / 0.6669 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/0.4779, allocations: 7.25 kB / 0.6669 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004835/0.4784, allocations: 63.14 kB / 0.667 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.886e-05/0.4785, allocations: 53.16 kB / 0.667 GB, free: 5.059 MB / 0.4981 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 (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.0001472/0.4787, allocations: 178.5 kB / 0.6672 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.62e-05/0.4787, allocations: 27.09 kB / 0.6672 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.337e-05/0.4788, allocations: 28.03 kB / 0.6672 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.4788, allocations: 2.188 kB / 0.6672 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.4788, allocations: 1.062 kB / 0.6672 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.4788, allocations: 0 / 0.6672 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007119/0.4795, allocations: 0.5647 MB / 0.6678 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.4795, allocations: 0 / 0.6678 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.553e-05/0.4796, allocations: 10.53 kB / 0.6678 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.4796, allocations: 1.125 kB / 0.6678 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.756e-05/0.4796, allocations: 14.08 kB / 0.6678 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.4796, allocations: 3.984 kB / 0.6678 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.4796, allocations: 1.156 kB / 0.6678 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003869/0.48, allocations: 321.7 kB / 0.6681 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001472/0.4802, allocations: 151.6 kB / 0.6683 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.272e-05/0.4802, allocations: 8.375 kB / 0.6683 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002098/0.4804, allocations: 13.23 kB / 0.6683 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.47e-05/0.4805, allocations: 13.23 kB / 0.6683 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.377e-05/0.4806, allocations: 35 kB / 0.6683 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001755/0.4808, allocations: 208.9 kB / 0.6685 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4808, allocations: 1.406 kB / 0.6685 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003277/0.4811, allocations: 50.45 kB / 0.6686 GB, free: 3.859 MB / 0.4981 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 (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.0001166/0.4812, allocations: 121.1 kB / 0.6687 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005046/0.4817, allocations: 353.7 kB / 0.669 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.4818, allocations: 0 / 0.669 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001386/0.4819, allocations: 72.41 kB / 0.6691 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000334/0.4822, allocations: 25.78 kB / 0.6691 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000663/0.4829, allocations: 388.1 kB / 0.6695 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001831/0.4831, allocations: 0.7395 MB / 0.6702 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001133/0.4832, allocations: 39.92 kB / 0.6703 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001051/0.4833, allocations: 35.95 kB / 0.6703 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.4833, allocations: 0 / 0.6703 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of Templates: time 0.008247/0.4916, allocations: 4.08 MB / 0.6743 GB, free: 432 kB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile (rm -f IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)