Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonthsPlus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(Annex60.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3334/0.3334, allocations: 54.41 MB / 61.89 MB, free: 13.74 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001036/0.001036, allocations: 176.2 kB / 75.6 MB, free: 0.7812 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.642/1.642, allocations: 194.3 MB / 283.5 MB, free: 14.8 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001611/0.001611, allocations: 100.9 kB / 341.6 MB, free: 4.039 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.167e-05/2.168e-05, allocations: 4.203 kB / 405.5 MB, free: 4.152 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4661/0.4661, allocations: 57.65 MB / 463.1 MB, free: 51.74 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1349/0.6011, allocations: 86.6 MB / 0.5369 GB, free: 14.59 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002339/0.6014, allocations: 70.58 kB / 0.5369 GB, free: 14.53 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01338/0.6148, allocations: 4.097 MB / 0.5409 GB, free: 10.49 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.6149, allocations: 0 / 0.5409 GB, free: 10.49 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.441e-05/0.6149, allocations: 4.656 kB / 0.5409 GB, free: 10.48 MB / 394.7 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.001143/0.6161, allocations: 0.5404 MB / 0.5415 GB, free: 9.875 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.888e-05/0.6161, allocations: 8.031 kB / 0.5415 GB, free: 9.867 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001626/0.6163, allocations: 23.81 kB / 0.5415 GB, free: 9.844 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002136/0.6165, allocations: 185.3 kB / 0.5417 GB, free: 9.621 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.325e-05/0.6166, allocations: 11.98 kB / 0.5417 GB, free: 9.609 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.48e-05/0.6167, allocations: 19.98 kB / 0.5417 GB, free: 9.59 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001378/0.6168, allocations: 37.86 kB / 0.5417 GB, free: 9.555 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000242/0.6171, allocations: 142.2 kB / 0.5419 GB, free: 9.41 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.6171, allocations: 7.875 kB / 0.5419 GB, free: 9.402 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.609e-05/0.6171, allocations: 0 / 0.5419 GB, free: 9.402 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.157e-06/0.6171, allocations: 4 kB / 0.5419 GB, free: 9.398 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004246/0.6176, allocations: 281.9 kB / 0.5422 GB, free: 9.086 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002068/0.6178, allocations: 114.7 kB / 0.5423 GB, free: 8.965 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001075/0.6179, allocations: 49.72 kB / 0.5423 GB, free: 8.914 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.913e-05/0.618, allocations: 0 / 0.5423 GB, free: 8.914 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003766/0.6183, allocations: 197.9 kB / 0.5425 GB, free: 8.711 MB / 394.7 MB Notification: Performance of pre-optimization done (n=18): time 1.914e-06/0.6184, allocations: 0 / 0.5425 GB, free: 8.711 MB / 394.7 MB Notification: Performance of matching and sorting (n=18): time 0.0004645/0.6188, allocations: 197.3 kB / 0.5427 GB, free: 8.512 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.1e-05/0.6189, allocations: 55.41 kB / 0.5427 GB, free: 8.445 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002417/0.6191, allocations: 202.9 kB / 0.5429 GB, free: 8.242 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.515e-05/0.6192, allocations: 33.7 kB / 0.543 GB, free: 8.203 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.15e-05/0.6193, allocations: 88.92 kB / 0.543 GB, free: 8.113 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.18e-05/0.6194, allocations: 43.45 kB / 0.5431 GB, free: 8.07 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.356e-05/0.6194, allocations: 7.922 kB / 0.5431 GB, free: 8.062 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.6196, allocations: 322.8 kB / 0.5434 GB, free: 7.738 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001838/0.6198, allocations: 85.91 kB / 0.5435 GB, free: 7.656 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002362/0.62, allocations: 134.2 kB / 0.5436 GB, free: 7.504 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001569/0.6202, allocations: 68.69 kB / 0.5437 GB, free: 7.434 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.6202, allocations: 4 kB / 0.5437 GB, free: 7.43 MB / 394.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006029/0.6208, allocations: 301.1 kB / 0.544 GB, free: 7.133 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.994e-05/0.6209, allocations: 71.39 kB / 0.544 GB, free: 7.051 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.325e-05/0.6209, allocations: 7.984 kB / 0.544 GB, free: 7.043 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.476e-05/0.621, allocations: 0 / 0.544 GB, free: 7.043 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001745/0.6211, allocations: 27.92 kB / 0.5441 GB, free: 7.016 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.6212, allocations: 7.953 kB / 0.5441 GB, free: 7.008 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003785/0.6215, allocations: 44.06 kB / 0.5441 GB, free: 6.965 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.489e-05/0.6216, allocations: 39.98 kB / 0.5442 GB, free: 6.926 MB / 394.7 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 () * 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.0001663/0.6218, allocations: 127.2 kB / 0.5443 GB, free: 6.793 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.249e-05/0.6219, allocations: 19.72 kB / 0.5443 GB, free: 6.773 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.007e-05/0.6219, allocations: 25.95 kB / 0.5443 GB, free: 6.754 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.6219, allocations: 0 / 0.5443 GB, free: 6.754 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.301e-06/0.622, allocations: 3.938 kB / 0.5443 GB, free: 6.75 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.348e-06/0.622, allocations: 11.95 kB / 0.5443 GB, free: 6.738 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008184/0.6228, allocations: 0.4979 MB / 0.5448 GB, free: 6.199 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.6228, allocations: 0 / 0.5448 GB, free: 6.199 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.895e-05/0.6229, allocations: 11.98 kB / 0.5448 GB, free: 6.188 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.6229, allocations: 0 / 0.5448 GB, free: 6.188 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.882e-05/0.6229, allocations: 11.98 kB / 0.5448 GB, free: 6.176 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.6229, allocations: 0 / 0.5448 GB, free: 6.176 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.441e-06/0.6229, allocations: 6.578 kB / 0.5449 GB, free: 6.172 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000435/0.6234, allocations: 295.2 kB / 0.5451 GB, free: 5.867 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001738/0.6236, allocations: 136.8 kB / 0.5453 GB, free: 5.715 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.862e-05/0.6236, allocations: 10 kB / 0.5453 GB, free: 5.707 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001699/0.6238, allocations: 15.98 kB / 0.5453 GB, free: 5.691 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.409e-05/0.6239, allocations: 11.94 kB / 0.5453 GB, free: 5.68 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.801e-05/0.6239, allocations: 23.98 kB / 0.5453 GB, free: 5.656 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001522/0.6241, allocations: 157.6 kB / 0.5455 GB, free: 5.504 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6241, allocations: 4 kB / 0.5455 GB, free: 5.5 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003495/0.6245, allocations: 43.98 kB / 0.5455 GB, free: 5.457 MB / 394.7 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) * 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.0001935/0.6247, allocations: 114.2 kB / 0.5456 GB, free: 5.336 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005246/0.6252, allocations: 322.7 kB / 0.5459 GB, free: 4.996 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.6252, allocations: 3.938 kB / 0.5459 GB, free: 4.992 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001272/0.6253, allocations: 63.11 kB / 0.546 GB, free: 4.934 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002589/0.6256, allocations: 24.09 kB / 0.546 GB, free: 4.914 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005132/0.6261, allocations: 212.9 kB / 0.5462 GB, free: 4.691 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003846/0.6265, allocations: 0.7318 MB / 0.5469 GB, free: 3.934 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001263/0.6267, allocations: 33.2 kB / 0.547 GB, free: 3.902 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001017/0.6268, allocations: 27.42 kB / 0.547 GB, free: 3.875 MB / 394.7 MB Notification: Performance of SimCode: time 4.4e-07/0.6268, allocations: 4 kB / 0.547 GB, free: 3.871 MB / 394.7 MB Notification: Performance of Templates: time 0.007721/0.6345, allocations: 3.744 MB / 0.5507 GB, free: 172 kB / 394.7 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)