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: "" <> buildModelFMU(IDEAS.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="IDEAS_IDEAS_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="IDEAS_IDEAS_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001049/0.001049, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.0009925/0.0009926, allocations: 194.8 kB / 16.25 MB, free: 6.621 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.355/1.355, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7673/0.7673, allocations: 132.2 MB / 422.3 MB, free: 1.875 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 57.19 kB / 0.5013 GB, free: 4.07 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3709/0.3721, allocations: 80.2 MB / 0.5797 GB, free: 4.773 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonths): time 0.002237/0.3744, allocations: 1.529 MB / 0.5812 GB, free: 3.711 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008163/0.3752, allocations: 421.5 kB / 0.5816 GB, free: 3.441 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.373e-05/0.3752, allocations: 0 / 0.5816 GB, free: 3.441 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 9.173e-05/0.3753, allocations: 14.69 kB / 0.5816 GB, free: 3.43 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 8.715e-05/0.3754, allocations: 23.44 kB / 0.5816 GB, free: 3.418 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005481/0.376, allocations: 228.9 kB / 0.5818 GB, free: 3.301 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003298/0.3763, allocations: 313.4 kB / 0.5821 GB, free: 3.184 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.679e-05/0.3764, allocations: 10.86 kB / 0.5821 GB, free: 3.18 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002826/0.3767, allocations: 236.8 kB / 0.5824 GB, free: 3.105 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001912/0.3769, allocations: 126.1 kB / 0.5825 GB, free: 3.062 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.24e-05/0.3769, allocations: 18.66 kB / 0.5825 GB, free: 3.062 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.897e-05/0.377, allocations: 18.56 kB / 0.5825 GB, free: 3.062 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001012/0.3771, allocations: 78.41 kB / 0.5826 GB, free: 3.035 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001314/0.3772, allocations: 127 kB / 0.5827 GB, free: 2.965 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003004/0.3775, allocations: 295.8 kB / 0.583 GB, free: 2.852 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.3775, allocations: 0 / 0.583 GB, free: 2.852 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3776, allocations: 1.438 kB / 0.583 GB, free: 2.852 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.3776, allocations: 0 / 0.583 GB, free: 2.852 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.0009882/0.3786, allocations: 0.6985 MB / 0.5837 GB, free: 2.246 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.3786, allocations: 9.125 kB / 0.5837 GB, free: 2.246 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.343e-05/0.3786, allocations: 39.78 kB / 0.5837 GB, free: 2.203 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.087e-05/0.3787, allocations: 31.08 kB / 0.5837 GB, free: 2.191 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002137/0.3789, allocations: 264.5 kB / 0.584 GB, free: 1.945 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.642e-05/0.379, allocations: 10.16 kB / 0.584 GB, free: 1.945 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.759e-05/0.379, allocations: 19.2 kB / 0.584 GB, free: 1.941 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002866/0.3793, allocations: 153.4 kB / 0.5842 GB, free: 1.879 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.3794, allocations: 0 / 0.5842 GB, free: 1.879 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.582e-05/0.3794, allocations: 2.297 kB / 0.5842 GB, free: 1.879 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.271e-06/0.3794, allocations: 2.031 kB / 0.5842 GB, free: 1.879 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001283/0.3795, allocations: 53.38 kB / 0.5842 GB, free: 1.859 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003008/0.3798, allocations: 307.4 kB / 0.5845 GB, free: 1.621 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002623/0.3801, allocations: 133 kB / 0.5846 GB, free: 1.559 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001295/0.3802, allocations: 54 kB / 0.5847 GB, free: 1.539 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.379e-05/0.3803, allocations: 9.844 kB / 0.5847 GB, free: 1.531 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004231/0.3807, allocations: 228.2 kB / 0.5849 GB, free: 1.434 MB / 430.1 MB Notification: Performance of pre-optimization done (n=18): time 1.512e-06/0.3807, allocations: 0 / 0.5849 GB, free: 1.434 MB / 430.1 MB Notification: Performance of matching and sorting (n=18): time 0.0005594/0.3813, allocations: 278.6 kB / 0.5852 GB, free: 1.332 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.094e-05/0.3813, allocations: 57.31 kB / 0.5852 GB, free: 1.27 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002477/0.3816, allocations: 287.3 kB / 0.5855 GB, free: 1.113 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.4e-05/0.3816, allocations: 43.22 kB / 0.5856 GB, free: 1.074 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.758e-05/0.3817, allocations: 90.92 kB / 0.5856 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.008e-05/0.3817, allocations: 42.45 kB / 0.5857 GB, free: 0.957 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000161/0.3819, allocations: 108.3 kB / 0.5858 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.403e-05/0.3819, allocations: 320.8 kB / 0.5861 GB, free: 0.5898 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002131/0.3821, allocations: 95.27 kB / 0.5862 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002187/0.3824, allocations: 153.5 kB / 0.5863 GB, free: 480 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002697/0.3827, allocations: 239 kB / 0.5866 GB, free: 296 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.3827, allocations: 8.875 kB / 0.5866 GB, free: 288 kB / 430.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006533/0.3833, allocations: 413.6 kB / 0.587 GB, free: 96 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.814e-05/0.3834, allocations: 76.89 kB / 0.587 GB, free: 24 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.3834, allocations: 1.625 kB / 0.587 GB, free: 24 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.3834, allocations: 7.406 kB / 0.587 GB, free: 20 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001627/0.3836, allocations: 26.33 kB / 0.5871 GB, free: 16 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/0.3836, allocations: 6.953 kB / 0.5871 GB, free: 12 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005004/0.3841, allocations: 60.8 kB / 0.5871 GB, free: 0 / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001094/0.3842, allocations: 55.45 kB / 0.5872 GB, free: 15.99 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.0001726/0.3844, allocations: 175.5 kB / 0.5874 GB, free: 15.85 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.744e-05/0.3844, allocations: 28.61 kB / 0.5874 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.511e-05/0.3845, allocations: 39.52 kB / 0.5874 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.3845, allocations: 2.094 kB / 0.5874 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.3845, allocations: 0.7031 kB / 0.5874 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.3845, allocations: 1.844 kB / 0.5874 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007712/0.3853, allocations: 0.5555 MB / 0.588 GB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3853, allocations: 0 / 0.588 GB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.306e-05/0.3854, allocations: 8.672 kB / 0.588 GB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.3854, allocations: 1.438 kB / 0.588 GB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.808e-05/0.3854, allocations: 10.28 kB / 0.588 GB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3854, allocations: 5.125 kB / 0.588 GB, free: 15.42 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.3854, allocations: 1.547 kB / 0.588 GB, free: 15.42 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000424/0.3859, allocations: 332.1 kB / 0.5883 GB, free: 15.22 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001631/0.386, allocations: 154.3 kB / 0.5885 GB, free: 15.1 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.64e-05/0.3861, allocations: 10.25 kB / 0.5885 GB, free: 15.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002117/0.3863, allocations: 13.64 kB / 0.5885 GB, free: 15.09 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.451e-05/0.3864, allocations: 14.14 kB / 0.5885 GB, free: 15.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.154e-05/0.3864, allocations: 28.03 kB / 0.5885 GB, free: 15.09 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001797/0.3866, allocations: 216.4 kB / 0.5887 GB, free: 14.97 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3866, allocations: 0 / 0.5887 GB, free: 14.97 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003066/0.3869, allocations: 48.39 kB / 0.5888 GB, free: 14.97 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.0007039/0.3876, allocations: 0.8659 MB / 0.5896 GB, free: 14.25 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005665/0.3882, allocations: 352.6 kB / 0.59 GB, free: 14.04 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3882, allocations: 0 / 0.59 GB, free: 14.04 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001497/0.3884, allocations: 76.59 kB / 0.59 GB, free: 14.02 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003159/0.3887, allocations: 21.98 kB / 0.5901 GB, free: 14.01 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002849/0.3916, allocations: 2.462 MB / 0.5925 GB, free: 12.2 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002851/0.3919, allocations: 0.7412 MB / 0.5932 GB, free: 11.5 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001391/0.392, allocations: 42.14 kB / 0.5932 GB, free: 11.48 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001543/0.3922, allocations: 51.64 kB / 0.5933 GB, free: 11.45 MB / 446.1 MB Notification: Performance of SimCode: time 6.51e-07/0.3922, allocations: 0 / 0.5933 GB, free: 11.45 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.533/2.925, allocations: 5.226 MB / 0.5984 GB, free: 9.473 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002323/2.925, allocations: 188.8 kB / 0.5986 GB, free: 9.219 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.966/4.891, allocations: 0 / 0.5986 GB, free: 9.219 MB / 446.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Time_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Time_Validation_CalendarTimeMonths.fmu > IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)