Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: translateModel(IDEAS.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths") translateModel(IDEAS.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7304/0.7304, allocations: 133.4 MB / 146.7 MB, free: 10.79 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.777/1.777, allocations: 221.3 MB / 400.4 MB, free: 5.812 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001017/0.001017, allocations: 95.8 kB / 483.3 MB, free: 5.824 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 7.121e-05/7.141e-05, allocations: 2.75 kB / 0.56 GB, free: 87.94 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2147/0.2148, allocations: 82.3 MB / 0.6404 GB, free: 7.828 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9137/1.129, allocations: 113.1 MB / 0.7509 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000221/1.129, allocations: 71.06 kB / 0.7509 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.01283/1.142, allocations: 4.476 MB / 0.7553 GB, free: 27.33 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.323e-06/1.142, allocations: 4 kB / 0.7553 GB, free: 27.32 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.39e-05/1.142, allocations: 3.906 kB / 0.7553 GB, free: 27.32 MB / 0.5105 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.0008945/1.143, allocations: 0.5895 MB / 0.7559 GB, free: 26.79 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/1.143, allocations: 7.812 kB / 0.7559 GB, free: 26.79 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.761e-05/1.143, allocations: 31.06 kB / 0.7559 GB, free: 26.78 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00037/1.143, allocations: 250.2 kB / 0.7562 GB, free: 26.55 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.949e-05/1.143, allocations: 22.19 kB / 0.7562 GB, free: 26.55 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.232e-05/1.143, allocations: 15.34 kB / 0.7562 GB, free: 26.55 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002694/1.144, allocations: 139.5 kB / 0.7563 GB, free: 26.52 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/1.144, allocations: 3.938 kB / 0.7563 GB, free: 26.51 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.887e-05/1.144, allocations: 6.906 kB / 0.7563 GB, free: 26.51 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/1.144, allocations: 0 / 0.7563 GB, free: 26.51 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001052/1.144, allocations: 43.48 kB / 0.7564 GB, free: 26.51 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003816/1.144, allocations: 336.5 kB / 0.7567 GB, free: 26.27 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000239/1.144, allocations: 133.6 kB / 0.7568 GB, free: 26.23 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001024/1.144, allocations: 58.78 kB / 0.7569 GB, free: 26.21 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.521e-05/1.145, allocations: 0 / 0.7569 GB, free: 26.21 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004092/1.145, allocations: 220.3 kB / 0.7571 GB, free: 26.1 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=18): time 1.512e-06/1.145, allocations: 0 / 0.7571 GB, free: 26.1 MB / 0.5105 GB Notification: Performance of matching and sorting (n=18): time 0.000457/1.145, allocations: 218.3 kB / 0.7573 GB, free: 26.03 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.693e-05/1.145, allocations: 59.23 kB / 0.7574 GB, free: 25.96 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002577/1.146, allocations: 250.5 kB / 0.7576 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.589e-05/1.146, allocations: 40.64 kB / 0.7576 GB, free: 25.81 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 9.581e-05/1.146, allocations: 100.2 kB / 0.7577 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.989e-05/1.146, allocations: 38.16 kB / 0.7578 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.999e-05/1.146, allocations: 7.594 kB / 0.7578 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001569/1.146, allocations: 325.7 kB / 0.7581 GB, free: 25.38 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002252/1.146, allocations: 92.59 kB / 0.7582 GB, free: 25.37 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000238/1.147, allocations: 157.5 kB / 0.7583 GB, free: 25.3 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000226/1.147, allocations: 150.8 kB / 0.7585 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.071e-06/1.147, allocations: 3.953 kB / 0.7585 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006576/1.148, allocations: 417.8 kB / 0.7589 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.476e-05/1.148, allocations: 72.92 kB / 0.7589 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/1.148, allocations: 3.844 kB / 0.759 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.384e-05/1.148, allocations: 0 / 0.759 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001672/1.148, allocations: 34.34 kB / 0.759 GB, free: 24.97 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.237e-05/1.148, allocations: 3.875 kB / 0.759 GB, free: 24.97 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003563/1.148, allocations: 41.81 kB / 0.759 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.678e-05/1.148, allocations: 59.17 kB / 0.7591 GB, free: 24.95 MB / 0.5105 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 ($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 () * 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.0001341/1.148, allocations: 134.5 kB / 0.7592 GB, free: 24.83 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.758e-05/1.149, allocations: 26.95 kB / 0.7592 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.994e-05/1.149, allocations: 28.28 kB / 0.7593 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/1.149, allocations: 3.781 kB / 0.7593 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.655e-06/1.149, allocations: 0 / 0.7593 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/1.149, allocations: 0 / 0.7593 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007343/1.149, allocations: 0.5631 MB / 0.7598 GB, free: 24.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/1.149, allocations: 0 / 0.7598 GB, free: 24.41 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.971e-05/1.149, allocations: 15.45 kB / 0.7598 GB, free: 24.41 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.786e-06/1.149, allocations: 0 / 0.7598 GB, free: 24.41 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.658e-05/1.149, allocations: 14.48 kB / 0.7598 GB, free: 24.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/1.149, allocations: 0 / 0.7598 GB, free: 24.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/1.149, allocations: 0 / 0.7598 GB, free: 24.4 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003387/1.15, allocations: 316.5 kB / 0.7601 GB, free: 24.22 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000172/1.15, allocations: 161.9 kB / 0.7603 GB, free: 24.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.986e-05/1.15, allocations: 15.17 kB / 0.7603 GB, free: 24.08 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001675/1.15, allocations: 10.56 kB / 0.7603 GB, free: 24.08 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.888e-05/1.15, allocations: 15.62 kB / 0.7603 GB, free: 24.07 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.865e-05/1.15, allocations: 30.45 kB / 0.7604 GB, free: 24.07 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001818/1.151, allocations: 207 kB / 0.7606 GB, free: 23.96 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.5e-07/1.151, allocations: 0 / 0.7606 GB, free: 23.96 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003072/1.151, allocations: 52.59 kB / 0.7606 GB, free: 23.96 MB / 0.5105 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) * 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.0001924/1.151, allocations: 120.1 kB / 0.7607 GB, free: 23.86 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0006068/1.152, allocations: 342.8 kB / 0.7611 GB, free: 23.71 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.604e-06/1.152, allocations: 0 / 0.7611 GB, free: 23.71 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001653/1.152, allocations: 73.19 kB / 0.7611 GB, free: 23.7 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003326/1.152, allocations: 18.91 kB / 0.7611 GB, free: 23.7 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005671/1.153, allocations: 281.6 kB / 0.7614 GB, free: 23.54 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003612/1.153, allocations: 0.748 MB / 0.7621 GB, free: 22.82 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001387/1.153, allocations: 39.77 kB / 0.7622 GB, free: 22.8 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001071/1.153, allocations: 33.86 kB / 0.7622 GB, free: 22.79 MB / 0.5105 GB Notification: Performance of SimCode: time 2.5e-07/1.153, allocations: 0 / 0.7622 GB, free: 22.79 MB / 0.5105 GB Notification: Performance of Templates: time 0.007224/1.161, allocations: 4.313 MB / 0.7664 GB, free: 20.6 MB / 0.5105 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.sim & ./IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)