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.001409/0.001409, allocations: 116.8 kB / 17.16 MB, free: 5.895 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.001439/0.001439, allocations: 212 kB / 20.13 MB, free: 2.949 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.511/1.511, allocations: 230.6 MB / 253.5 MB, free: 15.12 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.8721/0.8721, allocations: 133.9 MB / 443.5 MB, free: 13.96 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.002069/0.002069, allocations: 73.53 kB / 0.6141 GB, free: 38.32 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1823/0.1844, allocations: 85.85 MB / 0.6979 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.CalendarTime): time 0.00314/0.1875, allocations: 1.491 MB / 0.6994 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001199/0.1887, allocations: 431.2 kB / 0.6998 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.503e-05/0.1888, allocations: 0 / 0.6998 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001242/0.1889, allocations: 9.25 kB / 0.6998 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001308/0.189, allocations: 27.09 kB / 0.6998 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007759/0.1898, allocations: 238.4 kB / 0.7 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0004242/0.1902, allocations: 300.6 kB / 0.7003 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.077e-05/0.1903, allocations: 14.83 kB / 0.7003 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003142/0.1906, allocations: 184.6 kB / 0.7005 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002481/0.1908, allocations: 124.3 kB / 0.7006 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 6.052e-05/0.1909, allocations: 18.5 kB / 0.7006 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 5.322e-05/0.191, allocations: 18.03 kB / 0.7007 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001268/0.1911, allocations: 77.19 kB / 0.7007 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001632/0.1912, allocations: 119.1 kB / 0.7009 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003781/0.1916, allocations: 291.6 kB / 0.7011 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.1916, allocations: 1.469 kB / 0.7011 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.684e-06/0.1916, allocations: 4 kB / 0.7011 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.274e-06/0.1916, allocations: 0 / 0.7011 GB, free: 11.37 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.001336/0.193, allocations: 0.6945 MB / 0.7018 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.193, allocations: 11.3 kB / 0.7018 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.853e-05/0.193, allocations: 14.86 kB / 0.7018 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.654e-05/0.1931, allocations: 32.12 kB / 0.7019 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.748e-05/0.1932, allocations: 36.03 kB / 0.7019 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003664/0.1936, allocations: 267.6 kB / 0.7022 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.034e-05/0.1936, allocations: 14.8 kB / 0.7022 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.151e-05/0.1937, allocations: 19.12 kB / 0.7022 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003477/0.194, allocations: 152.2 kB / 0.7023 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.194, allocations: 0 / 0.7023 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.657e-05/0.194, allocations: 1.375 kB / 0.7023 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-06/0.194, allocations: 1.375 kB / 0.7023 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001523/0.1942, allocations: 50.38 kB / 0.7024 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000433/0.1946, allocations: 315.5 kB / 0.7027 GB, free: 9.938 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003201/0.1949, allocations: 123.6 kB / 0.7028 GB, free: 9.828 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000148/0.1951, allocations: 44.84 kB / 0.7028 GB, free: 9.781 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.107e-05/0.1951, allocations: 3.984 kB / 0.7029 GB, free: 9.777 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004573/0.1956, allocations: 217 kB / 0.7031 GB, free: 9.555 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=18): time 1.443e-06/0.1956, allocations: 0 / 0.7031 GB, free: 9.555 MB / 0.5137 GB Notification: Performance of matching and sorting (n=18): time 0.0006389/0.1962, allocations: 274.6 kB / 0.7033 GB, free: 9.281 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.981e-05/0.1963, allocations: 59.41 kB / 0.7034 GB, free: 9.211 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003007/0.1966, allocations: 287 kB / 0.7037 GB, free: 8.91 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.934e-05/0.1966, allocations: 45.69 kB / 0.7037 GB, free: 8.859 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.185e-05/0.1967, allocations: 89.14 kB / 0.7038 GB, free: 8.766 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.108e-05/0.1968, allocations: 51.62 kB / 0.7038 GB, free: 8.715 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000183/0.197, allocations: 105.8 kB / 0.7039 GB, free: 8.602 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.1971, allocations: 326.8 kB / 0.7042 GB, free: 8.273 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002342/0.1974, allocations: 88.19 kB / 0.7043 GB, free: 8.188 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002605/0.1976, allocations: 155.6 kB / 0.7045 GB, free: 8.016 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000362/0.198, allocations: 239.5 kB / 0.7047 GB, free: 7.75 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.198, allocations: 4 kB / 0.7047 GB, free: 7.746 MB / 0.5137 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007377/0.1987, allocations: 412.6 kB / 0.7051 GB, free: 7.324 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.227e-05/0.1988, allocations: 75.39 kB / 0.7052 GB, free: 7.238 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.1988, allocations: 7.938 kB / 0.7052 GB, free: 7.23 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.371e-05/0.1989, allocations: 0 / 0.7052 GB, free: 7.23 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001957/0.1991, allocations: 31.91 kB / 0.7052 GB, free: 7.199 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.1991, allocations: 0 / 0.7052 GB, free: 7.199 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005247/0.1996, allocations: 64.03 kB / 0.7053 GB, free: 7.137 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.99e-05/0.1997, allocations: 59.92 kB / 0.7053 GB, free: 7.078 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 (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.0002272/0.1999, allocations: 166.5 kB / 0.7055 GB, free: 6.906 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.183e-05/0.2, allocations: 31.75 kB / 0.7055 GB, free: 6.875 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.755e-05/0.2, allocations: 30.25 kB / 0.7055 GB, free: 6.848 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.2, allocations: 0 / 0.7055 GB, free: 6.848 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.2, allocations: 4 kB / 0.7056 GB, free: 6.844 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.2001, allocations: 0 / 0.7056 GB, free: 6.844 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009509/0.201, allocations: 0.5627 MB / 0.7061 GB, free: 6.227 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.201, allocations: 0 / 0.7061 GB, free: 6.227 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.857e-05/0.2011, allocations: 11.92 kB / 0.7061 GB, free: 6.215 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.748e-06/0.2011, allocations: 4 kB / 0.7061 GB, free: 6.211 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.392e-05/0.2011, allocations: 15.97 kB / 0.7061 GB, free: 6.195 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.2011, allocations: 0 / 0.7061 GB, free: 6.195 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.2011, allocations: 4 kB / 0.7061 GB, free: 6.191 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005018/0.2016, allocations: 327.1 kB / 0.7064 GB, free: 5.855 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001991/0.2018, allocations: 168.7 kB / 0.7066 GB, free: 5.672 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.041e-05/0.2019, allocations: 8 kB / 0.7066 GB, free: 5.664 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002285/0.2021, allocations: 11.98 kB / 0.7066 GB, free: 5.652 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.356e-05/0.2022, allocations: 19.98 kB / 0.7066 GB, free: 5.633 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.501e-05/0.2022, allocations: 23.98 kB / 0.7067 GB, free: 5.609 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002256/0.2024, allocations: 209.9 kB / 0.7069 GB, free: 5.41 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.2024, allocations: 4 kB / 0.7069 GB, free: 5.406 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003486/0.2028, allocations: 55.92 kB / 0.7069 GB, free: 5.352 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 (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.0008913/0.2037, allocations: 0.8638 MB / 0.7078 GB, free: 4.461 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0006578/0.2043, allocations: 312.6 kB / 0.7081 GB, free: 4.133 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.2043, allocations: 4.062 kB / 0.7081 GB, free: 4.129 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001562/0.2045, allocations: 63.91 kB / 0.7081 GB, free: 4.066 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003473/0.2048, allocations: 24.88 kB / 0.7082 GB, free: 4.035 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003467/0.2083, allocations: 2.408 MB / 0.7105 GB, free: 1.5 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004576/0.2088, allocations: 0.7473 MB / 0.7112 GB, free: 0.7266 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001458/0.2089, allocations: 37.42 kB / 0.7113 GB, free: 0.6914 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001501/0.2091, allocations: 39.42 kB / 0.7113 GB, free: 0.6523 MB / 0.5137 GB Notification: Performance of SimCode: time 3.31e-07/0.2091, allocations: 0 / 0.7113 GB, free: 0.6523 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02341/0.2325, allocations: 5.355 MB / 0.7165 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.293/8.525, allocations: 8.891 kB / 0.7165 GB, free: 11.43 MB / 0.5294 GB " [Timeout remaining time 651] (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: 12.43722769699525] Failed to read output from testmodel.py, exit status != 0: 8.974285209958907 8.680077879 8.483998734 Calling exit ...