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.0008427/0.0008427, allocations: 92.39 kB / 15.06 MB, free: 1.098 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.0008816/0.0008816, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.166/1.166, allocations: 223.3 MB / 240 MB, free: 5.223 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6612/0.6612, allocations: 132.3 MB / 423.4 MB, free: 2.008 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000263/0.000263, allocations: 8 kB / 0.5034 GB, free: 4.242 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3347/0.3349, allocations: 81.56 MB / 0.5831 GB, free: 3.98 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.001156/0.3361, allocations: 1.186 MB / 0.5842 GB, free: 3.113 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007152/0.3368, allocations: 415.3 kB / 0.5846 GB, free: 2.852 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.711e-05/0.3369, allocations: 3.938 kB / 0.5846 GB, free: 2.848 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 6.404e-05/0.337, allocations: 2.156 kB / 0.5846 GB, free: 2.848 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 7.611e-05/0.337, allocations: 23.55 kB / 0.5846 GB, free: 2.836 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004978/0.3376, allocations: 203.9 kB / 0.5848 GB, free: 2.742 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002385/0.3378, allocations: 250 kB / 0.5851 GB, free: 2.641 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.501e-05/0.3378, allocations: 9.062 kB / 0.5851 GB, free: 2.637 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003068/0.3382, allocations: 211.6 kB / 0.5853 GB, free: 2.594 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001946/0.3384, allocations: 134.4 kB / 0.5854 GB, free: 2.559 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.541e-05/0.3384, allocations: 9.5 kB / 0.5854 GB, free: 2.559 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.173e-05/0.3385, allocations: 15.09 kB / 0.5854 GB, free: 2.555 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001013/0.3386, allocations: 71.94 kB / 0.5855 GB, free: 2.539 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 6.377e-05/0.3386, allocations: 70.05 kB / 0.5856 GB, free: 2.488 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002036/0.3388, allocations: 202 kB / 0.5858 GB, free: 2.441 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.3389, allocations: 0 / 0.5858 GB, free: 2.441 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.3389, allocations: 0.6562 kB / 0.5858 GB, free: 2.441 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.868e-06/0.3389, allocations: 7.938 kB / 0.5858 GB, free: 2.434 MB / 430.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.0007752/0.3397, allocations: 0.6173 MB / 0.5864 GB, free: 1.852 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.876e-05/0.3397, allocations: 9.812 kB / 0.5864 GB, free: 1.852 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.444e-05/0.3398, allocations: 34.3 kB / 0.5864 GB, free: 1.836 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002094/0.34, allocations: 250.6 kB / 0.5867 GB, free: 1.605 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.56e-05/0.34, allocations: 12.95 kB / 0.5867 GB, free: 1.602 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.188e-05/0.3401, allocations: 23.95 kB / 0.5867 GB, free: 1.594 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002542/0.3403, allocations: 150.8 kB / 0.5868 GB, free: 1.535 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.3403, allocations: 0.7969 kB / 0.5868 GB, free: 1.535 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.131e-05/0.3404, allocations: 1.891 kB / 0.5868 GB, free: 1.535 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.3404, allocations: 1.531 kB / 0.5868 GB, free: 1.535 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001196/0.3405, allocations: 49.69 kB / 0.5869 GB, free: 1.52 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002649/0.3408, allocations: 311.8 kB / 0.5872 GB, free: 1.277 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002305/0.341, allocations: 130.6 kB / 0.5873 GB, free: 1.215 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001074/0.3411, allocations: 57.52 kB / 0.5874 GB, free: 1.191 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.128e-05/0.3412, allocations: 5.688 kB / 0.5874 GB, free: 1.188 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003918/0.3416, allocations: 224.7 kB / 0.5876 GB, free: 1.094 MB / 430.1 MB Notification: Performance of pre-optimization done (n=18): time 1.303e-06/0.3416, allocations: 0 / 0.5876 GB, free: 1.094 MB / 430.1 MB Notification: Performance of matching and sorting (n=18): time 0.0004911/0.3421, allocations: 267.4 kB / 0.5878 GB, free: 1 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.807e-05/0.3421, allocations: 62.61 kB / 0.5879 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002455/0.3423, allocations: 289.4 kB / 0.5882 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.798e-05/0.3424, allocations: 37.56 kB / 0.5882 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.014e-05/0.3424, allocations: 95.64 kB / 0.5883 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.835e-05/0.3425, allocations: 50.44 kB / 0.5883 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.983e-05/0.3425, allocations: 9.281 kB / 0.5884 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.89e-05/0.3426, allocations: 325 kB / 0.5887 GB, free: 292 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001954/0.3428, allocations: 95.03 kB / 0.5888 GB, free: 260 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002036/0.343, allocations: 144.2 kB / 0.5889 GB, free: 172 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001828/0.3432, allocations: 155.8 kB / 0.589 GB, free: 60 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3432, allocations: 0 / 0.589 GB, free: 60 kB / 430.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000643/0.3438, allocations: 412.6 kB / 0.5894 GB, free: 15.88 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.705e-05/0.3439, allocations: 76.72 kB / 0.5895 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.3439, allocations: 6.406 kB / 0.5895 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.3439, allocations: 3.438 kB / 0.5895 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001491/0.3441, allocations: 26.64 kB / 0.5895 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.3441, allocations: 2.922 kB / 0.5895 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004347/0.3445, allocations: 74.02 kB / 0.5896 GB, free: 15.78 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.492e-05/0.3446, allocations: 54.34 kB / 0.5897 GB, free: 15.78 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 ($PRE.calTim.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$PRE.calTim.year,calTim.year,$PRE.calTim.month,calTim.month,$PRE.calTim.day,calTim.day,$PRE.calTim.hour,calTim.hour,$PRE.calTim.weekDay,calTim.weekDay,$PRE.calTim.daysSinceEpoch,calTim.daysSinceEpoch,$PRE.calTim.yearIndex,calTim.yearIndex,$PRE.calTim.epochLastMonth,calTim.epochLastMonth) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000164/0.3448, allocations: 177.9 kB / 0.5898 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.52e-05/0.3448, allocations: 24.36 kB / 0.5899 GB, free: 15.62 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.942e-05/0.3449, allocations: 32.11 kB / 0.5899 GB, free: 15.6 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.3449, allocations: 4.875 kB / 0.5899 GB, free: 15.6 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.3449, allocations: 0.7188 kB / 0.5899 GB, free: 15.6 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.732e-06/0.3449, allocations: 6.75 kB / 0.5899 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007164/0.3456, allocations: 0.5627 MB / 0.5905 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.3456, allocations: 2.062 kB / 0.5905 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.139e-05/0.3457, allocations: 7.156 kB / 0.5905 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.3457, allocations: 0.875 kB / 0.5905 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.507e-05/0.3457, allocations: 12.06 kB / 0.5905 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.3457, allocations: 1.656 kB / 0.5905 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3457, allocations: 0.7031 kB / 0.5905 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003917/0.3461, allocations: 325 kB / 0.5908 GB, free: 15.01 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000151/0.3463, allocations: 155.1 kB / 0.5909 GB, free: 14.89 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.905e-05/0.3463, allocations: 10.3 kB / 0.5909 GB, free: 14.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001811/0.3465, allocations: 10.14 kB / 0.591 GB, free: 14.88 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.732e-05/0.3466, allocations: 19.5 kB / 0.591 GB, free: 14.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.822e-05/0.3466, allocations: 29.06 kB / 0.591 GB, free: 14.88 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001912/0.3468, allocations: 206 kB / 0.5912 GB, free: 14.77 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3468, allocations: 3.938 kB / 0.5912 GB, free: 14.76 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002949/0.3471, allocations: 60.02 kB / 0.5913 GB, free: 14.75 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001067/0.3472, allocations: 109.1 kB / 0.5914 GB, free: 14.66 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005055/0.3478, allocations: 345.9 kB / 0.5917 GB, free: 14.46 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.3478, allocations: 0 / 0.5917 GB, free: 14.46 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001397/0.3479, allocations: 77 kB / 0.5918 GB, free: 14.43 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002902/0.3482, allocations: 22.02 kB / 0.5918 GB, free: 14.42 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006054/0.3488, allocations: 446 kB / 0.5922 GB, free: 14.12 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000285/0.3491, allocations: 0.7445 MB / 0.5929 GB, free: 13.42 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001333/0.3493, allocations: 39.09 kB / 0.593 GB, free: 13.41 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001151/0.3494, allocations: 33.48 kB / 0.593 GB, free: 13.4 MB / 446.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3494, allocations: 0 / 0.593 GB, free: 13.4 MB / 446.1 MB Notification: Performance of Templates: time 0.006436/0.3558, allocations: 3.892 MB / 0.5968 GB, free: 12.18 MB / 446.1 MB 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)