Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005706/0.005707, allocations: 103.9 kB / 15.73 MB, free: 6.039 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.001297/0.001297, allocations: 193.6 kB / 16.67 MB, free: 5.973 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.397/1.397, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9596/0.9596, allocations: 135.1 MB / 425.7 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001293, allocations: 59.91 kB / 0.5856 GB, free: 3.367 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5129/0.5142, allocations: 80.92 MB / 0.6646 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002309/0.5165, allocations: 1.481 MB / 0.6661 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008974/0.5174, allocations: 417.8 kB / 0.6665 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.253e-05/0.5175, allocations: 1.344 kB / 0.6665 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000106/0.5176, allocations: 11.86 kB / 0.6665 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001138/0.5178, allocations: 23.55 kB / 0.6665 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006043/0.5184, allocations: 244.5 kB / 0.6667 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003252/0.5187, allocations: 311.6 kB / 0.667 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.06e-05/0.5188, allocations: 9.969 kB / 0.667 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002393/0.519, allocations: 198.7 kB / 0.6672 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000194/0.5192, allocations: 109.3 kB / 0.6673 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.294e-05/0.5193, allocations: 17.84 kB / 0.6673 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.738e-05/0.5193, allocations: 19.31 kB / 0.6674 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001022/0.5194, allocations: 81 kB / 0.6674 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001222/0.5195, allocations: 118.9 kB / 0.6676 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002923/0.5198, allocations: 273.9 kB / 0.6678 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.5199, allocations: 4.812 kB / 0.6678 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.423e-06/0.5199, allocations: 4 kB / 0.6678 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.172e-06/0.5199, allocations: 0 / 0.6678 GB, free: 5.258 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.001256/0.5211, allocations: 0.6974 MB / 0.6685 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/0.5212, allocations: 9.344 kB / 0.6685 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.866e-05/0.5213, allocations: 31.5 kB / 0.6685 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000326/0.5216, allocations: 265.9 kB / 0.6688 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.437e-05/0.5217, allocations: 15.77 kB / 0.6688 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.027e-05/0.5217, allocations: 23.56 kB / 0.6688 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002898/0.522, allocations: 146.7 kB / 0.669 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.522, allocations: 0 / 0.669 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.59e-05/0.5221, allocations: 5.109 kB / 0.669 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.5221, allocations: 1.125 kB / 0.669 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001404/0.5222, allocations: 42.8 kB / 0.669 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003158/0.5226, allocations: 311.8 kB / 0.6693 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002842/0.5228, allocations: 144.4 kB / 0.6695 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001262/0.523, allocations: 55.05 kB / 0.6695 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.779e-05/0.523, allocations: 2.281 kB / 0.6695 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004449/0.5235, allocations: 222.1 kB / 0.6697 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.673e-06/0.5235, allocations: 0 / 0.6697 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0006205/0.5241, allocations: 272.3 kB / 0.67 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.81e-05/0.5242, allocations: 60.02 kB / 0.67 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002913/0.5244, allocations: 290.8 kB / 0.6703 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.92e-05/0.5245, allocations: 40.02 kB / 0.6704 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.195e-05/0.5246, allocations: 90.11 kB / 0.6704 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.55e-05/0.5246, allocations: 50.8 kB / 0.6705 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001576/0.5248, allocations: 111.4 kB / 0.6706 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.553e-05/0.5248, allocations: 322.3 kB / 0.6709 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002023/0.525, allocations: 90.36 kB / 0.671 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002217/0.5253, allocations: 143.2 kB / 0.6711 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003172/0.5256, allocations: 251.4 kB / 0.6714 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.5256, allocations: 0 / 0.6714 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006382/0.5263, allocations: 417.8 kB / 0.6718 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.603e-05/0.5263, allocations: 75.48 kB / 0.6718 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/0.5263, allocations: 2.094 kB / 0.6718 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.121e-05/0.5264, allocations: 7.047 kB / 0.6718 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001644/0.5265, allocations: 24.14 kB / 0.6719 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.5265, allocations: 3.406 kB / 0.6719 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004432/0.527, allocations: 59.92 kB / 0.6719 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.288e-05/0.5271, allocations: 53.08 kB / 0.672 GB, free: 1.977 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.0001416/0.5272, allocations: 174.8 kB / 0.6721 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.898e-05/0.5273, allocations: 31.66 kB / 0.6722 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.02e-05/0.5273, allocations: 28.22 kB / 0.6722 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.5273, allocations: 2.938 kB / 0.6722 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.5274, allocations: 3.938 kB / 0.6722 GB, free: 1.785 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.5274, allocations: 4 kB / 0.6722 GB, free: 1.781 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006854/0.5281, allocations: 0.5591 MB / 0.6728 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.5281, allocations: 0 / 0.6728 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.477e-05/0.5281, allocations: 10.22 kB / 0.6728 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.5281, allocations: 1.094 kB / 0.6728 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.081e-05/0.5282, allocations: 10.92 kB / 0.6728 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.5282, allocations: 3.984 kB / 0.6728 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.5282, allocations: 5.172 kB / 0.6728 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000442/0.5286, allocations: 328.1 kB / 0.6731 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001527/0.5288, allocations: 159 kB / 0.6733 GB, free: 0.9375 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.632e-05/0.5288, allocations: 8.062 kB / 0.6733 GB, free: 0.9336 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000194/0.529, allocations: 10.08 kB / 0.6733 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.678e-05/0.5291, allocations: 17.11 kB / 0.6733 GB, free: 0.9219 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.445e-05/0.5292, allocations: 31.25 kB / 0.6733 GB, free: 0.9141 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001651/0.5293, allocations: 204.9 kB / 0.6735 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5293, allocations: 1.031 kB / 0.6735 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002974/0.5296, allocations: 54.14 kB / 0.6736 GB, free: 0.7656 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.0001133/0.5298, allocations: 118 kB / 0.6737 GB, free: 0.6602 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000492/0.5303, allocations: 345.8 kB / 0.674 GB, free: 440 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.175e-06/0.5303, allocations: 0 / 0.674 GB, free: 440 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000139/0.5304, allocations: 76.19 kB / 0.6741 GB, free: 408 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003141/0.5307, allocations: 27 kB / 0.6741 GB, free: 388 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006037/0.5313, allocations: 388.6 kB / 0.6745 GB, free: 112 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003272/0.5317, allocations: 0.739 MB / 0.6752 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001112/0.5318, allocations: 44.14 kB / 0.6752 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001072/0.5319, allocations: 36.83 kB / 0.6753 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of SimCode: time 2.004e-06/0.5319, allocations: 0 / 0.6753 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of Templates: time 0.01046/0.5424, allocations: 4.078 MB / 0.6793 GB, free: 13.32 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)