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.001576/0.001576, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001902/0.001902, allocations: 216.4 kB / 22.25 MB, free: 5.117 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.515/1.515, allocations: 230.6 MB / 256 MB, free: 7.992 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.898/0.898, allocations: 134 MB / 446.4 MB, free: 10.18 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="IDEAS_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsMinus",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.001945/0.001945, allocations: 73.05 kB / 0.6185 GB, free: 7.215 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1664/0.1683, allocations: 85.9 MB / 0.7024 GB, free: 1.387 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002949/0.1713, allocations: 1.52 MB / 0.7039 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001014/0.1723, allocations: 425.9 kB / 0.7043 GB, free: 15.44 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.204e-05/0.1724, allocations: 0 / 0.7043 GB, free: 15.44 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 9.765e-05/0.1725, allocations: 11.88 kB / 0.7043 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001104/0.1726, allocations: 24.23 kB / 0.7043 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008044/0.1734, allocations: 246.8 kB / 0.7046 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0004357/0.1738, allocations: 295.6 kB / 0.7049 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.112e-05/0.1739, allocations: 4 kB / 0.7049 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003428/0.1742, allocations: 195.7 kB / 0.705 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002994/0.1745, allocations: 132 kB / 0.7052 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 6.286e-05/0.1746, allocations: 16 kB / 0.7052 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 5.757e-05/0.1746, allocations: 20 kB / 0.7052 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001056/0.1747, allocations: 75.78 kB / 0.7053 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001455/0.1749, allocations: 115.4 kB / 0.7054 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003477/0.1752, allocations: 287.2 kB / 0.7057 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.1752, allocations: 0 / 0.7057 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.202e-06/0.1752, allocations: 0 / 0.7057 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.023e-06/0.1753, allocations: 0 / 0.7057 GB, free: 14.05 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.001311/0.1766, allocations: 0.6324 MB / 0.7063 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.84e-05/0.1766, allocations: 8.031 kB / 0.7063 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.121e-05/0.1767, allocations: 38.75 kB / 0.7063 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001133/0.1768, allocations: 36.78 kB / 0.7064 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003906/0.1772, allocations: 210.5 kB / 0.7066 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.341e-05/0.1772, allocations: 12.12 kB / 0.7066 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.602e-05/0.1773, allocations: 23.98 kB / 0.7066 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003271/0.1776, allocations: 148.1 kB / 0.7067 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.1776, allocations: 0 / 0.7067 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.716e-05/0.1777, allocations: 8 kB / 0.7067 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/0.1777, allocations: 4 kB / 0.7067 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000141/0.1778, allocations: 47.91 kB / 0.7068 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005078/0.1783, allocations: 280.5 kB / 0.7071 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003705/0.1787, allocations: 118.6 kB / 0.7072 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001304/0.1788, allocations: 52.83 kB / 0.7072 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.288e-05/0.1788, allocations: 0 / 0.7072 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005083/0.1793, allocations: 215.6 kB / 0.7074 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=18): time 1.453e-06/0.1794, allocations: 4 kB / 0.7074 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of matching and sorting (n=18): time 0.0006332/0.18, allocations: 279.5 kB / 0.7077 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.435e-05/0.18, allocations: 71.31 kB / 0.7078 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003477/0.1804, allocations: 284.2 kB / 0.708 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 6.735e-05/0.1805, allocations: 41.7 kB / 0.7081 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.613e-05/0.1805, allocations: 93.12 kB / 0.7082 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.409e-05/0.1806, allocations: 47.64 kB / 0.7082 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001764/0.1808, allocations: 97.81 kB / 0.7083 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.1809, allocations: 326.8 kB / 0.7086 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002298/0.1812, allocations: 96.17 kB / 0.7087 GB, free: 10.72 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002494/0.1814, allocations: 142.4 kB / 0.7088 GB, free: 10.56 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003542/0.1818, allocations: 246 kB / 0.7091 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/0.1818, allocations: 3.984 kB / 0.7091 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007153/0.1825, allocations: 413.6 kB / 0.7095 GB, free: 9.859 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.498e-05/0.1826, allocations: 75.58 kB / 0.7096 GB, free: 9.773 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/0.1826, allocations: 4 kB / 0.7096 GB, free: 9.77 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.187e-05/0.1826, allocations: 4 kB / 0.7096 GB, free: 9.766 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001903/0.1828, allocations: 31.91 kB / 0.7096 GB, free: 9.734 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.1828, allocations: 4 kB / 0.7096 GB, free: 9.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004854/0.1833, allocations: 63.78 kB / 0.7097 GB, free: 9.668 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.408e-05/0.1834, allocations: 51.98 kB / 0.7097 GB, free: 9.617 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.0002073/0.1836, allocations: 168.4 kB / 0.7099 GB, free: 9.441 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.647e-05/0.1836, allocations: 31.78 kB / 0.7099 GB, free: 9.41 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.966e-05/0.1837, allocations: 30.19 kB / 0.7099 GB, free: 9.383 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.1837, allocations: 4 kB / 0.7099 GB, free: 9.379 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.401e-06/0.1837, allocations: 0 / 0.7099 GB, free: 9.379 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.1837, allocations: 0 / 0.7099 GB, free: 9.379 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009025/0.1846, allocations: 0.5324 MB / 0.7104 GB, free: 8.797 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.1846, allocations: 4 kB / 0.7105 GB, free: 8.793 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.792e-05/0.1847, allocations: 7.984 kB / 0.7105 GB, free: 8.785 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.364e-06/0.1847, allocations: 4 kB / 0.7105 GB, free: 8.781 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.737e-05/0.1847, allocations: 11.98 kB / 0.7105 GB, free: 8.77 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.1847, allocations: 0 / 0.7105 GB, free: 8.77 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.1847, allocations: 0 / 0.7105 GB, free: 8.77 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004602/0.1852, allocations: 329.1 kB / 0.7108 GB, free: 8.434 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001895/0.1853, allocations: 89.64 kB / 0.7109 GB, free: 8.344 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.924e-05/0.1854, allocations: 12 kB / 0.7109 GB, free: 8.332 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002468/0.1857, allocations: 11.98 kB / 0.7109 GB, free: 8.32 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.876e-05/0.1857, allocations: 19.95 kB / 0.7109 GB, free: 8.301 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.596e-05/0.1858, allocations: 31.98 kB / 0.7109 GB, free: 8.27 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002091/0.186, allocations: 211 kB / 0.7111 GB, free: 8.066 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.186, allocations: 3.938 kB / 0.7112 GB, free: 8.062 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003172/0.1863, allocations: 48 kB / 0.7112 GB, free: 8.016 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.0008055/0.1871, allocations: 0.8765 MB / 0.7121 GB, free: 7.113 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005689/0.1877, allocations: 310.6 kB / 0.7123 GB, free: 6.785 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1877, allocations: 0 / 0.7123 GB, free: 6.785 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001594/0.1878, allocations: 55.97 kB / 0.7124 GB, free: 6.73 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003591/0.1882, allocations: 31.2 kB / 0.7124 GB, free: 6.699 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003311/0.1915, allocations: 2.41 MB / 0.7148 GB, free: 4.152 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004436/0.1919, allocations: 0.7396 MB / 0.7155 GB, free: 3.387 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001695/0.1921, allocations: 37.42 kB / 0.7155 GB, free: 3.352 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001375/0.1923, allocations: 51.41 kB / 0.7156 GB, free: 3.301 MB / 0.5294 GB Notification: Performance of SimCode: time 6.62e-07/0.1923, allocations: 0 / 0.7156 GB, free: 3.301 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03474/0.227, allocations: 5.498 MB / 0.721 GB, free: 13.96 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.65, allocations: 5.5 kB / 0.721 GB, free: 13.96 MB / 0.545 GB " [Timeout remaining time 648] (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 sys.exit(0), Time elapsed: 15.430029200855643] Failed to read output from testmodel.py, exit status != 0: 11.753320979187265 11.769818808 11.591479166 Calling exit ...