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.001311/0.001311, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001267/0.001267, allocations: 199.8 kB / 16.79 MB, free: 6.828 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.356/1.356, allocations: 222.9 MB / 240.5 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9169/0.9169, allocations: 135.1 MB / 425.8 MB, free: 11.84 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 59.41 kB / 0.5053 GB, free: 5.781 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.1484, allocations: 80.92 MB / 0.5843 GB, free: 5.023 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.0025/0.1509, allocations: 1.532 MB / 0.5858 GB, free: 3.477 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009377/0.1519, allocations: 451.3 kB / 0.5863 GB, free: 3.031 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.407e-05/0.1519, allocations: 0 / 0.5863 GB, free: 3.031 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.713e-05/0.152, allocations: 3.938 kB / 0.5863 GB, free: 3.027 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.322e-05/0.1521, allocations: 20.23 kB / 0.5863 GB, free: 3.008 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005717/0.1527, allocations: 228.5 kB / 0.5865 GB, free: 2.789 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002526/0.153, allocations: 287.9 kB / 0.5868 GB, free: 2.508 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.084e-05/0.153, allocations: 4 kB / 0.5868 GB, free: 2.504 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002724/0.1533, allocations: 218.3 kB / 0.587 GB, free: 2.293 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001926/0.1535, allocations: 119.6 kB / 0.5871 GB, free: 2.176 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.049e-05/0.1536, allocations: 12 kB / 0.5871 GB, free: 2.164 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.713e-05/0.1537, allocations: 8 kB / 0.5871 GB, free: 2.156 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001076/0.1538, allocations: 75.78 kB / 0.5872 GB, free: 2.082 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001595/0.1539, allocations: 119.4 kB / 0.5873 GB, free: 1.965 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002073/0.1542, allocations: 207.8 kB / 0.5875 GB, free: 1.762 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.1542, allocations: 0 / 0.5875 GB, free: 1.762 MB / 494.1 MB Notification: Performance of FrontEnd: time 6.01e-07/0.1542, allocations: 0 / 0.5875 GB, free: 1.762 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.948e-06/0.1542, allocations: 4 kB / 0.5875 GB, free: 1.758 MB / 494.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.001158/0.1553, allocations: 0.6997 MB / 0.5882 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.334e-05/0.1554, allocations: 8.031 kB / 0.5882 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.578e-05/0.1555, allocations: 27.72 kB / 0.5882 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002974/0.1558, allocations: 266.2 kB / 0.5885 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.674e-05/0.1558, allocations: 16 kB / 0.5885 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.543e-05/0.1559, allocations: 19.98 kB / 0.5885 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002913/0.1562, allocations: 145.5 kB / 0.5887 GB, free: 476 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.572e-06/0.1562, allocations: 0 / 0.5887 GB, free: 476 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.468e-05/0.1562, allocations: 0 / 0.5887 GB, free: 476 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.1562, allocations: 0 / 0.5887 GB, free: 476 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001328/0.1564, allocations: 55.84 kB / 0.5887 GB, free: 420 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003242/0.1567, allocations: 313.4 kB / 0.589 GB, free: 56 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002928/0.157, allocations: 130.8 kB / 0.5891 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001265/0.1571, allocations: 60.83 kB / 0.5892 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.779e-05/0.1572, allocations: 0 / 0.5892 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004395/0.1576, allocations: 223.5 kB / 0.5894 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.453e-06/0.1576, allocations: 0 / 0.5894 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.000582/0.1582, allocations: 267.1 kB / 0.5897 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.149e-05/0.1583, allocations: 67.33 kB / 0.5897 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002649/0.1585, allocations: 290.8 kB / 0.59 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.054e-05/0.1586, allocations: 41.7 kB / 0.59 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.445e-05/0.1587, allocations: 97.12 kB / 0.5901 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.76e-05/0.1587, allocations: 47.44 kB / 0.5902 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001641/0.1589, allocations: 105.7 kB / 0.5903 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001022/0.159, allocations: 318.8 kB / 0.5906 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000225/0.1592, allocations: 92.19 kB / 0.5907 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002374/0.1595, allocations: 155.1 kB / 0.5908 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003171/0.1598, allocations: 244.4 kB / 0.5911 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.1598, allocations: 4 kB / 0.5911 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006729/0.1605, allocations: 420.6 kB / 0.5915 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.791e-05/0.1606, allocations: 71.39 kB / 0.5915 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.1606, allocations: 3.938 kB / 0.5915 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.1606, allocations: 4 kB / 0.5915 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001716/0.1608, allocations: 31.91 kB / 0.5916 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/0.1608, allocations: 4 kB / 0.5916 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005548/0.1614, allocations: 63.98 kB / 0.5916 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.351e-05/0.1614, allocations: 51.98 kB / 0.5917 GB, free: 13.16 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.000177/0.1616, allocations: 175.9 kB / 0.5918 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.241e-05/0.1617, allocations: 23.72 kB / 0.5919 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.726e-05/0.1617, allocations: 26.25 kB / 0.5919 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.1617, allocations: 8 kB / 0.5919 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.1617, allocations: 0 / 0.5919 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.1618, allocations: 0 / 0.5919 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007752/0.1625, allocations: 0.5708 MB / 0.5925 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1625, allocations: 0 / 0.5925 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.366e-05/0.1626, allocations: 4 kB / 0.5925 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.1626, allocations: 4 kB / 0.5925 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.646e-05/0.1626, allocations: 11.98 kB / 0.5925 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.1626, allocations: 3.938 kB / 0.5925 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.1627, allocations: 7.984 kB / 0.5925 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004126/0.1631, allocations: 323 kB / 0.5928 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001538/0.1632, allocations: 160.6 kB / 0.593 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.482e-05/0.1633, allocations: 8 kB / 0.593 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002309/0.1635, allocations: 15.92 kB / 0.593 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.344e-05/0.1636, allocations: 11.98 kB / 0.593 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.06e-05/0.1636, allocations: 35.97 kB / 0.593 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001703/0.1638, allocations: 209.9 kB / 0.5932 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1638, allocations: 0 / 0.5932 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003115/0.1641, allocations: 51.98 kB / 0.5933 GB, free: 11.43 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.00012/0.1643, allocations: 121.7 kB / 0.5934 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005103/0.1648, allocations: 334.6 kB / 0.5937 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.1648, allocations: 8 kB / 0.5937 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001419/0.1649, allocations: 73.69 kB / 0.5938 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003276/0.1653, allocations: 20.88 kB / 0.5938 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006894/0.166, allocations: 0.495 MB / 0.5943 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002985/0.1663, allocations: 0.736 MB / 0.595 GB, free: 9.57 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001282/0.1664, allocations: 35.42 kB / 0.595 GB, free: 9.535 MB / 0.4981 GB Notification: Performance of SimCode: time 3.3e-07/0.1664, allocations: 3.938 kB / 0.595 GB, free: 9.531 MB / 0.4981 GB Notification: Performance of Templates: time 0.00434/0.1708, allocations: 2.98 MB / 0.598 GB, free: 6.578 MB / 0.4981 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)