Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001323/0.001323, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001534/0.001534, allocations: 214.7 kB / 22.99 MB, free: 4.977 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.572/1.572, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9917/0.9917, allocations: 149.9 MB / 463.1 MB, free: 10.34 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Utilities.Time.Examples.CalendarTime,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Time_Examples_CalendarTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Time.Examples.CalendarTime,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Time_Examples_CalendarTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002015/0.002015, allocations: 66.69 kB / 0.641 GB, free: 10.18 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1791/0.1811, allocations: 89.17 MB / 0.7281 GB, free: 1.082 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Examples.CalendarTime): time 0.002941/0.184, allocations: 1.508 MB / 0.7296 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001439/0.1855, allocations: 0.5248 MB / 0.7301 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.905e-05/0.1855, allocations: 3.938 kB / 0.7301 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 8.873e-05/0.1856, allocations: 11.92 kB / 0.7301 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001194/0.1857, allocations: 31.84 kB / 0.7302 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008022/0.1865, allocations: 320.5 kB / 0.7305 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0005389/0.1871, allocations: 487.4 kB / 0.7309 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.74e-05/0.1871, allocations: 4 kB / 0.7309 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003976/0.1875, allocations: 283.6 kB / 0.7312 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002942/0.1878, allocations: 132.4 kB / 0.7313 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.709e-05/0.1879, allocations: 27.98 kB / 0.7314 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.759e-05/0.188, allocations: 28 kB / 0.7314 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001374/0.1882, allocations: 111.6 kB / 0.7315 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001817/0.1883, allocations: 159.3 kB / 0.7316 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004678/0.1888, allocations: 430.7 kB / 0.732 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.1888, allocations: 0 / 0.732 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.603e-06/0.1888, allocations: 0 / 0.732 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.754e-06/0.1888, allocations: 0 / 0.732 GB, free: 13.05 MB / 0.5606 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.00143/0.1902, allocations: 0.8027 MB / 0.7328 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.1903, allocations: 12.03 kB / 0.7328 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.311e-05/0.1903, allocations: 34.75 kB / 0.7329 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001153/0.1905, allocations: 56.69 kB / 0.7329 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004543/0.1909, allocations: 260.7 kB / 0.7332 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.807e-05/0.191, allocations: 20.3 kB / 0.7332 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.113e-05/0.191, allocations: 32.36 kB / 0.7332 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009539/0.192, allocations: 206 kB / 0.7334 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.192, allocations: 3.938 kB / 0.7334 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.802e-05/0.192, allocations: 7.984 kB / 0.7334 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.192, allocations: 4 kB / 0.7334 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007352/0.1928, allocations: 99.92 kB / 0.7335 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000568/0.1933, allocations: 304.5 kB / 0.7338 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001006/0.1943, allocations: 162.4 kB / 0.734 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007294/0.1951, allocations: 105.2 kB / 0.7341 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.927e-05/0.1951, allocations: 0 / 0.7341 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001/0.1961, allocations: 227.1 kB / 0.7343 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=16): time 1.603e-06/0.1961, allocations: 0 / 0.7343 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of matching and sorting (n=16): time 0.002471/0.1986, allocations: 491.5 kB / 0.7348 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.318e-05/0.1986, allocations: 59.41 kB / 0.7348 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004644/0.1991, allocations: 409.9 kB / 0.7352 GB, free: 9.602 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.564e-05/0.1992, allocations: 49.69 kB / 0.7353 GB, free: 9.547 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.1993, allocations: 97.42 kB / 0.7354 GB, free: 9.449 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.225e-05/0.1993, allocations: 39.69 kB / 0.7354 GB, free: 9.41 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002012/0.1995, allocations: 133.4 kB / 0.7355 GB, free: 9.273 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001681/0.1997, allocations: 322.8 kB / 0.7358 GB, free: 8.949 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003324/0.2, allocations: 187.3 kB / 0.736 GB, free: 8.754 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003736/0.2004, allocations: 245.3 kB / 0.7362 GB, free: 8.48 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004402/0.2008, allocations: 271.5 kB / 0.7365 GB, free: 8.184 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.2008, allocations: 0 / 0.7365 GB, free: 8.184 MB / 0.5606 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009283/0.2018, allocations: 0.5444 MB / 0.737 GB, free: 7.609 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.958e-05/0.2019, allocations: 83.31 kB / 0.7371 GB, free: 7.516 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.2019, allocations: 4 kB / 0.7371 GB, free: 7.512 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.2019, allocations: 3.984 kB / 0.7371 GB, free: 7.508 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001582/0.202, allocations: 24.11 kB / 0.7371 GB, free: 7.484 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-06/0.202, allocations: 8 kB / 0.7371 GB, free: 7.477 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004562/0.2025, allocations: 55.84 kB / 0.7372 GB, free: 7.422 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001087/0.2026, allocations: 59.98 kB / 0.7373 GB, free: 7.363 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 24 (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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * 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.000243/0.2029, allocations: 205.7 kB / 0.7375 GB, free: 7.156 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.254e-05/0.2029, allocations: 43.66 kB / 0.7375 GB, free: 7.113 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.529e-05/0.203, allocations: 39.69 kB / 0.7375 GB, free: 7.074 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.203, allocations: 8 kB / 0.7375 GB, free: 7.066 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.203, allocations: 0 / 0.7375 GB, free: 7.066 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.72e-06/0.203, allocations: 3.984 kB / 0.7375 GB, free: 7.062 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002292/0.2053, allocations: 0.7083 MB / 0.7382 GB, free: 6.301 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.2053, allocations: 0 / 0.7382 GB, free: 6.301 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.187e-05/0.2053, allocations: 15.98 kB / 0.7383 GB, free: 6.285 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.2053, allocations: 3.938 kB / 0.7383 GB, free: 6.281 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.486e-05/0.2054, allocations: 15.98 kB / 0.7383 GB, free: 6.266 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.2054, allocations: 4 kB / 0.7383 GB, free: 6.262 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.2054, allocations: 3.984 kB / 0.7383 GB, free: 6.258 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001776/0.2072, allocations: 487.4 kB / 0.7387 GB, free: 5.766 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003142/0.2075, allocations: 125.6 kB / 0.7389 GB, free: 5.645 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.572e-05/0.2076, allocations: 12 kB / 0.7389 GB, free: 5.633 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004509/0.208, allocations: 31.95 kB / 0.7389 GB, free: 5.602 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.101e-05/0.208, allocations: 7.984 kB / 0.7389 GB, free: 5.594 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.501e-05/0.2081, allocations: 55.98 kB / 0.739 GB, free: 5.539 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003367/0.2085, allocations: 295.1 kB / 0.7392 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2085, allocations: 0 / 0.7392 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000376/0.2089, allocations: 67.98 kB / 0.7393 GB, free: 5.184 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 (calendarTime2016.hourSampleTrigger,calendarTime2016.daySampleTrigger,$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.yearIndex,calendarTime2016.year,calendarTime2016.epochLastMonth,calendarTime2016.month,calendarTime2016.firstHourSampling,calendarTime2016.hour) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 6 * 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.002212/0.2111, allocations: 1.041 MB / 0.7403 GB, free: 4.117 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00131/0.2124, allocations: 477.8 kB / 0.7408 GB, free: 3.613 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.2124, allocations: 0 / 0.7408 GB, free: 3.613 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007129/0.2131, allocations: 103.9 kB / 0.7409 GB, free: 3.512 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003669/0.2135, allocations: 33.56 kB / 0.7409 GB, free: 3.477 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004719/0.2182, allocations: 3.082 MB / 0.7439 GB, free: 228 kB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001958/0.2184, allocations: 167 kB / 0.7441 GB, free: 40 kB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.353e-05/0.2184, allocations: 13.08 kB / 0.7441 GB, free: 28 kB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.503e-05/0.2185, allocations: 23.42 kB / 0.7441 GB, free: 4 kB / 0.5606 GB Notification: Performance of SimCode: time 4.91e-07/0.2185, allocations: 0 / 0.7441 GB, free: 4 kB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03855/0.2571, allocations: 8.046 MB / 0.752 GB, free: 8.051 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/11.83, allocations: 14.02 kB / 0.752 GB, free: 8.043 MB / 0.5762 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_Utilities_Time_Examples_CalendarTime.fmu > IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.892701434902847] Failed to read output from testmodel.py, exit status != 0: 11.943432435858995 12.297359229 12.105881493 Calling exit ...