Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="IDEAS_dev_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.001699/0.001699, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001745/0.001745, allocations: 192.5 kB / 16.25 MB, free: 6.59 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.556/1.556, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.024/1.024, allocations: 135.1 MB / 425.2 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001808/0.001808, allocations: 63.28 kB / 0.505 GB, free: 5.512 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2102/0.2121, allocations: 80.93 MB / 0.584 GB, free: 4.746 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.0031/0.2152, allocations: 1.523 MB / 0.5855 GB, free: 3.207 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001048/0.2163, allocations: 420.3 kB / 0.5859 GB, free: 2.793 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.167e-05/0.2164, allocations: 4 kB / 0.5859 GB, free: 2.789 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001201/0.2166, allocations: 3.938 kB / 0.5859 GB, free: 2.785 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001218/0.2167, allocations: 20.23 kB / 0.5859 GB, free: 2.766 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008207/0.2175, allocations: 228.4 kB / 0.5861 GB, free: 2.547 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004202/0.218, allocations: 319.9 kB / 0.5864 GB, free: 2.234 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.975e-05/0.218, allocations: 4 kB / 0.5864 GB, free: 2.23 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004015/0.2184, allocations: 238.3 kB / 0.5867 GB, free: 2 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002619/0.2187, allocations: 119.6 kB / 0.5868 GB, free: 1.883 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.117e-05/0.2188, allocations: 20 kB / 0.5868 GB, free: 1.863 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.185e-05/0.2188, allocations: 16 kB / 0.5868 GB, free: 1.848 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001198/0.219, allocations: 83.77 kB / 0.5869 GB, free: 1.766 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001586/0.2191, allocations: 127.4 kB / 0.587 GB, free: 1.641 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003471/0.2195, allocations: 295.3 kB / 0.5873 GB, free: 1.352 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.2195, allocations: 0 / 0.5873 GB, free: 1.352 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.2195, allocations: 0 / 0.5873 GB, free: 1.352 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.777e-06/0.2195, allocations: 0 / 0.5873 GB, free: 1.352 MB / 494.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.001333/0.2209, allocations: 0.6958 MB / 0.588 GB, free: 0.582 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.2209, allocations: 8.031 kB / 0.588 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.372e-05/0.221, allocations: 42.56 kB / 0.588 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001077/0.2211, allocations: 35.7 kB / 0.5881 GB, free: 500 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003128/0.2214, allocations: 262.3 kB / 0.5883 GB, free: 196 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.915e-05/0.2214, allocations: 7.984 kB / 0.5883 GB, free: 188 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.575e-05/0.2215, allocations: 20 kB / 0.5883 GB, free: 168 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003059/0.2218, allocations: 149.5 kB / 0.5885 GB, free: 12 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.2218, allocations: 0 / 0.5885 GB, free: 12 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.155e-05/0.2219, allocations: 7.984 kB / 0.5885 GB, free: 4 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.385e-05/0.2219, allocations: 7.984 kB / 0.5885 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001419/0.2221, allocations: 43.94 kB / 0.5885 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003952/0.2225, allocations: 317.3 kB / 0.5888 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002915/0.2228, allocations: 122.7 kB / 0.589 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001262/0.2229, allocations: 60.83 kB / 0.589 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.918e-05/0.2229, allocations: 0 / 0.589 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000499/0.2234, allocations: 227.5 kB / 0.5892 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.863e-06/0.2235, allocations: 0 / 0.5892 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0006065/0.2241, allocations: 263.1 kB / 0.5895 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.419e-05/0.2241, allocations: 79.22 kB / 0.5896 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002943/0.2244, allocations: 294.9 kB / 0.5898 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.481e-05/0.2245, allocations: 37.7 kB / 0.5899 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.935e-05/0.2246, allocations: 89.14 kB / 0.59 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.16e-05/0.2246, allocations: 43.5 kB / 0.59 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001774/0.2248, allocations: 105.7 kB / 0.5901 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.2249, allocations: 318.8 kB / 0.5904 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000222/0.2252, allocations: 92.17 kB / 0.5905 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002446/0.2254, allocations: 154.4 kB / 0.5906 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000345/0.2258, allocations: 246.3 kB / 0.5909 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-06/0.2258, allocations: 7.938 kB / 0.5909 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007269/0.2265, allocations: 413.4 kB / 0.5913 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.828e-05/0.2266, allocations: 75.39 kB / 0.5913 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.2266, allocations: 4 kB / 0.5914 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.07e-05/0.2267, allocations: 3.938 kB / 0.5914 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001808/0.2268, allocations: 36.09 kB / 0.5914 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.715e-06/0.2269, allocations: 0 / 0.5914 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005295/0.2274, allocations: 59.8 kB / 0.5914 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.368e-05/0.2275, allocations: 55.98 kB / 0.5915 GB, free: 12.7 MB / 0.4981 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 (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.0002126/0.2277, allocations: 168 kB / 0.5917 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.682e-05/0.2278, allocations: 31.7 kB / 0.5917 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.585e-05/0.2278, allocations: 38.19 kB / 0.5917 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.2278, allocations: 0 / 0.5917 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.2279, allocations: 0 / 0.5917 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.2279, allocations: 0 / 0.5917 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008099/0.2287, allocations: 0.5664 MB / 0.5923 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.2287, allocations: 0 / 0.5923 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.159e-05/0.2287, allocations: 11.98 kB / 0.5923 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.716e-06/0.2288, allocations: 8 kB / 0.5923 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.68e-05/0.2288, allocations: 7.984 kB / 0.5923 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.1e-06/0.2288, allocations: 4 kB / 0.5923 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.2288, allocations: 7.922 kB / 0.5923 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004366/0.2293, allocations: 322.9 kB / 0.5926 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001736/0.2294, allocations: 156.7 kB / 0.5928 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.176e-05/0.2295, allocations: 11.98 kB / 0.5928 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000217/0.2297, allocations: 11.98 kB / 0.5928 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.015e-05/0.2298, allocations: 19.98 kB / 0.5928 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.184e-05/0.2298, allocations: 23.98 kB / 0.5928 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001959/0.23, allocations: 209.9 kB / 0.593 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2301, allocations: 0 / 0.593 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003392/0.2304, allocations: 52 kB / 0.5931 GB, free: 10.98 MB / 0.4981 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) * 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.0008215/0.2312, allocations: 0.8748 MB / 0.5939 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005904/0.2318, allocations: 353.3 kB / 0.5943 GB, free: 9.707 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.2318, allocations: 0 / 0.5943 GB, free: 9.707 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001579/0.232, allocations: 75.91 kB / 0.5944 GB, free: 9.633 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003575/0.2324, allocations: 26.14 kB / 0.5944 GB, free: 9.613 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003325/0.2357, allocations: 2.447 MB / 0.5968 GB, free: 7.043 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004057/0.2361, allocations: 0.7512 MB / 0.5975 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001463/0.2363, allocations: 37.36 kB / 0.5975 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001461/0.2364, allocations: 43.42 kB / 0.5976 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of SimCode: time 4.11e-07/0.2365, allocations: 0 / 0.5976 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01767/0.2541, allocations: 5.229 MB / 0.6027 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001924/0.2544, allocations: 204.5 kB / 0.6029 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.038/2.292, allocations: 0 / 0.6029 GB, free: 0.8633 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsPlus.fmu > IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)