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.001264/0.001264, 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.00143/0.00143, allocations: 218 kB / 22.25 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.521/1.521, allocations: 230.6 MB / 256 MB, free: 7.988 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: 10.28 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.002004/0.002004, allocations: 62.03 kB / 0.6185 GB, free: 7.266 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2106/0.2126, allocations: 85.9 MB / 0.7024 GB, free: 1.441 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.CalendarTime): time 0.003209/0.2158, allocations: 1.498 MB / 0.7039 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001224/0.2171, allocations: 431.3 kB / 0.7043 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.644e-05/0.2171, allocations: 0 / 0.7043 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.000148/0.2173, allocations: 11.88 kB / 0.7043 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001611/0.2174, allocations: 28.22 kB / 0.7043 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001009/0.2185, allocations: 240.5 kB / 0.7046 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0005333/0.219, allocations: 299.6 kB / 0.7048 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 7.364e-05/0.2191, allocations: 11.97 kB / 0.7049 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003899/0.2195, allocations: 199.7 kB / 0.705 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003381/0.2198, allocations: 120 kB / 0.7052 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 6.965e-05/0.2199, allocations: 20 kB / 0.7052 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 5.549e-05/0.2199, allocations: 16 kB / 0.7052 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001646/0.2201, allocations: 79.78 kB / 0.7053 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001977/0.2203, allocations: 119.4 kB / 0.7054 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0004681/0.2207, allocations: 279.2 kB / 0.7056 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.2208, allocations: 0 / 0.7056 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.386e-06/0.2208, allocations: 4 kB / 0.7056 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.759e-06/0.2208, allocations: 0 / 0.7056 GB, free: 14.11 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.0015/0.2223, allocations: 0.6363 MB / 0.7063 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.2223, allocations: 11.97 kB / 0.7063 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.431e-05/0.2224, allocations: 34.75 kB / 0.7063 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.752e-05/0.2225, allocations: 36.78 kB / 0.7064 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003778/0.2228, allocations: 206.5 kB / 0.7065 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.755e-05/0.2229, allocations: 16.12 kB / 0.7066 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.003e-05/0.2229, allocations: 19.98 kB / 0.7066 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003171/0.2233, allocations: 145.5 kB / 0.7067 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.2233, allocations: 0 / 0.7067 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.322e-05/0.2233, allocations: 4 kB / 0.7067 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.2233, allocations: 0 / 0.7067 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001332/0.2234, allocations: 55.91 kB / 0.7068 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004056/0.2238, allocations: 280.5 kB / 0.707 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002875/0.2241, allocations: 126.6 kB / 0.7072 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000122/0.2242, allocations: 48.83 kB / 0.7072 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.267e-05/0.2243, allocations: 4 kB / 0.7072 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005332/0.2248, allocations: 215.6 kB / 0.7074 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=18): time 1.553e-06/0.2248, allocations: 0 / 0.7074 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of matching and sorting (n=18): time 0.0006186/0.2254, allocations: 275.5 kB / 0.7077 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.76e-05/0.2255, allocations: 67.27 kB / 0.7077 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003198/0.2258, allocations: 288.2 kB / 0.708 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.212e-05/0.2259, allocations: 37.7 kB / 0.7081 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 9.148e-05/0.226, allocations: 93.12 kB / 0.7081 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.733e-05/0.226, allocations: 51.62 kB / 0.7082 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002147/0.2262, allocations: 105.8 kB / 0.7083 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001631/0.2264, allocations: 322.8 kB / 0.7086 GB, free: 10.87 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002139/0.2266, allocations: 92.17 kB / 0.7087 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002544/0.2269, allocations: 146.4 kB / 0.7088 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003564/0.2272, allocations: 239.1 kB / 0.7091 GB, free: 10.35 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.2272, allocations: 3.984 kB / 0.7091 GB, free: 10.35 MB / 0.5294 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007095/0.2279, allocations: 422.2 kB / 0.7095 GB, free: 9.918 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.764e-05/0.228, allocations: 71.39 kB / 0.7095 GB, free: 9.836 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.585e-06/0.228, allocations: 0 / 0.7095 GB, free: 9.836 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.053e-05/0.2281, allocations: 4 kB / 0.7095 GB, free: 9.832 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001967/0.2282, allocations: 31.91 kB / 0.7096 GB, free: 9.801 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.869e-06/0.2283, allocations: 4 kB / 0.7096 GB, free: 9.797 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004722/0.2287, allocations: 67.94 kB / 0.7096 GB, free: 9.73 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.71e-05/0.2288, allocations: 47.98 kB / 0.7097 GB, free: 9.684 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.0002012/0.229, allocations: 169.8 kB / 0.7098 GB, free: 9.508 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.737e-05/0.2291, allocations: 31.78 kB / 0.7099 GB, free: 9.477 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.344e-05/0.2291, allocations: 34.19 kB / 0.7099 GB, free: 9.445 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.2291, allocations: 3.984 kB / 0.7099 GB, free: 9.441 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/0.2291, allocations: 7.938 kB / 0.7099 GB, free: 9.434 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.2291, allocations: 0 / 0.7099 GB, free: 9.434 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008896/0.23, allocations: 0.5347 MB / 0.7104 GB, free: 8.852 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.23, allocations: 0 / 0.7104 GB, free: 8.852 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.587e-05/0.2301, allocations: 11.98 kB / 0.7105 GB, free: 8.84 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.2301, allocations: 0 / 0.7105 GB, free: 8.84 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.074e-05/0.2301, allocations: 15.98 kB / 0.7105 GB, free: 8.824 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.2301, allocations: 0 / 0.7105 GB, free: 8.824 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2301, allocations: 0 / 0.7105 GB, free: 8.824 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004464/0.2306, allocations: 327 kB / 0.7108 GB, free: 8.488 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001848/0.2308, allocations: 85.64 kB / 0.7109 GB, free: 8.402 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.413e-05/0.2308, allocations: 8 kB / 0.7109 GB, free: 8.395 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002064/0.231, allocations: 15.98 kB / 0.7109 GB, free: 8.379 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.615e-05/0.2311, allocations: 15.97 kB / 0.7109 GB, free: 8.363 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.541e-05/0.2311, allocations: 31.98 kB / 0.7109 GB, free: 8.332 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.000214/0.2313, allocations: 211 kB / 0.7111 GB, free: 8.129 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.2313, allocations: 0 / 0.7111 GB, free: 8.129 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003077/0.2316, allocations: 47.94 kB / 0.7112 GB, free: 8.082 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.0008181/0.2325, allocations: 0.8759 MB / 0.712 GB, free: 7.18 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005598/0.233, allocations: 306.6 kB / 0.7123 GB, free: 6.855 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.233, allocations: 0 / 0.7123 GB, free: 6.855 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000139/0.2332, allocations: 65.78 kB / 0.7124 GB, free: 6.793 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003538/0.2335, allocations: 25.98 kB / 0.7124 GB, free: 6.766 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003181/0.2367, allocations: 2.418 MB / 0.7148 GB, free: 4.211 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004086/0.2371, allocations: 0.7463 MB / 0.7155 GB, free: 3.441 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001183/0.2372, allocations: 33.42 kB / 0.7155 GB, free: 3.41 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000138/0.2374, allocations: 51.41 kB / 0.7156 GB, free: 3.359 MB / 0.5294 GB Notification: Performance of SimCode: time 6.12e-07/0.2374, allocations: 4 kB / 0.7156 GB, free: 3.355 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0396/0.277, allocations: 5.54 MB / 0.721 GB, free: 13.97 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.42, allocations: 14.56 kB / 0.721 GB, free: 13.96 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.196558978997928] Failed to read output from testmodel.py, exit status != 0: 11.523955542994372 11.551436566 11.325532983 Calling exit ...