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.001499/0.001499, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001707/0.001707, allocations: 220.5 kB / 22.26 MB, free: 5.125 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.505/1.505, allocations: 230.6 MB / 256 MB, free: 7.98 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.8753/0.8753, allocations: 134 MB / 446.4 MB, free: 10.21 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.002221/0.002221, allocations: 66.45 kB / 0.6185 GB, free: 7.254 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1752/0.1774, allocations: 85.91 MB / 0.7024 GB, free: 1.414 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002882/0.1803, allocations: 1.506 MB / 0.7039 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001004/0.1813, allocations: 426.5 kB / 0.7043 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.982e-05/0.1813, allocations: 0 / 0.7043 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 9.813e-05/0.1814, allocations: 11.88 kB / 0.7043 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.00011/0.1816, allocations: 20.17 kB / 0.7043 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007677/0.1823, allocations: 250.5 kB / 0.7046 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0004202/0.1827, allocations: 295.6 kB / 0.7049 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.103e-05/0.1828, allocations: 11.94 kB / 0.7049 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003753/0.1832, allocations: 195.7 kB / 0.7051 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002871/0.1835, allocations: 120 kB / 0.7052 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 6.72e-05/0.1835, allocations: 20 kB / 0.7052 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 5.208e-05/0.1836, allocations: 16 kB / 0.7052 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001251/0.1837, allocations: 83.78 kB / 0.7053 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001525/0.1839, allocations: 127.3 kB / 0.7054 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003467/0.1842, allocations: 275.2 kB / 0.7057 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.1842, allocations: 7.938 kB / 0.7057 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.072e-06/0.1842, allocations: 4 kB / 0.7057 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.272e-05/0.1842, allocations: 0 / 0.7057 GB, free: 14.07 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.001261/0.1855, allocations: 0.6308 MB / 0.7063 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.1855, allocations: 8.031 kB / 0.7063 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.641e-05/0.1856, allocations: 46.73 kB / 0.7063 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.172e-05/0.1857, allocations: 28.8 kB / 0.7064 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003529/0.186, allocations: 206.6 kB / 0.7066 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.371e-05/0.1861, allocations: 16.11 kB / 0.7066 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.91e-05/0.1861, allocations: 20 kB / 0.7066 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003186/0.1864, allocations: 152.5 kB / 0.7067 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.1864, allocations: 4 kB / 0.7068 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.188e-05/0.1865, allocations: 0 / 0.7068 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.1865, allocations: 0 / 0.7068 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001362/0.1866, allocations: 47.97 kB / 0.7068 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004118/0.187, allocations: 280.5 kB / 0.7071 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000297/0.1873, allocations: 126.6 kB / 0.7072 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001261/0.1874, allocations: 44.84 kB / 0.7072 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.698e-05/0.1875, allocations: 4 kB / 0.7072 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00049/0.188, allocations: 219.6 kB / 0.7074 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=18): time 1.503e-06/0.188, allocations: 0 / 0.7074 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of matching and sorting (n=18): time 0.0006406/0.1886, allocations: 279.2 kB / 0.7077 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.228e-05/0.1887, allocations: 67.39 kB / 0.7078 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003052/0.189, allocations: 288.2 kB / 0.708 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.919e-05/0.189, allocations: 37.69 kB / 0.7081 GB, free: 11.42 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.61e-05/0.1891, allocations: 93.14 kB / 0.7082 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.743e-05/0.1892, allocations: 43.64 kB / 0.7082 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001722/0.1893, allocations: 101.8 kB / 0.7083 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.1895, allocations: 326.8 kB / 0.7086 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002091/0.1897, allocations: 88.17 kB / 0.7087 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002377/0.1899, allocations: 150.4 kB / 0.7088 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003353/0.1903, allocations: 246.1 kB / 0.7091 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.1903, allocations: 0 / 0.7091 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006972/0.191, allocations: 417.8 kB / 0.7095 GB, free: 9.895 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.117e-05/0.191, allocations: 75.39 kB / 0.7096 GB, free: 9.809 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.191, allocations: 0 / 0.7096 GB, free: 9.809 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.191, allocations: 4 kB / 0.7096 GB, free: 9.805 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000174/0.1912, allocations: 32.09 kB / 0.7096 GB, free: 9.773 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.1912, allocations: 4 kB / 0.7096 GB, free: 9.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004959/0.1917, allocations: 67.72 kB / 0.7097 GB, free: 9.703 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.769e-05/0.1918, allocations: 51.98 kB / 0.7097 GB, free: 9.652 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.0001994/0.192, allocations: 168.4 kB / 0.7099 GB, free: 9.477 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.585e-05/0.192, allocations: 31.8 kB / 0.7099 GB, free: 9.445 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.862e-05/0.1921, allocations: 30.19 kB / 0.7099 GB, free: 9.418 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.1921, allocations: 0 / 0.7099 GB, free: 9.418 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.1921, allocations: 4 kB / 0.7099 GB, free: 9.414 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.1921, allocations: 0 / 0.7099 GB, free: 9.414 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008828/0.193, allocations: 0.5305 MB / 0.7104 GB, free: 8.836 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.193, allocations: 0 / 0.7104 GB, free: 8.836 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.158e-05/0.1931, allocations: 15.98 kB / 0.7105 GB, free: 8.82 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.1931, allocations: 0 / 0.7105 GB, free: 8.82 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.795e-05/0.1931, allocations: 19.98 kB / 0.7105 GB, free: 8.801 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.1931, allocations: 0 / 0.7105 GB, free: 8.801 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.1931, allocations: 3.938 kB / 0.7105 GB, free: 8.797 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004423/0.1935, allocations: 323.1 kB / 0.7108 GB, free: 8.465 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001936/0.1937, allocations: 89.64 kB / 0.7109 GB, free: 8.375 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.268e-05/0.1938, allocations: 12 kB / 0.7109 GB, free: 8.363 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002122/0.194, allocations: 7.984 kB / 0.7109 GB, free: 8.355 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.8e-05/0.1941, allocations: 27.95 kB / 0.7109 GB, free: 8.328 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.469e-05/0.1941, allocations: 31.92 kB / 0.711 GB, free: 8.297 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002034/0.1943, allocations: 211 kB / 0.7112 GB, free: 8.094 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1943, allocations: 0 / 0.7112 GB, free: 8.094 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003229/0.1946, allocations: 48 kB / 0.7112 GB, free: 8.047 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.0008201/0.1955, allocations: 0.8683 MB / 0.7121 GB, free: 7.152 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005576/0.196, allocations: 314.6 kB / 0.7124 GB, free: 6.82 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.196, allocations: 0 / 0.7124 GB, free: 6.82 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001484/0.1962, allocations: 69.77 kB / 0.7124 GB, free: 6.754 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003461/0.1965, allocations: 23.08 kB / 0.7124 GB, free: 6.73 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003165/0.1997, allocations: 2.406 MB / 0.7148 GB, free: 4.188 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003912/0.2001, allocations: 0.7396 MB / 0.7155 GB, free: 3.422 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001191/0.2002, allocations: 41.42 kB / 0.7156 GB, free: 3.383 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001318/0.2003, allocations: 43.59 kB / 0.7156 GB, free: 3.34 MB / 0.5294 GB Notification: Performance of SimCode: time 8.91e-07/0.2003, allocations: 4 kB / 0.7156 GB, free: 3.336 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03382/0.2341, allocations: 5.503 MB / 0.721 GB, free: 13.99 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.55/11.78, allocations: 3.719 kB / 0.721 GB, free: 13.99 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.506502593168989] Failed to read output from testmodel.py, exit status != 0: 11.888974120141938 11.911650473 11.724104123 Calling exit ...