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.001279/0.001282, allocations: 111.8 kB / 16.27 MB, free: 6.414 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.001388/0.001388, allocations: 191.8 kB / 17.2 MB, free: 5.953 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.386/1.386, allocations: 222.9 MB / 240.9 MB, free: 15.24 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8302/0.8302, allocations: 135.2 MB / 426.2 MB, free: 4.09 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001855/0.001855, allocations: 63.91 kB / 0.506 GB, free: 8.32 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3421/0.344, allocations: 80.93 MB / 0.5851 GB, free: 25.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002436/0.3464, allocations: 1.47 MB / 0.5865 GB, free: 24.42 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008318/0.3473, allocations: 427.3 kB / 0.5869 GB, free: 24.09 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.393e-05/0.3474, allocations: 0.8125 kB / 0.5869 GB, free: 24.09 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001034/0.3475, allocations: 7.875 kB / 0.5869 GB, free: 24.08 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 9.892e-05/0.3476, allocations: 25.41 kB / 0.5869 GB, free: 24.07 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006692/0.3483, allocations: 239.5 kB / 0.5872 GB, free: 23.89 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003211/0.3486, allocations: 306.8 kB / 0.5875 GB, free: 23.73 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.217e-05/0.3487, allocations: 10.03 kB / 0.5875 GB, free: 23.73 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000249/0.3489, allocations: 194.4 kB / 0.5876 GB, free: 23.64 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001886/0.3491, allocations: 105.3 kB / 0.5877 GB, free: 23.57 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.564e-05/0.3492, allocations: 19.84 kB / 0.5878 GB, free: 23.57 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.445e-05/0.3493, allocations: 18.78 kB / 0.5878 GB, free: 23.57 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.245e-05/0.3494, allocations: 76.97 kB / 0.5879 GB, free: 23.52 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001249/0.3495, allocations: 124.7 kB / 0.588 GB, free: 23.44 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002768/0.3498, allocations: 285.4 kB / 0.5882 GB, free: 23.25 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.3498, allocations: 0 / 0.5882 GB, free: 23.25 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.143e-06/0.3498, allocations: 3.938 kB / 0.5883 GB, free: 23.25 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.486e-06/0.3498, allocations: 0.9062 kB / 0.5883 GB, free: 23.25 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.001079/0.3509, allocations: 0.6936 MB / 0.5889 GB, free: 22.6 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.351, allocations: 10.73 kB / 0.5889 GB, free: 22.6 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001025/0.3511, allocations: 37.94 kB / 0.589 GB, free: 22.57 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000241/0.3513, allocations: 268.1 kB / 0.5892 GB, free: 22.27 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.697e-05/0.3514, allocations: 10.56 kB / 0.5892 GB, free: 22.26 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.444e-05/0.3514, allocations: 23.92 kB / 0.5893 GB, free: 22.24 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002538/0.3517, allocations: 151.6 kB / 0.5894 GB, free: 22.09 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.136e-06/0.3517, allocations: 3.938 kB / 0.5894 GB, free: 22.08 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.582e-05/0.3517, allocations: 0 / 0.5894 GB, free: 22.08 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/0.3517, allocations: 7.984 kB / 0.5894 GB, free: 22.07 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001207/0.3519, allocations: 45.44 kB / 0.5895 GB, free: 22.03 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002732/0.3522, allocations: 313.3 kB / 0.5898 GB, free: 21.68 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002515/0.3524, allocations: 136.1 kB / 0.5899 GB, free: 21.54 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001082/0.3525, allocations: 57.48 kB / 0.5899 GB, free: 21.48 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.442e-05/0.3526, allocations: 0.8125 kB / 0.5899 GB, free: 21.48 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004019/0.353, allocations: 220.6 kB / 0.5902 GB, free: 21.26 MB / 446.1 MB Notification: Performance of pre-optimization done (n=18): time 1.492e-06/0.353, allocations: 0 / 0.5902 GB, free: 21.26 MB / 446.1 MB Notification: Performance of matching and sorting (n=18): time 0.0005068/0.3535, allocations: 272.2 kB / 0.5904 GB, free: 20.99 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.936e-05/0.3535, allocations: 63.31 kB / 0.5905 GB, free: 20.92 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001931/0.3537, allocations: 283 kB / 0.5907 GB, free: 20.63 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.407e-05/0.3538, allocations: 45.69 kB / 0.5908 GB, free: 20.58 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.798e-05/0.3538, allocations: 90.92 kB / 0.5909 GB, free: 20.49 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.047e-05/0.3539, allocations: 47.39 kB / 0.5909 GB, free: 20.45 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001342/0.354, allocations: 113.6 kB / 0.591 GB, free: 20.32 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.57e-05/0.3541, allocations: 323.5 kB / 0.5913 GB, free: 20 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000187/0.3543, allocations: 92.8 kB / 0.5914 GB, free: 19.91 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002013/0.3545, allocations: 148 kB / 0.5916 GB, free: 19.75 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000259/0.3547, allocations: 248 kB / 0.5918 GB, free: 19.48 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3548, allocations: 0 / 0.5918 GB, free: 19.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005561/0.3553, allocations: 415.5 kB / 0.5922 GB, free: 19.05 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.73e-05/0.3554, allocations: 75.38 kB / 0.5923 GB, free: 18.97 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.3554, allocations: 4 kB / 0.5923 GB, free: 18.96 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.3554, allocations: 0 / 0.5923 GB, free: 18.96 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001595/0.3556, allocations: 32.42 kB / 0.5923 GB, free: 18.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.3556, allocations: 0.5625 kB / 0.5923 GB, free: 18.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005/0.3561, allocations: 65.47 kB / 0.5924 GB, free: 18.87 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.08e-05/0.3562, allocations: 58.48 kB / 0.5924 GB, free: 18.82 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.0001481/0.3563, allocations: 169.3 kB / 0.5926 GB, free: 18.64 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.005e-05/0.3564, allocations: 27.66 kB / 0.5926 GB, free: 18.62 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.737e-05/0.3564, allocations: 30.25 kB / 0.5926 GB, free: 18.59 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.3564, allocations: 0.5 kB / 0.5926 GB, free: 18.59 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.3564, allocations: 1.281 kB / 0.5926 GB, free: 18.59 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.3564, allocations: 3.984 kB / 0.5927 GB, free: 18.58 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006115/0.3571, allocations: 0.5621 MB / 0.5932 GB, free: 17.96 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.3571, allocations: 0 / 0.5932 GB, free: 17.96 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.295e-05/0.3571, allocations: 8 kB / 0.5932 GB, free: 17.96 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.3571, allocations: 0 / 0.5932 GB, free: 17.96 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.217e-05/0.3572, allocations: 21.84 kB / 0.5932 GB, free: 17.94 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.3572, allocations: 8 kB / 0.5932 GB, free: 17.93 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3572, allocations: 0 / 0.5932 GB, free: 17.93 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003161/0.3575, allocations: 318.3 kB / 0.5935 GB, free: 17.61 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001177/0.3576, allocations: 160.6 kB / 0.5937 GB, free: 17.43 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.05e-05/0.3577, allocations: 11.94 kB / 0.5937 GB, free: 17.42 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002049/0.3579, allocations: 17.55 kB / 0.5937 GB, free: 17.4 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.464e-05/0.358, allocations: 15.97 kB / 0.5937 GB, free: 17.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.185e-05/0.358, allocations: 31.98 kB / 0.5938 GB, free: 17.36 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001246/0.3581, allocations: 207.3 kB / 0.594 GB, free: 17.15 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3581, allocations: 4 kB / 0.594 GB, free: 17.15 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002974/0.3584, allocations: 44 kB / 0.594 GB, free: 17.11 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.0001093/0.3585, allocations: 117.8 kB / 0.5941 GB, free: 16.98 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004599/0.359, allocations: 353.4 kB / 0.5945 GB, free: 16.62 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.359, allocations: 0 / 0.5945 GB, free: 16.62 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000122/0.3591, allocations: 75.84 kB / 0.5945 GB, free: 16.54 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003282/0.3595, allocations: 30.03 kB / 0.5946 GB, free: 16.52 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005613/0.3601, allocations: 422 kB / 0.595 GB, free: 16.08 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001426/0.3602, allocations: 0.7473 MB / 0.5957 GB, free: 15.3 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001157/0.3603, allocations: 38.11 kB / 0.5957 GB, free: 15.27 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3603, allocations: 0 / 0.5957 GB, free: 15.27 MB / 446.1 MB Notification: Performance of Templates: time 0.004149/0.3645, allocations: 2.984 MB / 0.5986 GB, free: 12.33 MB / 446.1 MB 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)