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.001155/0.001155, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001043/0.001043, allocations: 193 kB / 16.13 MB, free: 6.66 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.418/1.418, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9459/0.9459, allocations: 135.1 MB / 425.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 63.53 kB / 0.5048 GB, free: 5.715 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.191/0.1923, allocations: 80.93 MB / 0.5838 GB, free: 4.957 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002917/0.1952, allocations: 1.527 MB / 0.5853 GB, free: 3.414 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001132/0.1964, allocations: 460.6 kB / 0.5857 GB, free: 2.965 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.677e-05/0.1965, allocations: 0 / 0.5857 GB, free: 2.965 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001129/0.1966, allocations: 11.94 kB / 0.5857 GB, free: 2.953 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001081/0.1967, allocations: 12.3 kB / 0.5858 GB, free: 2.941 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006278/0.1974, allocations: 222.8 kB / 0.586 GB, free: 2.727 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002751/0.1976, allocations: 287.9 kB / 0.5862 GB, free: 2.445 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.658e-05/0.1977, allocations: 8 kB / 0.5862 GB, free: 2.438 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002719/0.198, allocations: 210.3 kB / 0.5864 GB, free: 2.234 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000193/0.1982, allocations: 119.5 kB / 0.5866 GB, free: 2.117 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.213e-05/0.1983, allocations: 12 kB / 0.5866 GB, free: 2.105 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.637e-05/0.1983, allocations: 8 kB / 0.5866 GB, free: 2.098 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001297/0.1985, allocations: 83.77 kB / 0.5867 GB, free: 2.016 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001723/0.1986, allocations: 119.4 kB / 0.5868 GB, free: 1.898 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003053/0.1989, allocations: 283.3 kB / 0.587 GB, free: 1.621 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.199, allocations: 0 / 0.587 GB, free: 1.621 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.199, allocations: 4 kB / 0.5871 GB, free: 1.617 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.199, allocations: 0 / 0.5871 GB, free: 1.617 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.00125/0.2002, allocations: 0.6958 MB / 0.5877 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.485e-05/0.2003, allocations: 12.03 kB / 0.5877 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.713e-05/0.2004, allocations: 38.55 kB / 0.5878 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.502e-05/0.2005, allocations: 31.72 kB / 0.5878 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003401/0.2008, allocations: 258.3 kB / 0.5881 GB, free: 476 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.461e-05/0.2008, allocations: 19.98 kB / 0.5881 GB, free: 456 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.217e-05/0.2009, allocations: 19.98 kB / 0.5881 GB, free: 436 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003245/0.2012, allocations: 153.4 kB / 0.5882 GB, free: 276 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.2013, allocations: 0 / 0.5882 GB, free: 276 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.876e-05/0.2013, allocations: 4 kB / 0.5882 GB, free: 272 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.2013, allocations: 4 kB / 0.5882 GB, free: 268 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001302/0.2014, allocations: 43.91 kB / 0.5883 GB, free: 224 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003775/0.2018, allocations: 313.3 kB / 0.5886 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002847/0.2021, allocations: 130.7 kB / 0.5887 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001301/0.2023, allocations: 56.83 kB / 0.5888 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.53e-05/0.2023, allocations: 4 kB / 0.5888 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004863/0.2028, allocations: 215.6 kB / 0.589 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.482e-06/0.2028, allocations: 0 / 0.589 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0006039/0.2034, allocations: 272 kB / 0.5892 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.705e-05/0.2035, allocations: 71.3 kB / 0.5893 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002821/0.2038, allocations: 290.9 kB / 0.5896 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.151e-05/0.2038, allocations: 33.7 kB / 0.5896 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.337e-05/0.2039, allocations: 101.1 kB / 0.5897 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.709e-05/0.204, allocations: 39.52 kB / 0.5897 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001653/0.2041, allocations: 109.6 kB / 0.5899 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.2043, allocations: 326.8 kB / 0.5902 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002111/0.2045, allocations: 88.19 kB / 0.5902 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002458/0.2047, allocations: 146.4 kB / 0.5904 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000328/0.2051, allocations: 250.9 kB / 0.5906 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.2051, allocations: 3.938 kB / 0.5906 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006739/0.2058, allocations: 416.6 kB / 0.591 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.559e-05/0.2059, allocations: 75.39 kB / 0.5911 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.2059, allocations: 4 kB / 0.5911 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.2059, allocations: 7.938 kB / 0.5911 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001805/0.2061, allocations: 27.91 kB / 0.5911 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.348e-06/0.2061, allocations: 0 / 0.5911 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005339/0.2066, allocations: 63.98 kB / 0.5912 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.841e-05/0.2067, allocations: 63.91 kB / 0.5913 GB, free: 12.96 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.000188/0.2069, allocations: 164 kB / 0.5914 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.232e-05/0.207, allocations: 23.72 kB / 0.5914 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.771e-05/0.207, allocations: 34.19 kB / 0.5915 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.207, allocations: 0 / 0.5915 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.2071, allocations: 4 kB / 0.5915 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.2071, allocations: 7.984 kB / 0.5915 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008019/0.2079, allocations: 0.5605 MB / 0.592 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.2079, allocations: 3.984 kB / 0.592 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.672e-05/0.2079, allocations: 11.94 kB / 0.592 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.208, allocations: 0 / 0.592 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.032e-05/0.208, allocations: 15.98 kB / 0.5921 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.208, allocations: 0 / 0.5921 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.208, allocations: 0 / 0.5921 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004169/0.2084, allocations: 332.3 kB / 0.5924 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001613/0.2086, allocations: 156.6 kB / 0.5925 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.503e-05/0.2087, allocations: 8 kB / 0.5925 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002148/0.2089, allocations: 11.98 kB / 0.5925 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.981e-05/0.209, allocations: 11.98 kB / 0.5926 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.844e-05/0.209, allocations: 35.97 kB / 0.5926 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001856/0.2092, allocations: 205.9 kB / 0.5928 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2092, allocations: 4 kB / 0.5928 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003035/0.2095, allocations: 47.98 kB / 0.5928 GB, free: 11.25 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.000729/0.2102, allocations: 0.8682 MB / 0.5937 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005476/0.2108, allocations: 350.6 kB / 0.594 GB, free: 9.988 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.2108, allocations: 0 / 0.594 GB, free: 9.988 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000144/0.211, allocations: 79.84 kB / 0.5941 GB, free: 9.91 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003768/0.2114, allocations: 20.88 kB / 0.5941 GB, free: 9.891 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003015/0.2144, allocations: 2.455 MB / 0.5965 GB, free: 7.312 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003689/0.2148, allocations: 0.741 MB / 0.5972 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001465/0.2149, allocations: 37.42 kB / 0.5973 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001488/0.2151, allocations: 43.42 kB / 0.5973 GB, free: 6.465 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.2151, allocations: 0 / 0.5973 GB, free: 6.465 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01564/0.2307, allocations: 5.069 MB / 0.6023 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000181/0.231, allocations: 206.7 kB / 0.6025 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.042/2.273, allocations: 2.531 kB / 0.6025 GB, free: 1.289 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)