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.001356/0.001356, allocations: 110.4 kB / 18.94 MB, free: 2.812 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.002381/0.002381, allocations: 219 kB / 22.25 MB, free: 5.184 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.517/1.517, allocations: 230.6 MB / 256 MB, free: 7.996 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.8463/0.8463, allocations: 134 MB / 446.4 MB, free: 10.72 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Time.Examples.CalendarTime,fileNamePrefix="IDEAS_IDEAS_Utilities_Time_Examples_CalendarTime",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.002852/0.002852, allocations: 65.66 kB / 0.6185 GB, free: 7.254 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1808/0.1836, allocations: 85.91 MB / 0.7024 GB, free: 1.426 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.CalendarTime): time 0.003405/0.187, allocations: 1.502 MB / 0.7039 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001126/0.1882, allocations: 429.6 kB / 0.7043 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.363e-05/0.1883, allocations: 7.938 kB / 0.7043 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001228/0.1884, allocations: 3.938 kB / 0.7043 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.000148/0.1885, allocations: 20.23 kB / 0.7043 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001083/0.1896, allocations: 253.9 kB / 0.7046 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0005294/0.1901, allocations: 299.6 kB / 0.7048 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.654e-05/0.1902, allocations: 0 / 0.7048 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004399/0.1906, allocations: 195.7 kB / 0.705 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003555/0.191, allocations: 124 kB / 0.7052 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.032e-05/0.1911, allocations: 16 kB / 0.7052 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.171e-05/0.1912, allocations: 20 kB / 0.7052 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001323/0.1913, allocations: 75.78 kB / 0.7053 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001694/0.1915, allocations: 123.4 kB / 0.7054 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0004323/0.1919, allocations: 287.2 kB / 0.7056 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.1919, allocations: 0 / 0.7056 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.583e-06/0.1919, allocations: 0 / 0.7056 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.083e-05/0.1919, allocations: 0 / 0.7056 GB, free: 14.1 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.001491/0.1934, allocations: 0.6324 MB / 0.7063 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.1934, allocations: 12.03 kB / 0.7063 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.671e-05/0.1935, allocations: 34.73 kB / 0.7063 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001029/0.1936, allocations: 36.73 kB / 0.7063 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003644/0.194, allocations: 210.6 kB / 0.7065 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.114e-05/0.194, allocations: 24.09 kB / 0.7066 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.13e-05/0.1941, allocations: 12 kB / 0.7066 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003386/0.1944, allocations: 145.5 kB / 0.7067 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.1944, allocations: 4 kB / 0.7067 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.186e-05/0.1944, allocations: 0 / 0.7067 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.451e-06/0.1944, allocations: 4 kB / 0.7067 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001484/0.1946, allocations: 47.97 kB / 0.7068 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003916/0.195, allocations: 280.5 kB / 0.707 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003253/0.1953, allocations: 122.6 kB / 0.7072 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001219/0.1954, allocations: 52.78 kB / 0.7072 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.495e-05/0.1955, allocations: 0 / 0.7072 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005521/0.196, allocations: 219.6 kB / 0.7074 GB, free: 12.13 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=18): time 1.994e-06/0.196, allocations: 4 kB / 0.7074 GB, free: 12.13 MB / 0.5294 GB Notification: Performance of matching and sorting (n=18): time 0.0007055/0.1967, allocations: 279.6 kB / 0.7077 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.254e-05/0.1968, allocations: 55.41 kB / 0.7077 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000336/0.1971, allocations: 288.2 kB / 0.708 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.727e-05/0.1972, allocations: 41.69 kB / 0.7081 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.36e-05/0.1973, allocations: 93.12 kB / 0.7081 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 7.327e-05/0.1973, allocations: 47.64 kB / 0.7082 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001803/0.1975, allocations: 105.8 kB / 0.7083 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000233/0.1978, allocations: 322.8 kB / 0.7086 GB, free: 10.87 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002405/0.198, allocations: 92.17 kB / 0.7087 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002698/0.1983, allocations: 150.3 kB / 0.7088 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004087/0.1987, allocations: 246.4 kB / 0.7091 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.1987, allocations: 0 / 0.7091 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007623/0.1994, allocations: 414.3 kB / 0.7095 GB, free: 9.914 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.223e-05/0.1995, allocations: 79.39 kB / 0.7095 GB, free: 9.824 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.1995, allocations: 4 kB / 0.7095 GB, free: 9.82 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.1996, allocations: 0 / 0.7095 GB, free: 9.82 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001874/0.1997, allocations: 31.91 kB / 0.7096 GB, free: 9.789 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/0.1997, allocations: 3.938 kB / 0.7096 GB, free: 9.785 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004896/0.2002, allocations: 59.84 kB / 0.7096 GB, free: 9.727 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.388e-05/0.2003, allocations: 55.98 kB / 0.7097 GB, free: 9.672 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.0002182/0.2006, allocations: 173.7 kB / 0.7098 GB, free: 9.492 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.308e-05/0.2006, allocations: 27.8 kB / 0.7099 GB, free: 9.465 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.255e-05/0.2007, allocations: 34.19 kB / 0.7099 GB, free: 9.434 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.2007, allocations: 0 / 0.7099 GB, free: 9.434 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.2007, allocations: 0 / 0.7099 GB, free: 9.434 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.2007, allocations: 0 / 0.7099 GB, free: 9.434 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001163/0.2019, allocations: 0.5363 MB / 0.7104 GB, free: 8.848 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.2019, allocations: 0 / 0.7104 GB, free: 8.848 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.36e-05/0.2019, allocations: 19.92 kB / 0.7105 GB, free: 8.828 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.2019, allocations: 0 / 0.7105 GB, free: 8.828 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.431e-05/0.2019, allocations: 7.984 kB / 0.7105 GB, free: 8.82 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.2019, allocations: 4 kB / 0.7105 GB, free: 8.816 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2019, allocations: 0 / 0.7105 GB, free: 8.816 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005042/0.2024, allocations: 321.3 kB / 0.7108 GB, free: 8.488 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002018/0.2026, allocations: 89.64 kB / 0.7109 GB, free: 8.398 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.711e-05/0.2027, allocations: 8 kB / 0.7109 GB, free: 8.391 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002167/0.2029, allocations: 22.3 kB / 0.7109 GB, free: 8.371 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.172e-05/0.203, allocations: 19.97 kB / 0.7109 GB, free: 8.352 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.087e-05/0.203, allocations: 27.98 kB / 0.7109 GB, free: 8.324 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002327/0.2033, allocations: 211 kB / 0.7111 GB, free: 8.121 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.2033, allocations: 3.938 kB / 0.7111 GB, free: 8.117 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003445/0.2036, allocations: 52 kB / 0.7112 GB, free: 8.066 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.0009842/0.2046, allocations: 0.8661 MB / 0.712 GB, free: 7.172 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0006823/0.2053, allocations: 316.6 kB / 0.7123 GB, free: 6.84 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.2053, allocations: 4 kB / 0.7123 GB, free: 6.836 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001458/0.2054, allocations: 63.89 kB / 0.7124 GB, free: 6.773 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003595/0.2058, allocations: 20.97 kB / 0.7124 GB, free: 6.75 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003621/0.2094, allocations: 2.422 MB / 0.7148 GB, free: 4.195 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005475/0.2099, allocations: 0.7357 MB / 0.7155 GB, free: 3.434 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001312/0.2101, allocations: 41.42 kB / 0.7155 GB, free: 3.395 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001521/0.2102, allocations: 47.41 kB / 0.7156 GB, free: 3.348 MB / 0.5294 GB Notification: Performance of SimCode: time 8.81e-07/0.2102, allocations: 0 / 0.7156 GB, free: 3.348 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03756/0.2478, allocations: 5.544 MB / 0.721 GB, free: 13.95 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.53, allocations: 8.047 kB / 0.721 GB, free: 13.95 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 sys.exit(0), Time elapsed: 15.703204952180386] Failed to read output from testmodel.py, exit status != 0: 11.636551789939404 11.659481574 11.462821891 Calling exit ...