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.001731/0.001731, allocations: 110.1 kB / 19.73 MB, free: 2.242 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.002131/0.002131, allocations: 220 kB / 23.05 MB, free: 5.074 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.534/1.534, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.8491/0.8491, allocations: 134 MB / 447.2 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="IDEAS_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="cs",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.002041/0.002041, allocations: 61.75 kB / 0.6193 GB, free: 7.234 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1878/0.1899, allocations: 85.91 MB / 0.7032 GB, free: 1.402 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.00277/0.1926, allocations: 1.508 MB / 0.7047 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0009674/0.1936, allocations: 432.8 kB / 0.7051 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.658e-05/0.1936, allocations: 0 / 0.7051 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001154/0.1938, allocations: 7.875 kB / 0.7051 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001092/0.1939, allocations: 24.22 kB / 0.7051 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007233/0.1946, allocations: 245.1 kB / 0.7053 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003781/0.195, allocations: 307.5 kB / 0.7056 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.779e-05/0.195, allocations: 3.938 kB / 0.7056 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002983/0.1953, allocations: 199.7 kB / 0.7058 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002591/0.1956, allocations: 121.7 kB / 0.7059 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 5.454e-05/0.1956, allocations: 16 kB / 0.706 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 5.733e-05/0.1957, allocations: 20 kB / 0.706 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001028/0.1958, allocations: 75.72 kB / 0.706 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001389/0.1959, allocations: 123.4 kB / 0.7062 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003521/0.1963, allocations: 283.2 kB / 0.7064 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.1963, allocations: 7.938 kB / 0.7064 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.232e-06/0.1963, allocations: 0 / 0.7064 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.1963, allocations: 0 / 0.7064 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.001257/0.1975, allocations: 0.6324 MB / 0.7071 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 6.313e-05/0.1976, allocations: 12.03 kB / 0.7071 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.385e-05/0.1976, allocations: 192 / 0.7071 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.732e-05/0.1977, allocations: 38.75 kB / 0.7071 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.143e-05/0.1978, allocations: 36.78 kB / 0.7071 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003151/0.1981, allocations: 202.6 kB / 0.7073 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.303e-05/0.1981, allocations: 15.94 kB / 0.7073 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.13e-05/0.1982, allocations: 19.98 kB / 0.7074 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003294/0.1985, allocations: 153.5 kB / 0.7075 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.854e-06/0.1985, allocations: 0 / 0.7075 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.464e-05/0.1985, allocations: 0 / 0.7075 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.1985, allocations: 0 / 0.7075 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001357/0.1987, allocations: 47.97 kB / 0.7076 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003653/0.199, allocations: 296.4 kB / 0.7078 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002895/0.1993, allocations: 110.7 kB / 0.7079 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001275/0.1995, allocations: 52.83 kB / 0.708 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.24e-05/0.1995, allocations: 0 / 0.708 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004934/0.2, allocations: 221.6 kB / 0.7082 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=18): time 1.412e-06/0.2, allocations: 3.938 kB / 0.7082 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of matching and sorting (n=18): time 0.0006286/0.2006, allocations: 275.1 kB / 0.7085 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.209e-05/0.2007, allocations: 59.39 kB / 0.7085 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003025/0.201, allocations: 292.2 kB / 0.7088 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 6.71e-05/0.201, allocations: 41.7 kB / 0.7088 GB, free: 11.4 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.51e-05/0.2011, allocations: 89.12 kB / 0.7089 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.997e-05/0.2012, allocations: 51.64 kB / 0.709 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001795/0.2013, allocations: 101.8 kB / 0.7091 GB, free: 11.15 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001737/0.2015, allocations: 326.8 kB / 0.7094 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002276/0.2017, allocations: 96.17 kB / 0.7095 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002585/0.202, allocations: 146.4 kB / 0.7096 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003504/0.2024, allocations: 238.4 kB / 0.7099 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.2024, allocations: 4 kB / 0.7099 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000771/0.2031, allocations: 413.8 kB / 0.7102 GB, free: 9.875 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.038e-05/0.2032, allocations: 71.39 kB / 0.7103 GB, free: 9.793 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.2032, allocations: 0 / 0.7103 GB, free: 9.793 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.018e-05/0.2032, allocations: 4 kB / 0.7103 GB, free: 9.789 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001984/0.2034, allocations: 35.84 kB / 0.7104 GB, free: 9.754 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.113e-05/0.2034, allocations: 4.188 kB / 0.7104 GB, free: 9.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005155/0.204, allocations: 67.78 kB / 0.7104 GB, free: 9.684 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.024e-05/0.204, allocations: 47.98 kB / 0.7105 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.0002231/0.2043, allocations: 168.4 kB / 0.7106 GB, free: 9.461 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.907e-05/0.2043, allocations: 31.78 kB / 0.7107 GB, free: 9.43 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.546e-05/0.2044, allocations: 34.19 kB / 0.7107 GB, free: 9.398 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.692e-06/0.2044, allocations: 4 kB / 0.7107 GB, free: 9.395 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.441e-06/0.2044, allocations: 0 / 0.7107 GB, free: 9.395 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.2044, allocations: 0 / 0.7107 GB, free: 9.395 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008835/0.2053, allocations: 0.5285 MB / 0.7112 GB, free: 8.816 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.2053, allocations: 4 kB / 0.7112 GB, free: 8.812 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.844e-05/0.2054, allocations: 11.98 kB / 0.7112 GB, free: 8.801 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.2054, allocations: 0 / 0.7112 GB, free: 8.801 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.166e-05/0.2054, allocations: 15.98 kB / 0.7112 GB, free: 8.785 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.08e-06/0.2054, allocations: 3.938 kB / 0.7112 GB, free: 8.781 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2054, allocations: 4 kB / 0.7113 GB, free: 8.777 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004758/0.2059, allocations: 329 kB / 0.7116 GB, free: 8.441 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001716/0.2061, allocations: 85.64 kB / 0.7116 GB, free: 8.355 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.805e-05/0.2061, allocations: 8 kB / 0.7117 GB, free: 8.348 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002174/0.2063, allocations: 11.98 kB / 0.7117 GB, free: 8.336 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.66e-05/0.2064, allocations: 19.95 kB / 0.7117 GB, free: 8.316 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.146e-05/0.2064, allocations: 31.98 kB / 0.7117 GB, free: 8.285 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002038/0.2066, allocations: 219 kB / 0.7119 GB, free: 8.074 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.2066, allocations: 0 / 0.7119 GB, free: 8.074 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003526/0.207, allocations: 51.94 kB / 0.712 GB, free: 8.023 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.0008227/0.2078, allocations: 0.8594 MB / 0.7128 GB, free: 7.137 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005942/0.2084, allocations: 314.6 kB / 0.7131 GB, free: 6.805 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.2084, allocations: 0 / 0.7131 GB, free: 6.805 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001464/0.2086, allocations: 63.91 kB / 0.7132 GB, free: 6.742 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003646/0.2089, allocations: 33.94 kB / 0.7132 GB, free: 6.711 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003381/0.2123, allocations: 2.414 MB / 0.7156 GB, free: 4.16 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004066/0.2127, allocations: 0.7427 MB / 0.7163 GB, free: 3.395 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001383/0.2129, allocations: 37.42 kB / 0.7163 GB, free: 3.359 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001447/0.213, allocations: 51.34 kB / 0.7164 GB, free: 3.309 MB / 0.5294 GB Notification: Performance of SimCode: time 1.934e-06/0.213, allocations: 3.938 kB / 0.7164 GB, free: 3.305 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02768/0.2407, allocations: 5.522 MB / 0.7218 GB, free: 13.95 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.71/11.96, allocations: 14.38 kB / 0.7218 GB, free: 13.94 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --stepSize=69.12 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsPlus.fmu > IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.698878400027752] Failed to read output from testmodel.py, exit status != 0: 12.118837350979447 12.144021953 11.94296311 Calling exit ...