Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/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.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths") translateModel(IDEAS.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.001653/0.001653, allocations: 112.6 kB / 16.37 MB, free: 6 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.001605/0.001605, allocations: 196 kB / 17.31 MB, free: 5.613 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.343/1.343, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8019/0.8019, allocations: 132.2 MB / 423.3 MB, free: 6.621 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001875/0.001875, allocations: 59.89 kB / 0.5032 GB, free: 10.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4126/0.4145, allocations: 80.18 MB / 0.5815 GB, free: 27.86 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonths): time 0.002334/0.4169, allocations: 1.483 MB / 0.5829 GB, free: 26.71 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008851/0.4178, allocations: 425.2 kB / 0.5833 GB, free: 26.38 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.695e-05/0.4178, allocations: 1.312 kB / 0.5833 GB, free: 26.38 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001183/0.418, allocations: 8.812 kB / 0.5833 GB, free: 26.38 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00011/0.4181, allocations: 27.38 kB / 0.5834 GB, free: 26.36 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006922/0.4188, allocations: 237.6 kB / 0.5836 GB, free: 26.18 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003912/0.4192, allocations: 316.4 kB / 0.5839 GB, free: 26.02 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.934e-05/0.4192, allocations: 19.88 kB / 0.5839 GB, free: 26 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002716/0.4195, allocations: 191.4 kB / 0.5841 GB, free: 25.91 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002209/0.4198, allocations: 108.7 kB / 0.5842 GB, free: 25.84 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.988e-05/0.4198, allocations: 18.34 kB / 0.5842 GB, free: 25.84 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.415e-05/0.4199, allocations: 18.34 kB / 0.5842 GB, free: 25.84 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001099/0.42, allocations: 78.94 kB / 0.5843 GB, free: 25.8 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001407/0.4201, allocations: 119 kB / 0.5844 GB, free: 25.71 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003127/0.4205, allocations: 283.5 kB / 0.5847 GB, free: 25.53 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.4205, allocations: 3.312 kB / 0.5847 GB, free: 25.53 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.4205, allocations: 0 / 0.5847 GB, free: 25.53 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.4205, allocations: 0 / 0.5847 GB, free: 25.53 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.001154/0.4217, allocations: 0.6969 MB / 0.5854 GB, free: 24.88 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.4217, allocations: 9.469 kB / 0.5854 GB, free: 24.88 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.414e-05/0.4218, allocations: 31.16 kB / 0.5854 GB, free: 24.87 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002881/0.4221, allocations: 267.5 kB / 0.5857 GB, free: 24.61 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.135e-05/0.4221, allocations: 9.625 kB / 0.5857 GB, free: 24.61 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.818e-05/0.4222, allocations: 22.5 kB / 0.5857 GB, free: 24.6 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000276/0.4225, allocations: 153.1 kB / 0.5859 GB, free: 24.49 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.126e-06/0.4225, allocations: 0 / 0.5859 GB, free: 24.49 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.416e-05/0.4225, allocations: 1.531 kB / 0.5859 GB, free: 24.49 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.4225, allocations: 1.469 kB / 0.5859 GB, free: 24.49 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001233/0.4227, allocations: 50.34 kB / 0.5859 GB, free: 24.46 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002558/0.4229, allocations: 316 kB / 0.5862 GB, free: 24.16 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002531/0.4232, allocations: 131.1 kB / 0.5863 GB, free: 24.09 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001172/0.4233, allocations: 60.23 kB / 0.5864 GB, free: 24.05 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.358e-05/0.4234, allocations: 2.656 kB / 0.5864 GB, free: 24.05 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003826/0.4237, allocations: 219.6 kB / 0.5866 GB, free: 23.92 MB / 446.1 MB Notification: Performance of pre-optimization done (n=18): time 1.613e-06/0.4238, allocations: 1.75 kB / 0.5866 GB, free: 23.92 MB / 446.1 MB Notification: Performance of matching and sorting (n=18): time 0.0005132/0.4243, allocations: 272 kB / 0.5869 GB, free: 23.79 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.994e-05/0.4243, allocations: 68.61 kB / 0.5869 GB, free: 23.71 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002111/0.4245, allocations: 286.7 kB / 0.5872 GB, free: 23.52 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.79e-05/0.4246, allocations: 36.45 kB / 0.5872 GB, free: 23.48 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.454e-05/0.4246, allocations: 90.83 kB / 0.5873 GB, free: 23.39 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.072e-05/0.4247, allocations: 51.7 kB / 0.5874 GB, free: 23.35 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001486/0.4248, allocations: 104.8 kB / 0.5875 GB, free: 23.29 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.808e-05/0.4249, allocations: 322.1 kB / 0.5878 GB, free: 22.97 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001945/0.4251, allocations: 89.98 kB / 0.5879 GB, free: 22.93 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002194/0.4253, allocations: 144.7 kB / 0.588 GB, free: 22.83 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003302/0.4257, allocations: 254.1 kB / 0.5882 GB, free: 22.62 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.4257, allocations: 2.781 kB / 0.5882 GB, free: 22.62 MB / 446.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007045/0.4264, allocations: 406.7 kB / 0.5886 GB, free: 22.4 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.13e-05/0.4264, allocations: 79.19 kB / 0.5887 GB, free: 22.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.4265, allocations: 4.594 kB / 0.5887 GB, free: 22.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.036e-05/0.4265, allocations: 3.438 kB / 0.5887 GB, free: 22.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001718/0.4267, allocations: 25.02 kB / 0.5887 GB, free: 22.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.4267, allocations: 2.156 kB / 0.5887 GB, free: 22.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004646/0.4271, allocations: 60.12 kB / 0.5888 GB, free: 22.29 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.554e-05/0.4273, allocations: 53.61 kB / 0.5889 GB, free: 22.29 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: 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.0001773/0.4274, allocations: 174.6 kB / 0.589 GB, free: 22.13 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.577e-05/0.4275, allocations: 32.72 kB / 0.5891 GB, free: 22.11 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.886e-05/0.4276, allocations: 29.5 kB / 0.5891 GB, free: 22.09 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.4276, allocations: 2.875 kB / 0.5891 GB, free: 22.09 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.4276, allocations: 0 / 0.5891 GB, free: 22.09 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.4276, allocations: 5.047 kB / 0.5891 GB, free: 22.09 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007579/0.4284, allocations: 0.5541 MB / 0.5896 GB, free: 21.63 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.4284, allocations: 1.156 kB / 0.5896 GB, free: 21.63 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.555e-05/0.4284, allocations: 11.22 kB / 0.5896 GB, free: 21.63 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.4284, allocations: 5.438 kB / 0.5896 GB, free: 21.62 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.955e-05/0.4285, allocations: 18.19 kB / 0.5897 GB, free: 21.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.4285, allocations: 1.5 kB / 0.5897 GB, free: 21.61 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.4285, allocations: 3.25 kB / 0.5897 GB, free: 21.61 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003627/0.4288, allocations: 327.9 kB / 0.59 GB, free: 21.32 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001502/0.429, allocations: 160.6 kB / 0.5901 GB, free: 21.14 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.974e-05/0.4291, allocations: 8 kB / 0.5901 GB, free: 21.13 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002001/0.4293, allocations: 11.98 kB / 0.5902 GB, free: 21.12 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.632e-05/0.4293, allocations: 21.44 kB / 0.5902 GB, free: 21.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.623e-05/0.4294, allocations: 27.98 kB / 0.5902 GB, free: 21.07 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001505/0.4295, allocations: 209.9 kB / 0.5904 GB, free: 20.87 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.4295, allocations: 0 / 0.5904 GB, free: 20.87 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002915/0.4298, allocations: 44.59 kB / 0.5904 GB, free: 20.83 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: 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.0001158/0.43, allocations: 119.5 kB / 0.5906 GB, free: 20.71 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004581/0.4304, allocations: 353.6 kB / 0.5909 GB, free: 20.34 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/0.4304, allocations: 0 / 0.5909 GB, free: 20.34 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001289/0.4306, allocations: 75.89 kB / 0.591 GB, free: 20.27 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003192/0.4309, allocations: 25.92 kB / 0.591 GB, free: 20.24 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005334/0.4314, allocations: 370.4 kB / 0.5913 GB, free: 19.85 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001428/0.4316, allocations: 0.7445 MB / 0.5921 GB, free: 19.08 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001022/0.4317, allocations: 41.05 kB / 0.5921 GB, free: 19.05 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.297e-05/0.4318, allocations: 36.38 kB / 0.5921 GB, free: 19.02 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4318, allocations: 0.5312 kB / 0.5921 GB, free: 19.02 MB / 446.1 MB Notification: Performance of Templates: time 0.006023/0.4378, allocations: 4.067 MB / 0.5961 GB, free: 15.03 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.makefile (rm -f IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.sim & ./IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)