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.00142/0.00142, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001737/0.001737, allocations: 213.2 kB / 22.24 MB, free: 4.855 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.471/1.471, allocations: 230.6 MB / 256 MB, free: 7.973 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.8513/0.8513, allocations: 134 MB / 446.4 MB, free: 9.953 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="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: 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.002048/0.002048, allocations: 70.41 kB / 0.6185 GB, free: 6.898 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1705/0.1726, allocations: 85.9 MB / 0.7024 GB, free: 1.078 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002951/0.1755, allocations: 1.485 MB / 0.7038 GB, free: 15.58 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00101/0.1765, allocations: 407.3 kB / 0.7042 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.087e-05/0.1766, allocations: 3.938 kB / 0.7042 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001065/0.1767, allocations: 11.86 kB / 0.7042 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001123/0.1768, allocations: 20.23 kB / 0.7042 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007206/0.1775, allocations: 250.5 kB / 0.7045 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003708/0.1779, allocations: 307.5 kB / 0.7048 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.296e-05/0.1779, allocations: 4 kB / 0.7048 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002979/0.1782, allocations: 195.7 kB / 0.705 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002333/0.1785, allocations: 100.1 kB / 0.705 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 7.548e-05/0.1785, allocations: 16 kB / 0.7051 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.508e-05/0.1786, allocations: 20 kB / 0.7051 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001122/0.1787, allocations: 79.77 kB / 0.7052 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001394/0.1789, allocations: 107.5 kB / 0.7053 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003739/0.1792, allocations: 291.2 kB / 0.7055 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1792, allocations: 0 / 0.7055 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.753e-06/0.1792, allocations: 3.938 kB / 0.7055 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.582e-06/0.1793, allocations: 0 / 0.7055 GB, free: 13.8 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.00118/0.1804, allocations: 0.6284 MB / 0.7062 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.1805, allocations: 8.031 kB / 0.7062 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.28e-05/0.1805, allocations: 38.75 kB / 0.7062 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.788e-05/0.1806, allocations: 32.78 kB / 0.7062 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003487/0.181, allocations: 206.7 kB / 0.7064 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.311e-05/0.181, allocations: 12.12 kB / 0.7064 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.745e-05/0.181, allocations: 23.98 kB / 0.7065 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002983/0.1813, allocations: 149.5 kB / 0.7066 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.1814, allocations: 7.938 kB / 0.7066 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.164e-05/0.1814, allocations: 0 / 0.7066 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.1814, allocations: 0 / 0.7066 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001294/0.1815, allocations: 47.97 kB / 0.7067 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003397/0.1819, allocations: 252.5 kB / 0.7069 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000284/0.1821, allocations: 114.6 kB / 0.707 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001246/0.1823, allocations: 56.83 kB / 0.7071 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.428e-05/0.1823, allocations: 0 / 0.7071 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004984/0.1828, allocations: 213.8 kB / 0.7073 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=18): time 1.523e-06/0.1828, allocations: 0 / 0.7073 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of matching and sorting (n=18): time 0.0005958/0.1834, allocations: 281.2 kB / 0.7075 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.636e-05/0.1834, allocations: 63.39 kB / 0.7076 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002982/0.1837, allocations: 288.2 kB / 0.7079 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.825e-05/0.1838, allocations: 33.7 kB / 0.7079 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.157e-05/0.1839, allocations: 93.12 kB / 0.708 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.894e-05/0.1839, allocations: 51.62 kB / 0.708 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000159/0.1841, allocations: 109.8 kB / 0.7081 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.1842, allocations: 322.8 kB / 0.7085 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002612/0.1845, allocations: 159.6 kB / 0.7086 GB, free: 10.44 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000288/0.1848, allocations: 209.8 kB / 0.7088 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003327/0.1851, allocations: 246.9 kB / 0.709 GB, free: 9.926 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.1851, allocations: 3.938 kB / 0.709 GB, free: 9.922 MB / 0.5294 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007396/0.1858, allocations: 480.1 kB / 0.7095 GB, free: 9.426 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.369e-05/0.1859, allocations: 71.58 kB / 0.7096 GB, free: 9.344 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.1859, allocations: 7.984 kB / 0.7096 GB, free: 9.336 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.1859, allocations: 4 kB / 0.7096 GB, free: 9.332 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000179/0.1861, allocations: 31.91 kB / 0.7096 GB, free: 9.301 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.338e-06/0.1861, allocations: 4 kB / 0.7096 GB, free: 9.297 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004924/0.1866, allocations: 59.84 kB / 0.7097 GB, free: 9.238 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.785e-05/0.1867, allocations: 47.98 kB / 0.7097 GB, free: 9.191 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.0001949/0.1869, allocations: 176.4 kB / 0.7099 GB, free: 9.008 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.222e-05/0.1869, allocations: 27.8 kB / 0.7099 GB, free: 8.98 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.65e-05/0.187, allocations: 30.19 kB / 0.7099 GB, free: 8.953 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.276e-06/0.187, allocations: 4 kB / 0.7099 GB, free: 8.949 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.187, allocations: 0 / 0.7099 GB, free: 8.949 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.187, allocations: 0 / 0.7099 GB, free: 8.949 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008441/0.1879, allocations: 0.5207 MB / 0.7105 GB, free: 8.379 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.1879, allocations: 4 kB / 0.7105 GB, free: 8.375 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.444e-05/0.1879, allocations: 7.984 kB / 0.7105 GB, free: 8.367 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.1879, allocations: 0 / 0.7105 GB, free: 8.367 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.801e-05/0.1879, allocations: 15.98 kB / 0.7105 GB, free: 8.352 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.1879, allocations: 0 / 0.7105 GB, free: 8.352 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.1879, allocations: 3.984 kB / 0.7105 GB, free: 8.348 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004476/0.1884, allocations: 341.1 kB / 0.7108 GB, free: 8 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001906/0.1886, allocations: 89.58 kB / 0.7109 GB, free: 7.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.511e-05/0.1886, allocations: 12 kB / 0.7109 GB, free: 7.898 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002038/0.1888, allocations: 11.98 kB / 0.7109 GB, free: 7.887 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.365e-05/0.1889, allocations: 15.97 kB / 0.7109 GB, free: 7.871 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.396e-05/0.1889, allocations: 31.98 kB / 0.711 GB, free: 7.84 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001986/0.1891, allocations: 211 kB / 0.7112 GB, free: 7.637 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.1891, allocations: 4 kB / 0.7112 GB, free: 7.633 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000305/0.1894, allocations: 48 kB / 0.7112 GB, free: 7.586 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.000794/0.1902, allocations: 0.8716 MB / 0.7121 GB, free: 6.688 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0006118/0.1908, allocations: 379.8 kB / 0.7124 GB, free: 6.281 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.1908, allocations: 0 / 0.7124 GB, free: 6.281 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001468/0.191, allocations: 67.89 kB / 0.7125 GB, free: 6.215 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003359/0.1913, allocations: 32.73 kB / 0.7125 GB, free: 6.188 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003347/0.1947, allocations: 2.674 MB / 0.7151 GB, free: 3.328 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001402/0.1948, allocations: 132.6 kB / 0.7153 GB, free: 3.176 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001247/0.1949, allocations: 37.41 kB / 0.7153 GB, free: 3.141 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001361/0.1951, allocations: 51.41 kB / 0.7153 GB, free: 3.09 MB / 0.5294 GB Notification: Performance of SimCode: time 7.12e-07/0.1951, allocations: 0 / 0.7153 GB, free: 3.09 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03862/0.2337, allocations: 6.426 MB / 0.7216 GB, free: 12.83 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.82/12.05, allocations: 12.06 kB / 0.7216 GB, free: 12.82 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 sys.exit(0), Time elapsed: 15.689414822962135] Failed to read output from testmodel.py, exit status != 0: 12.157724583987147 12.173811868 11.991443754 Calling exit ...