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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001416/0.001416, allocations: 107.5 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001513/0.001513, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.485/1.485, allocations: 225.6 MB / 247.8 MB, free: 13.93 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.8318/0.8318, allocations: 134 MB / 436.6 MB, free: 1.312 MB / 334.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001904/0.001904, allocations: 68.61 kB / 0.6051 GB, free: 15.82 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1622/0.1641, allocations: 84.67 MB / 0.6878 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002612/0.1667, allocations: 1.498 MB / 0.6892 GB, free: 9.715 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0009939/0.1677, allocations: 427.3 kB / 0.6896 GB, free: 9.293 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.672e-05/0.1678, allocations: 0 / 0.6896 GB, free: 9.293 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 8.549e-05/0.1679, allocations: 7.938 kB / 0.6897 GB, free: 9.285 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 9.924e-05/0.1679, allocations: 24.23 kB / 0.6897 GB, free: 9.262 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006598/0.1686, allocations: 242.4 kB / 0.6899 GB, free: 9.031 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003573/0.169, allocations: 307.5 kB / 0.6902 GB, free: 8.73 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.939e-05/0.169, allocations: 7.984 kB / 0.6902 GB, free: 8.723 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002795/0.1693, allocations: 187.7 kB / 0.6904 GB, free: 8.539 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002308/0.1695, allocations: 116.1 kB / 0.6905 GB, free: 8.426 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 5.697e-05/0.1696, allocations: 16 kB / 0.6905 GB, free: 8.41 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 5.199e-05/0.1696, allocations: 23.94 kB / 0.6905 GB, free: 8.387 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001083/0.1697, allocations: 75.78 kB / 0.6906 GB, free: 8.312 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.000142/0.1699, allocations: 123.3 kB / 0.6907 GB, free: 8.191 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003331/0.1702, allocations: 283.2 kB / 0.691 GB, free: 7.914 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.1702, allocations: 4 kB / 0.691 GB, free: 7.91 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.272e-06/0.1702, allocations: 3.938 kB / 0.691 GB, free: 7.906 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.11e-05/0.1702, allocations: 0 / 0.691 GB, free: 7.906 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.001268/0.1715, allocations: 0.7038 MB / 0.6917 GB, free: 7.129 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.1715, allocations: 8.031 kB / 0.6917 GB, free: 7.121 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.084e-05/0.1716, allocations: 34.75 kB / 0.6917 GB, free: 7.078 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.335e-05/0.1717, allocations: 36.78 kB / 0.6918 GB, free: 7.043 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003886/0.1721, allocations: 263.8 kB / 0.692 GB, free: 6.746 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.489e-05/0.1721, allocations: 20.11 kB / 0.692 GB, free: 6.727 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.277e-05/0.1722, allocations: 20 kB / 0.6921 GB, free: 6.707 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003092/0.1725, allocations: 149.5 kB / 0.6922 GB, free: 6.555 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.066e-06/0.1725, allocations: 0 / 0.6922 GB, free: 6.555 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.271e-05/0.1725, allocations: 0 / 0.6922 GB, free: 6.555 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.1725, allocations: 0 / 0.6922 GB, free: 6.555 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001281/0.1726, allocations: 51.97 kB / 0.6922 GB, free: 6.504 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003752/0.173, allocations: 305.4 kB / 0.6925 GB, free: 6.156 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002946/0.1733, allocations: 130.5 kB / 0.6927 GB, free: 6.02 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000119/0.1734, allocations: 44.84 kB / 0.6927 GB, free: 5.973 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.532e-05/0.1735, allocations: 7.984 kB / 0.6927 GB, free: 5.965 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004734/0.1739, allocations: 221.9 kB / 0.6929 GB, free: 5.738 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=18): time 1.553e-06/0.1739, allocations: 3.938 kB / 0.6929 GB, free: 5.734 MB / 0.5137 GB Notification: Performance of matching and sorting (n=18): time 0.0005879/0.1745, allocations: 265.3 kB / 0.6932 GB, free: 5.469 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.564e-05/0.1746, allocations: 63.39 kB / 0.6932 GB, free: 5.395 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003111/0.1749, allocations: 290.9 kB / 0.6935 GB, free: 5.098 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.222e-05/0.1749, allocations: 41.69 kB / 0.6936 GB, free: 5.051 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.271e-05/0.175, allocations: 97.08 kB / 0.6937 GB, free: 4.949 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.416e-05/0.1751, allocations: 43.69 kB / 0.6937 GB, free: 4.906 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001615/0.1752, allocations: 105.8 kB / 0.6938 GB, free: 4.793 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001622/0.1754, allocations: 326.8 kB / 0.6941 GB, free: 4.465 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002032/0.1756, allocations: 88.19 kB / 0.6942 GB, free: 4.379 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002463/0.1759, allocations: 150.3 kB / 0.6943 GB, free: 4.211 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003365/0.1762, allocations: 239.3 kB / 0.6946 GB, free: 3.945 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.1762, allocations: 4 kB / 0.6946 GB, free: 3.941 MB / 0.5137 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006915/0.1769, allocations: 417.5 kB / 0.695 GB, free: 3.516 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.366e-05/0.177, allocations: 76.33 kB / 0.695 GB, free: 3.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.177, allocations: 3.938 kB / 0.695 GB, free: 3.426 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.177, allocations: 4 kB / 0.695 GB, free: 3.422 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001679/0.1772, allocations: 23.97 kB / 0.6951 GB, free: 3.398 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.391e-05/0.1772, allocations: 7.938 kB / 0.6951 GB, free: 3.391 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005276/0.1777, allocations: 67.97 kB / 0.6951 GB, free: 3.324 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.654e-05/0.1778, allocations: 51.98 kB / 0.6952 GB, free: 3.273 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.0002047/0.178, allocations: 168 kB / 0.6953 GB, free: 3.098 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.716e-05/0.178, allocations: 31.75 kB / 0.6954 GB, free: 3.066 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.764e-05/0.1781, allocations: 26.25 kB / 0.6954 GB, free: 3.043 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.159e-06/0.1781, allocations: 11.94 kB / 0.6954 GB, free: 3.031 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.1781, allocations: 0 / 0.6954 GB, free: 3.031 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.1781, allocations: 0 / 0.6954 GB, free: 3.031 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009093/0.179, allocations: 0.5552 MB / 0.696 GB, free: 2.422 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.179, allocations: 0 / 0.696 GB, free: 2.422 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.941e-05/0.1791, allocations: 19.92 kB / 0.696 GB, free: 2.402 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.1791, allocations: 0 / 0.696 GB, free: 2.402 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.717e-05/0.1791, allocations: 11.98 kB / 0.696 GB, free: 2.391 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1791, allocations: 0 / 0.696 GB, free: 2.391 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.1791, allocations: 0 / 0.696 GB, free: 2.391 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004401/0.1795, allocations: 335.1 kB / 0.6963 GB, free: 2.047 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002173/0.1798, allocations: 156.8 kB / 0.6965 GB, free: 1.875 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.379e-05/0.1798, allocations: 8 kB / 0.6965 GB, free: 1.867 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002026/0.18, allocations: 11.98 kB / 0.6965 GB, free: 1.855 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.437e-05/0.1801, allocations: 19.92 kB / 0.6965 GB, free: 1.836 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.3e-05/0.1801, allocations: 27.98 kB / 0.6965 GB, free: 1.809 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002015/0.1803, allocations: 209.9 kB / 0.6967 GB, free: 1.602 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.1803, allocations: 4 kB / 0.6967 GB, free: 1.598 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003069/0.1806, allocations: 51.98 kB / 0.6968 GB, free: 1.547 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.0008152/0.1814, allocations: 0.8735 MB / 0.6976 GB, free: 0.6484 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005571/0.182, allocations: 314.8 kB / 0.6979 GB, free: 324 kB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.182, allocations: 7.938 kB / 0.6979 GB, free: 316 kB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001497/0.1821, allocations: 59.91 kB / 0.698 GB, free: 256 kB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003389/0.1825, allocations: 31.94 kB / 0.698 GB, free: 224 kB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003184/0.1857, allocations: 2.398 MB / 0.7004 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003775/0.186, allocations: 0.7435 MB / 0.7011 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001269/0.1862, allocations: 41.42 kB / 0.7011 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001217/0.1863, allocations: 39.42 kB / 0.7012 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of SimCode: time 8.22e-07/0.1863, allocations: 0 / 0.7012 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03166/0.2179, allocations: 5.282 MB / 0.7063 GB, free: 7.707 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.35/8.568, allocations: 10.03 kB / 0.7063 GB, free: 7.703 MB / 0.5294 GB " [Timeout remaining time 651] (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 sys.exit(0), Time elapsed: 12.139978114981204] Failed to read output from testmodel.py, exit status != 0: 8.639466964174062 8.661568453 8.48743151 Calling exit ...