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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001313/0.001313, allocations: 109.2 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001458/0.001458, allocations: 219.8 kB / 22.26 MB, free: 5.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.482/1.482, allocations: 230.6 MB / 256 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8696/0.8696, allocations: 134 MB / 446.4 MB, free: 10.2 MB / 350.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 67.27 kB / 0.6185 GB, free: 7.23 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1932/0.1952, allocations: 85.91 MB / 0.7024 GB, free: 1.391 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.004627/0.1998, allocations: 1.505 MB / 0.7039 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001562/0.2014, allocations: 430 kB / 0.7043 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.184e-05/0.2015, allocations: 0 / 0.7043 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001345/0.2016, allocations: 11.86 kB / 0.7043 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001629/0.2018, allocations: 20.23 kB / 0.7043 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001271/0.203, allocations: 235.5 kB / 0.7046 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0006559/0.2037, allocations: 303.6 kB / 0.7048 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 6.119e-05/0.2037, allocations: 15.86 kB / 0.7049 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005083/0.2043, allocations: 199.7 kB / 0.7051 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004303/0.2047, allocations: 116 kB / 0.7052 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.108e-05/0.2048, allocations: 16 kB / 0.7052 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.864e-05/0.2049, allocations: 20 kB / 0.7052 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001543/0.205, allocations: 75.78 kB / 0.7053 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002184/0.2052, allocations: 123.4 kB / 0.7054 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0005361/0.2058, allocations: 291.2 kB / 0.7057 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.2058, allocations: 3.938 kB / 0.7057 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.393e-06/0.2058, allocations: 0 / 0.7057 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.312e-05/0.2058, allocations: 4 kB / 0.7057 GB, free: 14.05 MB / 0.5294 GB 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.001884/0.2077, allocations: 0.6271 MB / 0.7063 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.991e-05/0.2077, allocations: 12.03 kB / 0.7063 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.078e-05/0.2078, allocations: 38.67 kB / 0.7063 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001419/0.2079, allocations: 32.8 kB / 0.7064 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005081/0.2084, allocations: 202.7 kB / 0.7066 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.395e-05/0.2085, allocations: 16.11 kB / 0.7066 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001016/0.2086, allocations: 20 kB / 0.7066 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004879/0.2091, allocations: 156.7 kB / 0.7067 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.519e-05/0.2091, allocations: 3.984 kB / 0.7067 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.526e-05/0.2091, allocations: 3.984 kB / 0.7067 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.276e-05/0.2091, allocations: 4 kB / 0.7068 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002041/0.2093, allocations: 43.97 kB / 0.7068 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005727/0.2099, allocations: 280.5 kB / 0.7071 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005071/0.2104, allocations: 130.5 kB / 0.7072 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002243/0.2107, allocations: 48.83 kB / 0.7072 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.072e-05/0.2107, allocations: 0 / 0.7072 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007998/0.2115, allocations: 215.6 kB / 0.7074 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=18): time 2.455e-06/0.2115, allocations: 0 / 0.7074 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of matching and sorting (n=18): time 0.001063/0.2125, allocations: 279.4 kB / 0.7077 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.269e-05/0.2126, allocations: 55.41 kB / 0.7078 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005073/0.2131, allocations: 288.2 kB / 0.708 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 9.36e-05/0.2132, allocations: 41.69 kB / 0.7081 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001073/0.2133, allocations: 89.14 kB / 0.7082 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 9.905e-05/0.2134, allocations: 55.62 kB / 0.7082 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002787/0.2137, allocations: 109.8 kB / 0.7083 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002057/0.2139, allocations: 318.8 kB / 0.7086 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003735/0.2143, allocations: 92.17 kB / 0.7087 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004411/0.2147, allocations: 142.4 kB / 0.7088 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006248/0.2154, allocations: 245.9 kB / 0.7091 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.2154, allocations: 0 / 0.7091 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001249/0.2166, allocations: 418.1 kB / 0.7095 GB, free: 9.875 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001213/0.2167, allocations: 75.39 kB / 0.7095 GB, free: 9.789 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.2167, allocations: 4 kB / 0.7096 GB, free: 9.785 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.027e-05/0.2168, allocations: 7.922 kB / 0.7096 GB, free: 9.777 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002991/0.2171, allocations: 27.92 kB / 0.7096 GB, free: 9.75 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.2171, allocations: 0 / 0.7096 GB, free: 9.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008713/0.2179, allocations: 64.03 kB / 0.7096 GB, free: 9.688 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001368/0.2181, allocations: 55.98 kB / 0.7097 GB, free: 9.633 MB / 0.5294 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.0003122/0.2184, allocations: 168.4 kB / 0.7099 GB, free: 9.457 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.812e-05/0.2185, allocations: 27.8 kB / 0.7099 GB, free: 9.43 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.724e-05/0.2186, allocations: 30.19 kB / 0.7099 GB, free: 9.402 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.2186, allocations: 0 / 0.7099 GB, free: 9.402 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.2186, allocations: 0 / 0.7099 GB, free: 9.402 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.526e-05/0.2186, allocations: 4 kB / 0.7099 GB, free: 9.398 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001384/0.22, allocations: 0.5324 MB / 0.7104 GB, free: 8.816 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.22, allocations: 0 / 0.7104 GB, free: 8.816 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.263e-05/0.22, allocations: 11.98 kB / 0.7105 GB, free: 8.805 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.808e-06/0.2201, allocations: 4 kB / 0.7105 GB, free: 8.801 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.755e-05/0.2201, allocations: 15.97 kB / 0.7105 GB, free: 8.785 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.943e-06/0.2201, allocations: 4 kB / 0.7105 GB, free: 8.781 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.2201, allocations: 3.938 kB / 0.7105 GB, free: 8.777 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007673/0.2209, allocations: 329.4 kB / 0.7108 GB, free: 8.441 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003072/0.2212, allocations: 89.66 kB / 0.7109 GB, free: 8.352 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.892e-05/0.2213, allocations: 11.94 kB / 0.7109 GB, free: 8.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003704/0.2216, allocations: 11.98 kB / 0.7109 GB, free: 8.328 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.609e-05/0.2217, allocations: 19.97 kB / 0.7109 GB, free: 8.309 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.781e-05/0.2218, allocations: 23.98 kB / 0.7109 GB, free: 8.285 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003518/0.2221, allocations: 211 kB / 0.7111 GB, free: 8.082 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.1e-07/0.2221, allocations: 0 / 0.7111 GB, free: 8.082 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0005948/0.2227, allocations: 52 kB / 0.7112 GB, free: 8.031 MB / 0.5294 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.001274/0.224, allocations: 0.872 MB / 0.712 GB, free: 7.133 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0009652/0.225, allocations: 318.5 kB / 0.7123 GB, free: 6.797 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.225, allocations: 384 / 0.7123 GB, free: 6.797 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002656/0.2253, allocations: 67.91 kB / 0.7124 GB, free: 6.73 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005772/0.2258, allocations: 23.16 kB / 0.7124 GB, free: 6.707 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005352/0.2312, allocations: 2.408 MB / 0.7148 GB, free: 4.164 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005707/0.2318, allocations: 0.75 MB / 0.7155 GB, free: 3.391 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.000211/0.232, allocations: 33.44 kB / 0.7156 GB, free: 3.359 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002097/0.2322, allocations: 43.41 kB / 0.7156 GB, free: 3.316 MB / 0.5294 GB Notification: Performance of SimCode: time 7.21e-07/0.2322, allocations: 0 / 0.7156 GB, free: 3.316 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03941/0.2716, allocations: 5.505 MB / 0.721 GB, free: 13.97 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.54, allocations: 6.875 kB / 0.721 GB, free: 13.97 MB / 0.545 GB " [Timeout remaining time 648] (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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.csv --start-time 172801 --stop-time 345601 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 69.12 IDEAS_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsPlus.fmu > IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.301144559001841] Failed to read output from testmodel.py, exit status != 0: 11.648489513994718 11.665266725 11.456152976 Calling exit ...