Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Time.Examples.CalendarTime.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.001316/0.001316, 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.001532/0.001532, allocations: 223 kB / 23.03 MB, free: 4.941 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.507/1.507, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.8627/0.8627, allocations: 134 MB / 447.2 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.Examples.CalendarTime,fileNamePrefix="IDEAS_IDEAS_Utilities_Time_Examples_CalendarTime",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Time.Examples.CalendarTime,fileNamePrefix="IDEAS_IDEAS_Utilities_Time_Examples_CalendarTime",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.00191/0.00191, allocations: 66.77 kB / 0.6192 GB, free: 6.945 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1794/0.1813, allocations: 85.91 MB / 0.7031 GB, free: 1.121 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.CalendarTime): time 0.003011/0.1843, allocations: 1.475 MB / 0.7045 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0009699/0.1853, allocations: 411.3 kB / 0.7049 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.842e-05/0.1853, allocations: 8 kB / 0.7049 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 9.425e-05/0.1854, allocations: 3.938 kB / 0.705 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001054/0.1855, allocations: 24.22 kB / 0.705 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007268/0.1862, allocations: 246.7 kB / 0.7052 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003625/0.1866, allocations: 303.5 kB / 0.7055 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.917e-05/0.1866, allocations: 8 kB / 0.7055 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000275/0.1869, allocations: 195.7 kB / 0.7057 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002223/0.1871, allocations: 112.1 kB / 0.7058 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 6.525e-05/0.1872, allocations: 23.94 kB / 0.7058 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.43e-05/0.1873, allocations: 16 kB / 0.7058 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001148/0.1874, allocations: 83.72 kB / 0.7059 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001371/0.1875, allocations: 99.56 kB / 0.706 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003312/0.1879, allocations: 291.2 kB / 0.7063 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.1879, allocations: 0 / 0.7063 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of FrontEnd: time 7.52e-07/0.1879, allocations: 0 / 0.7063 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.558e-06/0.1879, allocations: 0 / 0.7063 GB, free: 13.85 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.001192/0.1891, allocations: 0.6323 MB / 0.7069 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.1891, allocations: 8.031 kB / 0.7069 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.175e-05/0.1891, allocations: 4.188 kB / 0.7069 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.502e-05/0.1892, allocations: 42.73 kB / 0.707 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.152e-05/0.1892, allocations: 28.8 kB / 0.707 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003591/0.1896, allocations: 210.5 kB / 0.7072 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.959e-05/0.1896, allocations: 15.94 kB / 0.7072 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.757e-05/0.1897, allocations: 16 kB / 0.7072 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003115/0.19, allocations: 149.5 kB / 0.7074 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.19, allocations: 0 / 0.7074 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.612e-05/0.19, allocations: 7.984 kB / 0.7074 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.19, allocations: 0 / 0.7074 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001422/0.1902, allocations: 55.91 kB / 0.7074 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004049/0.1906, allocations: 252.5 kB / 0.7077 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002875/0.1909, allocations: 110.7 kB / 0.7078 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001269/0.191, allocations: 52.83 kB / 0.7078 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.433e-05/0.191, allocations: 0 / 0.7078 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004763/0.1915, allocations: 223.6 kB / 0.708 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=18): time 1.643e-06/0.1915, allocations: 0 / 0.708 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of matching and sorting (n=18): time 0.0006113/0.1921, allocations: 271.3 kB / 0.7083 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.213e-05/0.1922, allocations: 63.39 kB / 0.7084 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003045/0.1925, allocations: 284.2 kB / 0.7086 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 6.215e-05/0.1925, allocations: 41.7 kB / 0.7087 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001014/0.1926, allocations: 93.12 kB / 0.7088 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 7.16e-05/0.1927, allocations: 55.62 kB / 0.7088 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002071/0.1929, allocations: 101.8 kB / 0.7089 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002193/0.1931, allocations: 326.8 kB / 0.7092 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003254/0.1935, allocations: 155.6 kB / 0.7094 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000371/0.1938, allocations: 217.7 kB / 0.7096 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004001/0.1942, allocations: 235.2 kB / 0.7098 GB, free: 9.969 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.1942, allocations: 4 kB / 0.7098 GB, free: 9.965 MB / 0.5294 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008384/0.1951, allocations: 486.4 kB / 0.7103 GB, free: 9.453 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.66e-05/0.1952, allocations: 75.39 kB / 0.7103 GB, free: 9.367 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.1952, allocations: 0 / 0.7103 GB, free: 9.367 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.383e-05/0.1952, allocations: 4 kB / 0.7103 GB, free: 9.363 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001915/0.1954, allocations: 27.97 kB / 0.7104 GB, free: 9.336 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.2e-05/0.1954, allocations: 7.938 kB / 0.7104 GB, free: 9.328 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005191/0.1959, allocations: 64.03 kB / 0.7104 GB, free: 9.266 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.508e-05/0.196, allocations: 51.98 kB / 0.7105 GB, free: 9.215 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 (calendarTime2016.firstHourSampling,$PRE.calendarTime2016.firstHourSampling,calendarTime2016.firstDaySampling,$PRE.calendarTime2016.firstDaySampling,calendarTime2016.daySampleTrigger,$whenCondition1,calendarTime2016.hourSampleTrigger,$whenCondition2,calendarTime2016.epochLastMonth,$PRE.calendarTime2016.epochLastMonth,calendarTime2016.yearIndex,$PRE.calendarTime2016.yearIndex,calendarTime2016.daysSinceEpoch,$PRE.calendarTime2016.daysSinceEpoch,calendarTime2016.weekDay,$PRE.calendarTime2016.weekDay,calendarTime2016.hour,$PRE.calendarTime2016.hour,calendarTime2016.day,$PRE.calendarTime2016.day,calendarTime2016.month,$PRE.calendarTime2016.month,calendarTime2016.year,$PRE.calendarTime2016.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.0002374/0.1963, allocations: 169.8 kB / 0.7106 GB, free: 9.039 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.235e-05/0.1963, allocations: 31.78 kB / 0.7107 GB, free: 9.008 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.953e-05/0.1964, allocations: 26.19 kB / 0.7107 GB, free: 8.984 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.1964, allocations: 4 kB / 0.7107 GB, free: 8.98 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.1964, allocations: 0 / 0.7107 GB, free: 8.98 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.1964, allocations: 4 kB / 0.7107 GB, free: 8.977 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008738/0.1973, allocations: 0.5233 MB / 0.7112 GB, free: 8.406 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.1973, allocations: 4 kB / 0.7112 GB, free: 8.402 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.456e-05/0.1973, allocations: 7.938 kB / 0.7112 GB, free: 8.395 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.1973, allocations: 3.984 kB / 0.7112 GB, free: 8.391 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.234e-05/0.1973, allocations: 15.98 kB / 0.7113 GB, free: 8.375 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.868e-06/0.1973, allocations: 3.984 kB / 0.7113 GB, free: 8.371 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.1974, allocations: 0 / 0.7113 GB, free: 8.371 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005055/0.1979, allocations: 327.1 kB / 0.7116 GB, free: 8.035 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001953/0.1981, allocations: 97.56 kB / 0.7117 GB, free: 7.938 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.674e-05/0.1981, allocations: 8 kB / 0.7117 GB, free: 7.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002241/0.1983, allocations: 11.98 kB / 0.7117 GB, free: 7.918 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.575e-05/0.1984, allocations: 19.97 kB / 0.7117 GB, free: 7.898 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.692e-05/0.1985, allocations: 27.98 kB / 0.7117 GB, free: 7.871 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002315/0.1987, allocations: 211 kB / 0.7119 GB, free: 7.668 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.1987, allocations: 3.938 kB / 0.7119 GB, free: 7.664 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003287/0.199, allocations: 55.94 kB / 0.712 GB, free: 7.609 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 (calendarTime2016.hourSampleTrigger,calendarTime2016.daySampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,calendarTime2016.year,calendarTime2016.month,calendarTime2016.day,calendarTime2016.hour,calendarTime2016.weekDay,calendarTime2016.daysSinceEpoch,calendarTime2016.yearIndex,calendarTime2016.epochLastMonth,calendarTime2016.firstHourSampling,calendarTime2016.firstDaySampling) * Number of discrete states: 9 (calendarTime2016.firstDaySampling,calendarTime2016.daysSinceEpoch,calendarTime2016.weekDay,calendarTime2016.firstHourSampling,calendarTime2016.hour,calendarTime2016.yearIndex,calendarTime2016.epochLastMonth,calendarTime2016.month,calendarTime2016.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.00085/0.1999, allocations: 0.8646 MB / 0.7128 GB, free: 6.719 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0006094/0.2005, allocations: 378.3 kB / 0.7132 GB, free: 6.312 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.2005, allocations: 0 / 0.7132 GB, free: 6.312 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001529/0.2006, allocations: 67.89 kB / 0.7133 GB, free: 6.246 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003524/0.201, allocations: 27.64 kB / 0.7133 GB, free: 6.219 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003572/0.2046, allocations: 2.691 MB / 0.7159 GB, free: 3.344 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001863/0.2048, allocations: 128.6 kB / 0.716 GB, free: 3.195 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001256/0.2049, allocations: 37.42 kB / 0.7161 GB, free: 3.16 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001425/0.205, allocations: 43.42 kB / 0.7161 GB, free: 3.117 MB / 0.5294 GB Notification: Performance of SimCode: time 7.01e-07/0.205, allocations: 0 / 0.7161 GB, free: 3.117 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02935/0.2344, allocations: 6.119 MB / 0.7221 GB, free: 13.18 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/11.72, allocations: 10.25 kB / 0.7221 GB, free: 13.18 MB / 0.545 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo IDEAS_IDEAS.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Time.Examples.CalendarTime.pipe >> ../files/IDEAS_IDEAS.Utilities.Time.Examples.CalendarTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Time_Examples_CalendarTime_fmu --startTime=0 --stopTime=1e+08 --stepSize=40000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Time_Examples_CalendarTime.fmu > IDEAS_IDEAS.Utilities.Time.Examples.CalendarTime.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.459404091001488] Failed to read output from testmodel.py, exit status != 0: 11.885810710024089 11.911504054 11.719011873 Calling exit ...