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.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.00135/0.00135, allocations: 110.4 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.001557/0.001557, allocations: 217.6 kB / 22.25 MB, free: 5.129 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.466/1.466, allocations: 230.6 MB / 256 MB, free: 7.973 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.843/0.843, allocations: 134 MB / 446.4 MB, free: 10.21 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.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"}) [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.001977/0.001977, allocations: 67.02 kB / 0.6185 GB, free: 7.223 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2044/0.2064, allocations: 85.9 MB / 0.7024 GB, free: 1.395 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonths): time 0.003477/0.2098, allocations: 1.508 MB / 0.7039 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00128/0.2111, allocations: 419.3 kB / 0.7043 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.711e-05/0.2112, allocations: 0 / 0.7043 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001292/0.2113, allocations: 15.86 kB / 0.7043 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.000149/0.2115, allocations: 28.17 kB / 0.7043 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.00097/0.2124, allocations: 238.9 kB / 0.7045 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0005022/0.2129, allocations: 299.6 kB / 0.7048 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 6.361e-05/0.213, allocations: 7.984 kB / 0.7048 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003959/0.2134, allocations: 191.7 kB / 0.705 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003332/0.2137, allocations: 124 kB / 0.7051 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 7.864e-05/0.2138, allocations: 20 kB / 0.7052 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.906e-05/0.2139, allocations: 16 kB / 0.7052 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001653/0.214, allocations: 79.78 kB / 0.7053 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.000191/0.2142, allocations: 123.3 kB / 0.7054 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0005002/0.2147, allocations: 295.1 kB / 0.7057 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.2147, allocations: 0 / 0.7057 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.954e-06/0.2147, allocations: 0 / 0.7057 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.135e-06/0.2147, allocations: 0 / 0.7057 GB, free: 14.06 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.001689/0.2164, allocations: 0.6324 MB / 0.7063 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.087e-05/0.2165, allocations: 8.031 kB / 0.7063 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.718e-05/0.2165, allocations: 46.73 kB / 0.7063 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001195/0.2167, allocations: 28.8 kB / 0.7063 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004461/0.2171, allocations: 202.6 kB / 0.7065 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.535e-05/0.2172, allocations: 20.11 kB / 0.7066 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.709e-05/0.2172, allocations: 16 kB / 0.7066 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004124/0.2176, allocations: 153.5 kB / 0.7067 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.2177, allocations: 4 kB / 0.7067 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.573e-05/0.2177, allocations: 7.969 kB / 0.7067 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.491e-06/0.2177, allocations: 0 / 0.7067 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001989/0.2179, allocations: 45.61 kB / 0.7068 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004812/0.2184, allocations: 284.5 kB / 0.7071 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004146/0.2188, allocations: 118.6 kB / 0.7072 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001811/0.219, allocations: 56.83 kB / 0.7072 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.389e-05/0.219, allocations: 3.984 kB / 0.7072 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000648/0.2197, allocations: 209.8 kB / 0.7074 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=18): time 1.854e-06/0.2197, allocations: 7.938 kB / 0.7074 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of matching and sorting (n=18): time 0.0008396/0.2205, allocations: 277.2 kB / 0.7077 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.521e-05/0.2206, allocations: 55.41 kB / 0.7077 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003787/0.2209, allocations: 288.2 kB / 0.708 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 6.635e-05/0.221, allocations: 45.69 kB / 0.7081 GB, free: 11.4 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.251e-05/0.2211, allocations: 85.14 kB / 0.7081 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 8.465e-05/0.2212, allocations: 55.62 kB / 0.7082 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002161/0.2214, allocations: 101.8 kB / 0.7083 GB, free: 11.15 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002048/0.2216, allocations: 326.8 kB / 0.7086 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002991/0.2219, allocations: 96.17 kB / 0.7087 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003523/0.2223, allocations: 138.4 kB / 0.7088 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004878/0.2227, allocations: 243.1 kB / 0.7091 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.112e-06/0.2227, allocations: 4 kB / 0.7091 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001059/0.2238, allocations: 414.3 kB / 0.7095 GB, free: 9.875 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.561e-05/0.2239, allocations: 75.42 kB / 0.7095 GB, free: 9.789 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.2239, allocations: 0 / 0.7095 GB, free: 9.789 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.445e-05/0.2239, allocations: 7.984 kB / 0.7095 GB, free: 9.781 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002326/0.2242, allocations: 27.92 kB / 0.7096 GB, free: 9.754 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.169e-05/0.2242, allocations: 4 kB / 0.7096 GB, free: 9.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006428/0.2248, allocations: 67.72 kB / 0.7096 GB, free: 9.684 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001041/0.2249, allocations: 47.98 kB / 0.7097 GB, free: 9.637 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.0002513/0.2252, allocations: 176.4 kB / 0.7099 GB, free: 9.453 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.62e-05/0.2252, allocations: 27.8 kB / 0.7099 GB, free: 9.426 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.772e-05/0.2253, allocations: 30.19 kB / 0.7099 GB, free: 9.398 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.117e-06/0.2253, allocations: 4 kB / 0.7099 GB, free: 9.395 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.2253, allocations: 0 / 0.7099 GB, free: 9.395 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.2253, allocations: 0 / 0.7099 GB, free: 9.395 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001129/0.2265, allocations: 0.5309 MB / 0.7104 GB, free: 8.816 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/0.2265, allocations: 8 kB / 0.7104 GB, free: 8.809 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.38e-05/0.2265, allocations: 7.984 kB / 0.7104 GB, free: 8.801 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.2265, allocations: 0 / 0.7104 GB, free: 8.801 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.527e-05/0.2266, allocations: 19.98 kB / 0.7105 GB, free: 8.781 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.2266, allocations: 3.938 kB / 0.7105 GB, free: 8.777 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2266, allocations: 0 / 0.7105 GB, free: 8.777 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006638/0.2272, allocations: 331.1 kB / 0.7108 GB, free: 8.438 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002512/0.2275, allocations: 81.66 kB / 0.7109 GB, free: 8.355 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.7e-05/0.2276, allocations: 12 kB / 0.7109 GB, free: 8.344 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002872/0.2278, allocations: 11.98 kB / 0.7109 GB, free: 8.332 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.783e-05/0.2279, allocations: 15.97 kB / 0.7109 GB, free: 8.316 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.668e-05/0.228, allocations: 31.98 kB / 0.7109 GB, free: 8.285 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002845/0.2283, allocations: 215 kB / 0.7111 GB, free: 8.078 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2283, allocations: 0 / 0.7111 GB, free: 8.078 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0005043/0.2288, allocations: 48 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.0009881/0.2298, allocations: 0.8748 MB / 0.712 GB, free: 7.129 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005587/0.2303, allocations: 310.6 kB / 0.7123 GB, free: 6.801 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.2303, allocations: 0 / 0.7123 GB, free: 6.801 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001389/0.2305, allocations: 65.62 kB / 0.7124 GB, free: 6.738 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003347/0.2308, allocations: 24.3 kB / 0.7124 GB, free: 6.715 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003325/0.2341, allocations: 2.412 MB / 0.7148 GB, free: 4.168 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00042/0.2345, allocations: 0.7474 MB / 0.7155 GB, free: 3.395 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001214/0.2347, allocations: 33.44 kB / 0.7155 GB, free: 3.363 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001387/0.2348, allocations: 55.53 kB / 0.7156 GB, free: 3.309 MB / 0.5294 GB Notification: Performance of SimCode: time 5.11e-07/0.2348, allocations: 0 / 0.7156 GB, free: 3.309 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04258/0.2774, allocations: 5.504 MB / 0.721 GB, free: 13.97 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.04/11.32, allocations: 2.125 kB / 0.721 GB, free: 13.97 MB / 0.545 GB " [Timeout remaining time 649] (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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths_res.csv --start-time 172800 --stop-time 345600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 69.12 IDEAS_IDEAS_Utilities_Time_Validation_CalendarTimeMonths.fmu > IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.126787337998394] Failed to read output from testmodel.py, exit status != 0: 11.431762795000395 11.459504371 11.239400063 Calling exit ...