Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.CalendarTimeMonthsPlus,fileNamePrefix="IDEAS_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="IDEAS_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsPlus",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.001352/0.001352, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001513/0.001514, allocations: 190.8 kB / 16.14 MB, free: 6.707 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.403/1.403, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8214/0.8214, allocations: 132.2 MB / 422.1 MB, free: 2.051 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00114/0.00114, allocations: 55.78 kB / 0.5012 GB, free: 4.262 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3646/0.3657, allocations: 80.21 MB / 0.5795 GB, free: 4.562 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.001926/0.3677, allocations: 1.551 MB / 0.581 GB, free: 3.48 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007658/0.3685, allocations: 444.5 kB / 0.5814 GB, free: 3.199 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.635e-05/0.3685, allocations: 0.8438 kB / 0.5814 GB, free: 3.199 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 7.562e-05/0.3686, allocations: 5.438 kB / 0.5814 GB, free: 3.195 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 7.697e-05/0.3687, allocations: 16.66 kB / 0.5815 GB, free: 3.191 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004711/0.3692, allocations: 226.4 kB / 0.5817 GB, free: 3.074 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002308/0.3694, allocations: 288.9 kB / 0.5819 GB, free: 2.977 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.569e-05/0.3694, allocations: 9.266 kB / 0.582 GB, free: 2.973 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002375/0.3697, allocations: 216.7 kB / 0.5822 GB, free: 2.914 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001671/0.3699, allocations: 116.2 kB / 0.5823 GB, free: 2.879 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.49e-05/0.3699, allocations: 9.844 kB / 0.5823 GB, free: 2.879 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.679e-05/0.37, allocations: 13.91 kB / 0.5823 GB, free: 2.875 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.841e-05/0.3701, allocations: 74.67 kB / 0.5824 GB, free: 2.852 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001359/0.3702, allocations: 123.7 kB / 0.5825 GB, free: 2.785 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002691/0.3705, allocations: 279.8 kB / 0.5827 GB, free: 2.684 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.3705, allocations: 0.75 kB / 0.5827 GB, free: 2.684 MB / 430.1 MB Notification: Performance of FrontEnd: time 6.41e-07/0.3705, allocations: 0 / 0.5827 GB, free: 2.684 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.847e-06/0.3705, allocations: 0.75 kB / 0.5828 GB, free: 2.684 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.0009276/0.3715, allocations: 0.6997 MB / 0.5834 GB, free: 2.078 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.981e-05/0.3715, allocations: 13.41 kB / 0.5834 GB, free: 2.074 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.978e-05/0.3715, allocations: 35.2 kB / 0.5835 GB, free: 2.035 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.008e-05/0.3716, allocations: 35.12 kB / 0.5835 GB, free: 2.02 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002118/0.3718, allocations: 265.3 kB / 0.5838 GB, free: 1.773 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.442e-05/0.3719, allocations: 12.72 kB / 0.5838 GB, free: 1.77 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.628e-05/0.3719, allocations: 15.97 kB / 0.5838 GB, free: 1.77 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002753/0.3722, allocations: 148.6 kB / 0.5839 GB, free: 1.711 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.821e-06/0.3722, allocations: 0 / 0.5839 GB, free: 1.711 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.387e-05/0.3723, allocations: 2.656 kB / 0.5839 GB, free: 1.711 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.698e-06/0.3723, allocations: 5.5 kB / 0.5839 GB, free: 1.707 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001219/0.3724, allocations: 49.8 kB / 0.584 GB, free: 1.691 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002605/0.3727, allocations: 311.6 kB / 0.5843 GB, free: 1.449 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002431/0.3729, allocations: 133 kB / 0.5844 GB, free: 1.387 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001115/0.373, allocations: 56.7 kB / 0.5845 GB, free: 1.363 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.858e-05/0.3731, allocations: 1.844 kB / 0.5845 GB, free: 1.363 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003874/0.3734, allocations: 221.3 kB / 0.5847 GB, free: 1.273 MB / 430.1 MB Notification: Performance of pre-optimization done (n=18): time 1.263e-06/0.3735, allocations: 0 / 0.5847 GB, free: 1.273 MB / 430.1 MB Notification: Performance of matching and sorting (n=18): time 0.00052/0.374, allocations: 271.8 kB / 0.5849 GB, free: 1.176 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.276e-05/0.374, allocations: 69.38 kB / 0.585 GB, free: 1.102 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002295/0.3742, allocations: 287.4 kB / 0.5853 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.069e-05/0.3743, allocations: 41.8 kB / 0.5853 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.413e-05/0.3743, allocations: 87.78 kB / 0.5854 GB, free: 0.8242 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.768e-05/0.3744, allocations: 43.25 kB / 0.5854 GB, free: 0.793 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001484/0.3745, allocations: 107.2 kB / 0.5855 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.715e-05/0.3746, allocations: 322.2 kB / 0.5859 GB, free: 436 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002055/0.3748, allocations: 102.6 kB / 0.586 GB, free: 400 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002142/0.375, allocations: 149 kB / 0.5861 GB, free: 308 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002608/0.3753, allocations: 239.5 kB / 0.5863 GB, free: 124 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.3753, allocations: 4.969 kB / 0.5863 GB, free: 120 kB / 430.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006661/0.376, allocations: 417.6 kB / 0.5867 GB, free: 15.93 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.947e-05/0.376, allocations: 74.33 kB / 0.5868 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.376, allocations: 2.266 kB / 0.5868 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.3761, allocations: 11.16 kB / 0.5868 GB, free: 15.85 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001523/0.3762, allocations: 30.66 kB / 0.5868 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.3762, allocations: 3.328 kB / 0.5868 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005001/0.3767, allocations: 56.53 kB / 0.5869 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-05/0.3768, allocations: 51.48 kB / 0.5869 GB, free: 15.84 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.0001642/0.377, allocations: 179.4 kB / 0.5871 GB, free: 15.69 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.375e-05/0.377, allocations: 28.41 kB / 0.5871 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.994e-05/0.3771, allocations: 36.28 kB / 0.5872 GB, free: 15.65 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.746e-06/0.3771, allocations: 1.719 kB / 0.5872 GB, free: 15.65 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.3771, allocations: 0.7031 kB / 0.5872 GB, free: 15.65 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.3771, allocations: 0.5156 kB / 0.5872 GB, free: 15.65 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007235/0.3778, allocations: 0.5599 MB / 0.5877 GB, free: 15.26 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.3778, allocations: 0.5312 kB / 0.5877 GB, free: 15.26 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.206e-05/0.3779, allocations: 12.33 kB / 0.5877 GB, free: 15.26 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.3779, allocations: 1.031 kB / 0.5877 GB, free: 15.26 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.943e-05/0.3779, allocations: 15.11 kB / 0.5878 GB, free: 15.25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.3779, allocations: 0.9688 kB / 0.5878 GB, free: 15.25 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.378, allocations: 1.656 kB / 0.5878 GB, free: 15.25 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003854/0.3783, allocations: 320.4 kB / 0.5881 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001597/0.3785, allocations: 154 kB / 0.5882 GB, free: 14.95 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.413e-05/0.3786, allocations: 10.17 kB / 0.5882 GB, free: 14.94 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002128/0.3788, allocations: 21.97 kB / 0.5882 GB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.81e-05/0.3788, allocations: 17.17 kB / 0.5883 GB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.415e-05/0.3789, allocations: 32.91 kB / 0.5883 GB, free: 14.92 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001742/0.3791, allocations: 207.6 kB / 0.5885 GB, free: 14.81 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3791, allocations: 0.6875 kB / 0.5885 GB, free: 14.81 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002879/0.3794, allocations: 47.88 kB / 0.5885 GB, free: 14.8 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.000674/0.3801, allocations: 0.8754 MB / 0.5894 GB, free: 14.07 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005386/0.3806, allocations: 342.7 kB / 0.5897 GB, free: 13.88 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.3806, allocations: 0 / 0.5897 GB, free: 13.88 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001376/0.3808, allocations: 69.39 kB / 0.5898 GB, free: 13.86 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002975/0.3811, allocations: 25.67 kB / 0.5898 GB, free: 13.85 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00269/0.3838, allocations: 2.468 MB / 0.5922 GB, free: 12.03 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002725/0.384, allocations: 0.7424 MB / 0.5929 GB, free: 11.33 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001326/0.3842, allocations: 38.19 kB / 0.593 GB, free: 11.32 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001287/0.3843, allocations: 43.58 kB / 0.593 GB, free: 11.3 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3843, allocations: 0 / 0.593 GB, free: 11.3 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02391/0.4082, allocations: 5.06 MB / 0.598 GB, free: 9.441 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000212/0.4085, allocations: 198.4 kB / 0.5982 GB, free: 9.188 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.026/2.434, allocations: 0 / 0.5982 GB, free: 9.188 MB / 446.1 MB (rm -f IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsPlus.fmu > IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)