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.0006919/0.000692, allocations: 90.75 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.0007564/0.0007564, 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.152/1.152, allocations: 223.3 MB / 240 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6678/0.6678, allocations: 132.4 MB / 423.4 MB, free: 2.008 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002751/0.0002752, allocations: 12 kB / 0.5034 GB, free: 4.25 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3353/0.3356, allocations: 81.56 MB / 0.5831 GB, free: 3.977 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonths): time 0.001188/0.3368, allocations: 1.189 MB / 0.5842 GB, free: 3.105 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00074/0.3375, allocations: 413.2 kB / 0.5846 GB, free: 2.84 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.761e-05/0.3376, allocations: 3.938 kB / 0.5846 GB, free: 2.836 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 6.682e-05/0.3377, allocations: 1.125 kB / 0.5846 GB, free: 2.836 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 8.056e-05/0.3377, allocations: 23.11 kB / 0.5846 GB, free: 2.824 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005654/0.3383, allocations: 204.6 kB / 0.5848 GB, free: 2.73 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002732/0.3386, allocations: 244.6 kB / 0.5851 GB, free: 2.633 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.381e-05/0.3387, allocations: 9.125 kB / 0.5851 GB, free: 2.629 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000335/0.339, allocations: 215.4 kB / 0.5853 GB, free: 2.582 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002184/0.3392, allocations: 127 kB / 0.5854 GB, free: 2.555 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.46e-05/0.3393, allocations: 12.91 kB / 0.5854 GB, free: 2.551 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.454e-05/0.3393, allocations: 9.594 kB / 0.5854 GB, free: 2.551 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001051/0.3394, allocations: 77.72 kB / 0.5855 GB, free: 2.531 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 7.068e-05/0.3395, allocations: 69.36 kB / 0.5856 GB, free: 2.48 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002146/0.3397, allocations: 207 kB / 0.5858 GB, free: 2.43 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.3397, allocations: 0 / 0.5858 GB, free: 2.43 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.3398, allocations: 3.938 kB / 0.5858 GB, free: 2.426 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.3398, allocations: 5.125 kB / 0.5858 GB, free: 2.422 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.0008378/0.3406, allocations: 0.6128 MB / 0.5864 GB, free: 1.844 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.044e-05/0.3406, allocations: 9.406 kB / 0.5864 GB, free: 1.844 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.131e-05/0.3407, allocations: 34.73 kB / 0.5864 GB, free: 1.828 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002206/0.341, allocations: 254.3 kB / 0.5867 GB, free: 1.594 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.977e-05/0.341, allocations: 8 kB / 0.5867 GB, free: 1.594 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.087e-05/0.3411, allocations: 25.02 kB / 0.5867 GB, free: 1.586 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00026/0.3413, allocations: 144.3 kB / 0.5868 GB, free: 1.531 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.3413, allocations: 0 / 0.5868 GB, free: 1.531 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.361e-05/0.3414, allocations: 10.61 kB / 0.5868 GB, free: 1.523 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.3414, allocations: 1.75 kB / 0.5868 GB, free: 1.523 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001156/0.3415, allocations: 49.17 kB / 0.5869 GB, free: 1.508 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002773/0.3418, allocations: 311.2 kB / 0.5872 GB, free: 1.266 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002412/0.342, allocations: 127.4 kB / 0.5873 GB, free: 1.207 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001087/0.3421, allocations: 56.88 kB / 0.5874 GB, free: 1.184 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.179e-05/0.3422, allocations: 7.062 kB / 0.5874 GB, free: 1.18 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004018/0.3426, allocations: 218.5 kB / 0.5876 GB, free: 1.094 MB / 430.1 MB Notification: Performance of pre-optimization done (n=18): time 1.373e-06/0.3426, allocations: 0 / 0.5876 GB, free: 1.094 MB / 430.1 MB Notification: Performance of matching and sorting (n=18): time 0.0005033/0.3431, allocations: 269.3 kB / 0.5878 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.077e-05/0.3431, allocations: 61.92 kB / 0.5879 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002614/0.3434, allocations: 288.8 kB / 0.5882 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.319e-05/0.3435, allocations: 37.98 kB / 0.5882 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.078e-05/0.3435, allocations: 100.1 kB / 0.5883 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.551e-05/0.3436, allocations: 42.25 kB / 0.5883 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.06e-05/0.3436, allocations: 13.45 kB / 0.5884 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.082e-05/0.3437, allocations: 325.2 kB / 0.5887 GB, free: 288 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000218/0.3439, allocations: 94.61 kB / 0.5888 GB, free: 256 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000221/0.3441, allocations: 144.3 kB / 0.5889 GB, free: 168 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002055/0.3443, allocations: 155.1 kB / 0.589 GB, free: 56 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.3443, allocations: 0 / 0.589 GB, free: 56 kB / 430.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006974/0.345, allocations: 412.4 kB / 0.5894 GB, free: 15.87 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.114e-05/0.3451, allocations: 76.94 kB / 0.5895 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.3451, allocations: 5.781 kB / 0.5895 GB, free: 15.79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.3451, allocations: 3.406 kB / 0.5895 GB, free: 15.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001501/0.3453, allocations: 27.17 kB / 0.5895 GB, free: 15.79 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-06/0.3453, allocations: 3.609 kB / 0.5895 GB, free: 15.79 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004425/0.3458, allocations: 72.48 kB / 0.5896 GB, free: 15.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.734e-05/0.3458, allocations: 55.52 kB / 0.5897 GB, free: 15.77 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.0001753/0.346, allocations: 175.6 kB / 0.5898 GB, free: 15.63 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.044e-05/0.3461, allocations: 24.19 kB / 0.5899 GB, free: 15.62 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.467e-05/0.3461, allocations: 32.23 kB / 0.5899 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.297e-06/0.3461, allocations: 1.438 kB / 0.5899 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.421e-06/0.3461, allocations: 0.9375 kB / 0.5899 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.3462, allocations: 5.219 kB / 0.5899 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007248/0.3469, allocations: 0.5637 MB / 0.5904 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.3469, allocations: 0.625 kB / 0.5904 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.538e-05/0.347, allocations: 12.48 kB / 0.5905 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.347, allocations: 1.25 kB / 0.5905 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.677e-05/0.347, allocations: 11.83 kB / 0.5905 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.347, allocations: 1.344 kB / 0.5905 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.347, allocations: 3.984 kB / 0.5905 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003871/0.3474, allocations: 327.1 kB / 0.5908 GB, free: 15 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001607/0.3476, allocations: 155.3 kB / 0.5909 GB, free: 14.88 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.008e-05/0.3476, allocations: 9.609 kB / 0.5909 GB, free: 14.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001868/0.3478, allocations: 11.27 kB / 0.591 GB, free: 14.88 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.754e-05/0.3479, allocations: 19.56 kB / 0.591 GB, free: 14.87 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.14e-05/0.3479, allocations: 28.89 kB / 0.591 GB, free: 14.87 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001884/0.3481, allocations: 205.7 kB / 0.5912 GB, free: 14.76 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3481, allocations: 7.938 kB / 0.5912 GB, free: 14.75 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003042/0.3484, allocations: 51.91 kB / 0.5913 GB, free: 14.74 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.0001082/0.3485, allocations: 111.5 kB / 0.5914 GB, free: 14.65 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005011/0.3491, allocations: 344.9 kB / 0.5917 GB, free: 14.45 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.3491, allocations: 0 / 0.5917 GB, free: 14.45 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001385/0.3492, allocations: 73.41 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.0002994/0.3495, allocations: 35.59 kB / 0.5918 GB, free: 14.41 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006075/0.3501, allocations: 436.3 kB / 0.5922 GB, free: 14.12 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002647/0.3504, allocations: 0.7461 MB / 0.5929 GB, free: 13.41 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000132/0.3505, allocations: 39.31 kB / 0.593 GB, free: 13.4 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001063/0.3507, allocations: 32.97 kB / 0.593 GB, free: 13.39 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3507, allocations: 0 / 0.593 GB, free: 13.39 MB / 446.1 MB Notification: Performance of Templates: time 0.006957/0.3576, allocations: 3.893 MB / 0.5968 GB, free: 12.19 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 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)