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.001265/0.001265, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001721/0.001721, allocations: 217.8 kB / 23.03 MB, free: 4.945 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.442/1.442, allocations: 230.6 MB / 256.8 MB, free: 7.773 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.8507/0.8507, allocations: 134 MB / 447.2 MB, free: 9.93 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.001993/0.001993, allocations: 71.39 kB / 0.6192 GB, free: 6.883 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.168/0.17, allocations: 85.91 MB / 0.7031 GB, free: 1.07 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002935/0.1729, allocations: 1.487 MB / 0.7046 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0009194/0.1738, allocations: 407.3 kB / 0.705 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.875e-05/0.1739, allocations: 3.938 kB / 0.705 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 9.527e-05/0.174, allocations: 7.922 kB / 0.705 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001046/0.1741, allocations: 24.22 kB / 0.705 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007124/0.1748, allocations: 249.5 kB / 0.7052 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.00038/0.1752, allocations: 303.4 kB / 0.7055 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.912e-05/0.1752, allocations: 4 kB / 0.7055 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002844/0.1755, allocations: 191.8 kB / 0.7057 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002344/0.1757, allocations: 126.7 kB / 0.7058 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 7.501e-05/0.1758, allocations: 16 kB / 0.7058 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.204e-05/0.1759, allocations: 20 kB / 0.7059 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.000119/0.176, allocations: 75.78 kB / 0.7059 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001398/0.1761, allocations: 103.5 kB / 0.706 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003594/0.1765, allocations: 295.1 kB / 0.7063 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1765, allocations: 0 / 0.7063 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.443e-06/0.1765, allocations: 0 / 0.7063 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.036e-05/0.1765, allocations: 0 / 0.7063 GB, free: 13.79 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.001286/0.1778, allocations: 0.6245 MB / 0.7069 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.1778, allocations: 12.03 kB / 0.7069 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.556e-05/0.1779, allocations: 4.188 kB / 0.7069 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.897e-05/0.1779, allocations: 42.67 kB / 0.707 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.661e-05/0.178, allocations: 32.8 kB / 0.707 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003134/0.1783, allocations: 206.7 kB / 0.7072 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.05e-05/0.1783, allocations: 11.92 kB / 0.7072 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.755e-05/0.1784, allocations: 20 kB / 0.7072 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003259/0.1787, allocations: 153.5 kB / 0.7074 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.996e-06/0.1787, allocations: 0 / 0.7074 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.5e-05/0.1788, allocations: 0 / 0.7074 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.1788, allocations: 4 kB / 0.7074 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001435/0.1789, allocations: 43.97 kB / 0.7074 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003314/0.1793, allocations: 248.5 kB / 0.7077 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003064/0.1796, allocations: 126.6 kB / 0.7078 GB, free: 12.13 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001568/0.1797, allocations: 56.83 kB / 0.7078 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.444e-05/0.1797, allocations: 0 / 0.7078 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004835/0.1802, allocations: 211.6 kB / 0.708 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=18): time 1.573e-06/0.1802, allocations: 0 / 0.708 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of matching and sorting (n=18): time 0.0006362/0.1809, allocations: 291.2 kB / 0.7083 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.181e-05/0.1809, allocations: 55.41 kB / 0.7084 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002993/0.1812, allocations: 288.2 kB / 0.7086 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.84e-05/0.1813, allocations: 37.69 kB / 0.7087 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.555e-05/0.1813, allocations: 93.14 kB / 0.7088 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.958e-05/0.1814, allocations: 47.64 kB / 0.7088 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000182/0.1816, allocations: 109.8 kB / 0.7089 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001486/0.1817, allocations: 326.8 kB / 0.7092 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002842/0.182, allocations: 155.6 kB / 0.7094 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003118/0.1823, allocations: 217.7 kB / 0.7096 GB, free: 10.17 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003445/0.1827, allocations: 237.3 kB / 0.7098 GB, free: 9.902 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-06/0.1827, allocations: 0 / 0.7098 GB, free: 9.902 MB / 0.5294 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007797/0.1835, allocations: 480.6 kB / 0.7103 GB, free: 9.402 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.405e-05/0.1835, allocations: 71.56 kB / 0.7103 GB, free: 9.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.536e-05/0.1836, allocations: 11.94 kB / 0.7104 GB, free: 9.309 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.1836, allocations: 3.938 kB / 0.7104 GB, free: 9.305 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002426/0.1838, allocations: 23.98 kB / 0.7104 GB, free: 9.281 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.262e-05/0.1838, allocations: 7.938 kB / 0.7104 GB, free: 9.273 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005372/0.1844, allocations: 59.84 kB / 0.7104 GB, free: 9.215 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.911e-05/0.1844, allocations: 51.98 kB / 0.7105 GB, free: 9.164 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.0001946/0.1846, allocations: 168.4 kB / 0.7107 GB, free: 8.988 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.782e-05/0.1847, allocations: 27.8 kB / 0.7107 GB, free: 8.961 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.093e-05/0.1848, allocations: 34.19 kB / 0.7107 GB, free: 8.93 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.1848, allocations: 0 / 0.7107 GB, free: 8.93 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.1848, allocations: 3.938 kB / 0.7107 GB, free: 8.926 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.1848, allocations: 0 / 0.7107 GB, free: 8.926 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000845/0.1856, allocations: 0.5235 MB / 0.7112 GB, free: 8.355 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.1856, allocations: 3.984 kB / 0.7112 GB, free: 8.352 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.552e-05/0.1857, allocations: 7.938 kB / 0.7112 GB, free: 8.344 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.137e-06/0.1857, allocations: 4 kB / 0.7112 GB, free: 8.34 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.602e-05/0.1857, allocations: 11.98 kB / 0.7113 GB, free: 8.328 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.1857, allocations: 0 / 0.7113 GB, free: 8.328 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.1857, allocations: 4 kB / 0.7113 GB, free: 8.324 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004639/0.1862, allocations: 335.1 kB / 0.7116 GB, free: 7.98 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001754/0.1863, allocations: 85.59 kB / 0.7117 GB, free: 7.895 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.331e-05/0.1864, allocations: 11.98 kB / 0.7117 GB, free: 7.883 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002272/0.1866, allocations: 15.98 kB / 0.7117 GB, free: 7.867 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.505e-05/0.1867, allocations: 11.98 kB / 0.7117 GB, free: 7.855 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.017e-05/0.1867, allocations: 31.98 kB / 0.7117 GB, free: 7.824 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002053/0.1869, allocations: 211 kB / 0.7119 GB, free: 7.621 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.1869, allocations: 4 kB / 0.7119 GB, free: 7.617 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003181/0.1873, allocations: 51.92 kB / 0.712 GB, free: 7.566 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.0008763/0.1881, allocations: 0.8721 MB / 0.7128 GB, free: 6.668 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0006312/0.1888, allocations: 378 kB / 0.7132 GB, free: 6.262 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1888, allocations: 0 / 0.7132 GB, free: 6.262 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001526/0.1889, allocations: 63.91 kB / 0.7133 GB, free: 6.199 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003511/0.1893, allocations: 31.31 kB / 0.7133 GB, free: 6.168 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003486/0.1928, allocations: 2.681 MB / 0.7159 GB, free: 3.301 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001491/0.1929, allocations: 132.6 kB / 0.716 GB, free: 3.148 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001278/0.193, allocations: 37.42 kB / 0.7161 GB, free: 3.113 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001405/0.1932, allocations: 47.41 kB / 0.7161 GB, free: 3.066 MB / 0.5294 GB Notification: Performance of SimCode: time 4.31e-07/0.1932, allocations: 0 / 0.7161 GB, free: 3.066 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02765/0.2208, allocations: 6.088 MB / 0.7221 GB, free: 13.17 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.86/12.08, allocations: 6.438 kB / 0.7221 GB, free: 13.17 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.682065700995736] Failed to read output from testmodel.py, exit status != 0: 12.243247081991285 12.26180976 12.081371582 Calling exit ...