Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.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.001867/0.001867, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.00223/0.00223, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.526/1.526, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.8861/0.8861, allocations: 133.9 MB / 443.5 MB, free: 13.95 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.CalendarTimeMonthsMinus,fileNamePrefix="IDEAS_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="IDEAS_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsMinus",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.001964/0.001964, allocations: 65 kB / 0.6141 GB, free: 38.29 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1449/0.1468, allocations: 85.87 MB / 0.6979 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002608/0.1494, allocations: 1.494 MB / 0.6994 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.000939/0.1504, allocations: 432.7 kB / 0.6998 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.141e-05/0.1504, allocations: 0 / 0.6998 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 9.26e-05/0.1505, allocations: 11.86 kB / 0.6998 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 9.655e-05/0.1506, allocations: 21.73 kB / 0.6998 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007014/0.1513, allocations: 249.5 kB / 0.7001 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003483/0.1517, allocations: 299.4 kB / 0.7004 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.648e-05/0.1517, allocations: 4.125 kB / 0.7004 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002543/0.1519, allocations: 195.9 kB / 0.7005 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002196/0.1522, allocations: 117 kB / 0.7007 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 5.143e-05/0.1522, allocations: 17.88 kB / 0.7007 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 5.007e-05/0.1523, allocations: 21.88 kB / 0.7007 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001079/0.1524, allocations: 78.03 kB / 0.7008 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001339/0.1525, allocations: 123.1 kB / 0.7009 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.000332/0.1528, allocations: 277.4 kB / 0.7011 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.1528, allocations: 0 / 0.7011 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.152e-06/0.1528, allocations: 1.375 kB / 0.7012 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.143e-05/0.1529, allocations: 0 / 0.7012 GB, free: 11.34 MB / 0.5137 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.00125/0.1541, allocations: 0.7028 MB / 0.7018 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.1541, allocations: 18.83 kB / 0.7019 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.405e-05/0.1542, allocations: 2.094 kB / 0.7019 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.883e-05/0.1542, allocations: 41.86 kB / 0.7019 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.193e-05/0.1543, allocations: 31.52 kB / 0.7019 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003205/0.1546, allocations: 266.3 kB / 0.7022 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.925e-05/0.1546, allocations: 11.06 kB / 0.7022 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.037e-05/0.1547, allocations: 18.59 kB / 0.7022 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003049/0.155, allocations: 149.6 kB / 0.7024 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.155, allocations: 0 / 0.7024 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.81e-05/0.155, allocations: 9.266 kB / 0.7024 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.1551, allocations: 1.062 kB / 0.7024 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000141/0.1552, allocations: 46.25 kB / 0.7024 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003704/0.1556, allocations: 316.1 kB / 0.7027 GB, free: 9.902 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002954/0.1559, allocations: 117.1 kB / 0.7028 GB, free: 9.781 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001475/0.156, allocations: 52.77 kB / 0.7029 GB, free: 9.727 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.46e-05/0.156, allocations: 8 kB / 0.7029 GB, free: 9.719 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004372/0.1565, allocations: 220.8 kB / 0.7031 GB, free: 9.492 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=18): time 1.483e-06/0.1565, allocations: 4 kB / 0.7031 GB, free: 9.488 MB / 0.5137 GB Notification: Performance of matching and sorting (n=18): time 0.0007319/0.1572, allocations: 270.9 kB / 0.7033 GB, free: 9.219 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.597e-05/0.1573, allocations: 59.41 kB / 0.7034 GB, free: 9.148 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003406/0.1576, allocations: 291 kB / 0.7037 GB, free: 8.848 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 8.353e-05/0.1577, allocations: 37.7 kB / 0.7037 GB, free: 8.805 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001016/0.1578, allocations: 93.08 kB / 0.7038 GB, free: 8.707 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 7.971e-05/0.1579, allocations: 51.62 kB / 0.7039 GB, free: 8.656 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002593/0.1581, allocations: 101.8 kB / 0.704 GB, free: 8.547 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001954/0.1583, allocations: 334.8 kB / 0.7043 GB, free: 8.211 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003537/0.1587, allocations: 88.17 kB / 0.7044 GB, free: 8.125 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004132/0.1591, allocations: 143.6 kB / 0.7045 GB, free: 7.965 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005367/0.1596, allocations: 239.9 kB / 0.7047 GB, free: 7.699 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.1596, allocations: 0 / 0.7047 GB, free: 7.699 MB / 0.5137 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001176/0.1608, allocations: 416.6 kB / 0.7051 GB, free: 7.273 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001052/0.1609, allocations: 79.5 kB / 0.7052 GB, free: 7.184 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.1609, allocations: 4 kB / 0.7052 GB, free: 7.18 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.413e-05/0.1609, allocations: 4 kB / 0.7052 GB, free: 7.176 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002478/0.1612, allocations: 27.92 kB / 0.7052 GB, free: 7.148 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.289e-05/0.1612, allocations: 4 kB / 0.7052 GB, free: 7.145 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007763/0.162, allocations: 59.84 kB / 0.7053 GB, free: 7.086 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001169/0.1621, allocations: 47.98 kB / 0.7053 GB, free: 7.039 MB / 0.5137 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.000321/0.1624, allocations: 184.6 kB / 0.7055 GB, free: 6.848 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.438e-05/0.1625, allocations: 31.75 kB / 0.7055 GB, free: 6.816 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.172e-05/0.1626, allocations: 26.25 kB / 0.7056 GB, free: 6.793 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.1626, allocations: 4 kB / 0.7056 GB, free: 6.789 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.1626, allocations: 0 / 0.7056 GB, free: 6.789 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.303e-06/0.1626, allocations: 3.984 kB / 0.7056 GB, free: 6.785 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001243/0.1638, allocations: 0.5547 MB / 0.7061 GB, free: 6.176 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.1638, allocations: 4 kB / 0.7061 GB, free: 6.172 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.497e-05/0.1639, allocations: 8 kB / 0.7061 GB, free: 6.164 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.1639, allocations: 0 / 0.7061 GB, free: 6.164 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.767e-05/0.164, allocations: 19.97 kB / 0.7061 GB, free: 6.145 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.164, allocations: 0 / 0.7061 GB, free: 6.145 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.164, allocations: 0 / 0.7061 GB, free: 6.145 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007422/0.1647, allocations: 328.6 kB / 0.7065 GB, free: 5.809 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002865/0.165, allocations: 160.7 kB / 0.7066 GB, free: 5.633 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.08e-05/0.1651, allocations: 8 kB / 0.7066 GB, free: 5.625 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003441/0.1654, allocations: 19.98 kB / 0.7066 GB, free: 5.605 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.649e-05/0.1655, allocations: 19.97 kB / 0.7067 GB, free: 5.586 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.337e-05/0.1656, allocations: 35.92 kB / 0.7067 GB, free: 5.551 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003226/0.1659, allocations: 209.9 kB / 0.7069 GB, free: 5.348 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.1659, allocations: 0 / 0.7069 GB, free: 5.348 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000625/0.1665, allocations: 51.94 kB / 0.7069 GB, free: 5.297 MB / 0.5137 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.001224/0.1678, allocations: 0.8667 MB / 0.7078 GB, free: 4.402 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0009194/0.1687, allocations: 308.3 kB / 0.7081 GB, free: 4.078 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.1687, allocations: 4 kB / 0.7081 GB, free: 4.074 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002316/0.1689, allocations: 59.91 kB / 0.7081 GB, free: 4.016 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005698/0.1695, allocations: 25.78 kB / 0.7082 GB, free: 3.988 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005059/0.1745, allocations: 2.412 MB / 0.7105 GB, free: 1.445 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005458/0.1751, allocations: 0.7396 MB / 0.7112 GB, free: 0.6797 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001905/0.1753, allocations: 37.42 kB / 0.7113 GB, free: 0.6445 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002147/0.1755, allocations: 51.41 kB / 0.7113 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of SimCode: time 1.162e-06/0.1755, allocations: 0 / 0.7113 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03026/0.2058, allocations: 5.317 MB / 0.7165 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.64/8.846, allocations: 5 kB / 0.7165 GB, free: 11.43 MB / 0.5294 GB " [Timeout remaining time 651] (rm -f IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --stepSize=69.12 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsMinus.fmu > IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.652472728979774] Failed to read output from testmodel.py, exit status != 0: 9.254046729009133 9.004129538 8.846385733 Calling exit ...