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.001827/0.001827, allocations: 113.4 kB / 17.12 MB, free: 6.027 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.002038/0.002038, allocations: 208.3 kB / 20.1 MB, free: 3.074 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.602/1.602, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.9769/0.9769, allocations: 150 MB / 459.5 MB, free: 5.23 MB / 350.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.001941/0.001941, allocations: 67.56 kB / 0.6361 GB, free: 30.48 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1665/0.1684, allocations: 89.13 MB / 0.7231 GB, free: 4.062 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Examples.CalendarTime): time 0.002824/0.1712, allocations: 1.534 MB / 0.7246 GB, free: 2.516 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001394/0.1726, allocations: 0.5476 MB / 0.7252 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.364e-05/0.1727, allocations: 0 / 0.7252 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 8.573e-05/0.1728, allocations: 7.875 kB / 0.7252 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001042/0.1729, allocations: 31.78 kB / 0.7252 GB, free: 1.934 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007639/0.1736, allocations: 314.5 kB / 0.7255 GB, free: 1.629 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0005264/0.1742, allocations: 479.5 kB / 0.726 GB, free: 1.156 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.388e-05/0.1742, allocations: 4 kB / 0.726 GB, free: 1.152 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003548/0.1746, allocations: 283.6 kB / 0.7262 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002684/0.1748, allocations: 143.6 kB / 0.7264 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 7.35e-05/0.1749, allocations: 28 kB / 0.7264 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.905e-05/0.175, allocations: 24 kB / 0.7264 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001253/0.1751, allocations: 115.7 kB / 0.7265 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001853/0.1753, allocations: 187 kB / 0.7267 GB, free: 396 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0004654/0.1757, allocations: 422.7 kB / 0.7271 GB, free: 15.97 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.1758, allocations: 4 kB / 0.7271 GB, free: 15.97 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.132e-06/0.1758, allocations: 0 / 0.7271 GB, free: 15.97 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.573e-06/0.1758, allocations: 0 / 0.7271 GB, free: 15.97 MB / 0.545 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.001265/0.177, allocations: 0.8858 MB / 0.728 GB, free: 14.99 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.1771, allocations: 8.031 kB / 0.728 GB, free: 14.98 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.701e-05/0.1771, allocations: 38.73 kB / 0.728 GB, free: 14.94 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001224/0.1772, allocations: 52.64 kB / 0.7281 GB, free: 14.89 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003941/0.1776, allocations: 318.6 kB / 0.7284 GB, free: 14.54 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.52e-05/0.1777, allocations: 12.38 kB / 0.7284 GB, free: 14.52 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.215e-05/0.1778, allocations: 28.36 kB / 0.7284 GB, free: 14.5 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001026/0.1788, allocations: 214 kB / 0.7286 GB, free: 14.28 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.1788, allocations: 3.938 kB / 0.7286 GB, free: 14.28 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.634e-05/0.1788, allocations: 3.938 kB / 0.7286 GB, free: 14.27 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-06/0.1788, allocations: 4 kB / 0.7286 GB, free: 14.27 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008346/0.1797, allocations: 107.8 kB / 0.7287 GB, free: 14.16 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004676/0.1801, allocations: 389.3 kB / 0.7291 GB, free: 13.73 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001094/0.1812, allocations: 166.5 kB / 0.7293 GB, free: 13.56 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007949/0.182, allocations: 100.8 kB / 0.7294 GB, free: 13.46 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.233e-05/0.182, allocations: 4.375 kB / 0.7294 GB, free: 13.46 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001019/0.1831, allocations: 232.8 kB / 0.7296 GB, free: 13.22 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 1.933e-06/0.1831, allocations: 0 / 0.7296 GB, free: 13.22 MB / 0.545 GB Notification: Performance of matching and sorting (n=16): time 0.002749/0.1858, allocations: 485 kB / 0.73 GB, free: 12.74 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.441e-05/0.1859, allocations: 63.39 kB / 0.7301 GB, free: 12.66 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004463/0.1863, allocations: 409.9 kB / 0.7305 GB, free: 12.26 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.272e-05/0.1864, allocations: 45.62 kB / 0.7305 GB, free: 12.21 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.152e-05/0.1865, allocations: 93.45 kB / 0.7306 GB, free: 12.11 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.992e-05/0.1865, allocations: 39.69 kB / 0.7307 GB, free: 12.07 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000211/0.1867, allocations: 133.5 kB / 0.7308 GB, free: 11.94 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001737/0.1869, allocations: 318.8 kB / 0.7311 GB, free: 11.62 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002712/0.1872, allocations: 115.9 kB / 0.7312 GB, free: 11.5 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003189/0.1875, allocations: 166.4 kB / 0.7314 GB, free: 11.32 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003986/0.1879, allocations: 283.1 kB / 0.7316 GB, free: 11.01 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.1879, allocations: 0 / 0.7316 GB, free: 11.01 MB / 0.545 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008753/0.1888, allocations: 494.5 kB / 0.7321 GB, free: 10.51 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.401e-05/0.1889, allocations: 99.23 kB / 0.7322 GB, free: 10.4 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.1889, allocations: 4 kB / 0.7322 GB, free: 10.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.1889, allocations: 4 kB / 0.7322 GB, free: 10.39 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001626/0.189, allocations: 19.98 kB / 0.7322 GB, free: 10.38 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.203e-05/0.1891, allocations: 7.938 kB / 0.7322 GB, free: 10.37 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004926/0.1895, allocations: 56.03 kB / 0.7323 GB, free: 10.31 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001123/0.1897, allocations: 67.97 kB / 0.7324 GB, free: 10.25 MB / 0.545 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.0002516/0.1899, allocations: 186.7 kB / 0.7325 GB, free: 10.06 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.813e-05/0.19, allocations: 43.66 kB / 0.7326 GB, free: 10.02 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.222e-05/0.19, allocations: 39.75 kB / 0.7326 GB, free: 9.973 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.1901, allocations: 4 kB / 0.7326 GB, free: 9.969 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.698e-06/0.1901, allocations: 3.984 kB / 0.7326 GB, free: 9.965 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.1901, allocations: 0 / 0.7326 GB, free: 9.965 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002386/0.1925, allocations: 0.7522 MB / 0.7334 GB, free: 9.152 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.1925, allocations: 0 / 0.7334 GB, free: 9.152 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.74e-05/0.1925, allocations: 4 kB / 0.7334 GB, free: 9.148 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.1925, allocations: 0 / 0.7334 GB, free: 9.148 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.029e-05/0.1925, allocations: 23.91 kB / 0.7334 GB, free: 9.125 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.1926, allocations: 8 kB / 0.7334 GB, free: 9.117 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1926, allocations: 0 / 0.7334 GB, free: 9.117 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001955/0.1945, allocations: 481.2 kB / 0.7338 GB, free: 8.633 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002836/0.1948, allocations: 204.7 kB / 0.734 GB, free: 8.414 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.251e-05/0.1949, allocations: 11.98 kB / 0.7341 GB, free: 8.402 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005199/0.1954, allocations: 31.97 kB / 0.7341 GB, free: 8.371 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.396e-05/0.1954, allocations: 7.984 kB / 0.7341 GB, free: 8.363 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.589e-05/0.1955, allocations: 55.97 kB / 0.7341 GB, free: 8.309 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000347/0.1958, allocations: 299.1 kB / 0.7344 GB, free: 8.02 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.1958, allocations: 0 / 0.7344 GB, free: 8.02 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004421/0.1963, allocations: 71.98 kB / 0.7345 GB, free: 7.949 MB / 0.545 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.002395/0.1987, allocations: 1.022 MB / 0.7355 GB, free: 6.895 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001476/0.2002, allocations: 408.8 kB / 0.7359 GB, free: 6.473 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.2002, allocations: 0 / 0.7359 GB, free: 6.473 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0008108/0.201, allocations: 108.3 kB / 0.736 GB, free: 6.367 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000404/0.2014, allocations: 33.47 kB / 0.736 GB, free: 6.332 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004965/0.2063, allocations: 2.794 MB / 0.7388 GB, free: 3.41 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004679/0.2068, allocations: 0.7708 MB / 0.7395 GB, free: 2.613 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 9.184e-05/0.2069, allocations: 13.08 kB / 0.7395 GB, free: 2.598 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.666e-05/0.207, allocations: 27.42 kB / 0.7395 GB, free: 2.57 MB / 0.545 GB Notification: Performance of SimCode: time 8.11e-07/0.207, allocations: 0 / 0.7395 GB, free: 2.57 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03196/0.2389, allocations: 6.204 MB / 0.7456 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.143/8.382, allocations: 14.38 kB / 0.7456 GB, free: 12.32 MB / 0.5606 GB " [Timeout remaining time 652] (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: 14.178756788140163] Failed to read output from testmodel.py, exit status != 0: 8.45470020500943 8.483301234 8.302291925 Calling exit ...