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: 103.6 kB / 18.95 MB, free: 2.547 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.001539/0.001539, allocations: 214.8 kB / 22.25 MB, free: 4.867 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.495/1.495, allocations: 230.6 MB / 256 MB, free: 7.812 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.8935/0.8935, allocations: 134 MB / 446.4 MB, free: 9.957 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.002053/0.002053, allocations: 70.03 kB / 0.6184 GB, free: 6.91 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.19/0.1921, allocations: 85.92 MB / 0.7024 GB, free: 1.082 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.CalendarTime): time 0.002748/0.1948, allocations: 1.471 MB / 0.7038 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001162/0.196, allocations: 411.4 kB / 0.7042 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.726e-05/0.1961, allocations: 0 / 0.7042 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001253/0.1962, allocations: 11.86 kB / 0.7042 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.00012/0.1963, allocations: 24.23 kB / 0.7042 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008236/0.1971, allocations: 246.3 kB / 0.7044 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0004511/0.1976, allocations: 303.5 kB / 0.7047 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.007e-05/0.1976, allocations: 4 kB / 0.7047 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003546/0.198, allocations: 199.6 kB / 0.7049 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002332/0.1982, allocations: 105.8 kB / 0.705 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 6.824e-05/0.1983, allocations: 23.94 kB / 0.7051 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.824e-05/0.1984, allocations: 16 kB / 0.7051 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001196/0.1985, allocations: 83.77 kB / 0.7052 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001309/0.1986, allocations: 103.5 kB / 0.7052 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0004046/0.199, allocations: 279.2 kB / 0.7055 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.199, allocations: 0 / 0.7055 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.653e-06/0.199, allocations: 0 / 0.7055 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.162e-06/0.199, allocations: 3.938 kB / 0.7055 GB, free: 13.82 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.001194/0.2002, allocations: 0.6401 MB / 0.7061 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.2003, allocations: 8.031 kB / 0.7062 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.034e-05/0.2003, allocations: 38.75 kB / 0.7062 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.48e-05/0.2004, allocations: 32.78 kB / 0.7062 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003738/0.2008, allocations: 206.5 kB / 0.7064 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.097e-05/0.2008, allocations: 16.12 kB / 0.7064 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.729e-05/0.2009, allocations: 19.98 kB / 0.7065 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002942/0.2012, allocations: 145.5 kB / 0.7066 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/0.2012, allocations: 0 / 0.7066 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.111e-05/0.2012, allocations: 4 kB / 0.7066 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.2012, allocations: 4 kB / 0.7066 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000133/0.2013, allocations: 51.91 kB / 0.7066 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003317/0.2017, allocations: 244.6 kB / 0.7069 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002795/0.2019, allocations: 118.6 kB / 0.707 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001207/0.2021, allocations: 48.83 kB / 0.707 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.031e-05/0.2021, allocations: 0 / 0.707 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004525/0.2025, allocations: 223.6 kB / 0.7073 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=18): time 1.313e-06/0.2025, allocations: 0 / 0.7073 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of matching and sorting (n=18): time 0.0005957/0.2031, allocations: 271.5 kB / 0.7075 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.367e-05/0.2032, allocations: 75.31 kB / 0.7076 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003001/0.2035, allocations: 284.2 kB / 0.7079 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.888e-05/0.2035, allocations: 37.7 kB / 0.7079 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.539e-05/0.2036, allocations: 97.12 kB / 0.708 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.676e-05/0.2037, allocations: 51.58 kB / 0.708 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001603/0.2038, allocations: 101.8 kB / 0.7081 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000156/0.204, allocations: 322.8 kB / 0.7084 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002695/0.2043, allocations: 159.6 kB / 0.7086 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003207/0.2046, allocations: 209.8 kB / 0.7088 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003498/0.2049, allocations: 242.5 kB / 0.709 GB, free: 9.945 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.2049, allocations: 4 kB / 0.709 GB, free: 9.941 MB / 0.5294 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007549/0.2057, allocations: 480 kB / 0.7095 GB, free: 9.441 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.028e-05/0.2058, allocations: 75.39 kB / 0.7096 GB, free: 9.355 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.2058, allocations: 0 / 0.7096 GB, free: 9.355 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/0.2058, allocations: 4 kB / 0.7096 GB, free: 9.352 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001664/0.206, allocations: 27.91 kB / 0.7096 GB, free: 9.324 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.178e-05/0.206, allocations: 4 kB / 0.7096 GB, free: 9.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004763/0.2064, allocations: 68.03 kB / 0.7097 GB, free: 9.254 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.549e-05/0.2065, allocations: 51.98 kB / 0.7097 GB, free: 9.203 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.0002247/0.2068, allocations: 173.7 kB / 0.7099 GB, free: 9.023 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.612e-05/0.2068, allocations: 27.8 kB / 0.7099 GB, free: 8.996 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.715e-05/0.2069, allocations: 30.12 kB / 0.7099 GB, free: 8.969 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.2069, allocations: 7.938 kB / 0.7099 GB, free: 8.961 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.2069, allocations: 0 / 0.7099 GB, free: 8.961 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.2069, allocations: 4 kB / 0.7099 GB, free: 8.957 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008682/0.2077, allocations: 0.5268 MB / 0.7105 GB, free: 8.383 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.2077, allocations: 0 / 0.7105 GB, free: 8.383 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.886e-05/0.2078, allocations: 7.984 kB / 0.7105 GB, free: 8.375 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.2078, allocations: 0 / 0.7105 GB, free: 8.375 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.778e-05/0.2078, allocations: 15.98 kB / 0.7105 GB, free: 8.359 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.2078, allocations: 0 / 0.7105 GB, free: 8.359 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.2078, allocations: 0 / 0.7105 GB, free: 8.359 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000468/0.2083, allocations: 331 kB / 0.7108 GB, free: 8.02 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00019/0.2085, allocations: 89.64 kB / 0.7109 GB, free: 7.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.266e-05/0.2085, allocations: 8 kB / 0.7109 GB, free: 7.922 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002008/0.2087, allocations: 15.98 kB / 0.7109 GB, free: 7.906 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.51e-05/0.2088, allocations: 15.97 kB / 0.7109 GB, free: 7.891 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.823e-05/0.2088, allocations: 27.98 kB / 0.7109 GB, free: 7.863 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002041/0.209, allocations: 211 kB / 0.7111 GB, free: 7.66 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.209, allocations: 0 / 0.7111 GB, free: 7.66 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003077/0.2093, allocations: 52 kB / 0.7112 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.0008299/0.2102, allocations: 0.8798 MB / 0.7121 GB, free: 6.703 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0006153/0.2108, allocations: 374.2 kB / 0.7124 GB, free: 6.301 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.2108, allocations: 4 kB / 0.7124 GB, free: 6.297 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000146/0.2109, allocations: 63.95 kB / 0.7125 GB, free: 6.234 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003393/0.2113, allocations: 24.78 kB / 0.7125 GB, free: 6.211 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003756/0.215, allocations: 2.678 MB / 0.7151 GB, free: 3.348 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001972/0.2152, allocations: 131.1 kB / 0.7152 GB, free: 3.199 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001427/0.2154, allocations: 41.42 kB / 0.7153 GB, free: 3.16 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001534/0.2155, allocations: 47.34 kB / 0.7153 GB, free: 3.113 MB / 0.5294 GB Notification: Performance of SimCode: time 5.51e-07/0.2155, allocations: 0 / 0.7153 GB, free: 3.113 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03438/0.2499, allocations: 6.484 MB / 0.7217 GB, free: 12.82 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.63/11.88, allocations: 3.938 kB / 0.7217 GB, free: 12.81 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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Time.Examples.CalendarTime_res.csv --start-time 0 --stop-time 1e+08 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 40000 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: 17.650755593087524] Failed to read output from testmodel.py, exit status != 0: 11.985397732816637 12.004869311 11.801613978 Calling exit ...