Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.006764/0.006764, allocations: 102.5 kB / 15.73 MB, free: 5.961 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.001463/0.001463, allocations: 190 kB / 16.67 MB, free: 5.883 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.414/1.414, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.886/0.886, allocations: 132.2 MB / 422.7 MB, free: 1.598 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 62.05 kB / 0.5813 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1941/0.1954, allocations: 80.2 MB / 0.6596 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002624/0.198, allocations: 1.484 MB / 0.6611 GB, free: 12 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001053/0.1991, allocations: 423.3 kB / 0.6615 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.995e-05/0.1992, allocations: 0 / 0.6615 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001145/0.1993, allocations: 15.86 kB / 0.6615 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001106/0.1994, allocations: 24.22 kB / 0.6615 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000711/0.2001, allocations: 240.2 kB / 0.6618 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000382/0.2005, allocations: 311.5 kB / 0.6621 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.999e-05/0.2006, allocations: 8 kB / 0.6621 GB, free: 11 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002644/0.2009, allocations: 199.6 kB / 0.6623 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002335/0.2011, allocations: 108.9 kB / 0.6624 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.37e-05/0.2012, allocations: 20 kB / 0.6624 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.77e-05/0.2012, allocations: 16 kB / 0.6624 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001123/0.2013, allocations: 83.7 kB / 0.6625 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001471/0.2015, allocations: 119.4 kB / 0.6626 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003075/0.2018, allocations: 275.1 kB / 0.6629 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.2018, allocations: 4 kB / 0.6629 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.673e-06/0.2018, allocations: 4 kB / 0.6629 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.294e-06/0.2018, allocations: 0 / 0.6629 GB, free: 10.19 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.001238/0.2031, allocations: 0.7038 MB / 0.6636 GB, free: 9.414 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.2031, allocations: 8.031 kB / 0.6636 GB, free: 9.406 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.979e-05/0.2032, allocations: 28.66 kB / 0.6636 GB, free: 9.379 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003329/0.2036, allocations: 259.5 kB / 0.6638 GB, free: 9.086 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.221e-05/0.2036, allocations: 16.36 kB / 0.6638 GB, free: 9.07 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.906e-05/0.2037, allocations: 23.94 kB / 0.6639 GB, free: 9.047 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003105/0.204, allocations: 149 kB / 0.664 GB, free: 8.898 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.204, allocations: 0 / 0.664 GB, free: 8.898 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.602e-05/0.2041, allocations: 3.984 kB / 0.664 GB, free: 8.895 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.2041, allocations: 0 / 0.664 GB, free: 8.895 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000138/0.2042, allocations: 47.92 kB / 0.6641 GB, free: 8.848 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003855/0.2046, allocations: 317.3 kB / 0.6644 GB, free: 8.488 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002927/0.2049, allocations: 138.6 kB / 0.6645 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001302/0.2051, allocations: 60.83 kB / 0.6646 GB, free: 8.281 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.928e-05/0.2051, allocations: 0 / 0.6646 GB, free: 8.281 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005135/0.2056, allocations: 226.1 kB / 0.6648 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.693e-06/0.2056, allocations: 3.938 kB / 0.6648 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0005836/0.2062, allocations: 269.2 kB / 0.665 GB, free: 7.777 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.913e-05/0.2063, allocations: 59.34 kB / 0.6651 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000269/0.2065, allocations: 287 kB / 0.6654 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.85e-05/0.2066, allocations: 45.69 kB / 0.6654 GB, free: 7.367 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.853e-05/0.2067, allocations: 89.05 kB / 0.6655 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.922e-05/0.2067, allocations: 43.61 kB / 0.6655 GB, free: 7.23 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00017/0.2069, allocations: 109.6 kB / 0.6656 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.2071, allocations: 322.8 kB / 0.6659 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002048/0.2073, allocations: 100.1 kB / 0.666 GB, free: 6.691 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002258/0.2075, allocations: 138.4 kB / 0.6662 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003059/0.2078, allocations: 243.1 kB / 0.6664 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.2078, allocations: 4 kB / 0.6664 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007136/0.2086, allocations: 411.3 kB / 0.6668 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.854e-05/0.2086, allocations: 75.39 kB / 0.6669 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.2086, allocations: 0 / 0.6669 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.025e-05/0.2087, allocations: 11.98 kB / 0.6669 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001675/0.2088, allocations: 23.92 kB / 0.6669 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/0.2089, allocations: 4 kB / 0.6669 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004531/0.2093, allocations: 63.98 kB / 0.667 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.601e-05/0.2094, allocations: 51.98 kB / 0.667 GB, free: 5.605 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.0001718/0.2096, allocations: 168.6 kB / 0.6672 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.972e-05/0.2096, allocations: 31.56 kB / 0.6672 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.276e-05/0.2097, allocations: 34.25 kB / 0.6672 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.2097, allocations: 0 / 0.6672 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.2097, allocations: 4 kB / 0.6672 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.267e-06/0.2097, allocations: 4 kB / 0.6673 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000782/0.2105, allocations: 0.5665 MB / 0.6678 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.2105, allocations: 0 / 0.6678 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.328e-05/0.2106, allocations: 8 kB / 0.6678 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.2106, allocations: 0 / 0.6678 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.094e-05/0.2106, allocations: 11.98 kB / 0.6678 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.2106, allocations: 0 / 0.6678 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.2106, allocations: 3.984 kB / 0.6678 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004289/0.2111, allocations: 330.9 kB / 0.6681 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001881/0.2113, allocations: 152.7 kB / 0.6683 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.087e-05/0.2113, allocations: 8 kB / 0.6683 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002057/0.2115, allocations: 11.98 kB / 0.6683 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.992e-05/0.2116, allocations: 19.97 kB / 0.6683 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.3e-05/0.2116, allocations: 31.97 kB / 0.6684 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001954/0.2118, allocations: 205.9 kB / 0.6686 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2119, allocations: 0 / 0.6686 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003148/0.2122, allocations: 55.92 kB / 0.6686 GB, free: 3.879 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.0001622/0.2123, allocations: 112.6 kB / 0.6687 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005672/0.2129, allocations: 352.9 kB / 0.6691 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.2129, allocations: 0 / 0.6691 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001522/0.2131, allocations: 75.89 kB / 0.6691 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000343/0.2134, allocations: 20.88 kB / 0.6691 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007323/0.2142, allocations: 376.1 kB / 0.6695 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003605/0.2146, allocations: 0.7396 MB / 0.6702 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001122/0.2147, allocations: 37.42 kB / 0.6703 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001157/0.2148, allocations: 39.42 kB / 0.6703 GB, free: 2.062 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.2148, allocations: 0 / 0.6703 GB, free: 2.062 MB / 0.4981 GB Notification: Performance of Templates: time 0.007596/0.2224, allocations: 4.076 MB / 0.6743 GB, free: 14.03 MB / 0.5137 GB make -j1 -f IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile (rm -f IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)