Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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.001291/0.001291, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001435/0.001435, allocations: 211.8 kB / 22.24 MB, free: 5.262 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.442/1.442, allocations: 230.6 MB / 256 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.9161/0.9161, allocations: 145 MB / 457.4 MB, free: 15.27 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.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(BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Time_Examples_CalendarTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Time_Examples_CalendarTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: BuildSysPro 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.002041/0.002041, allocations: 78.36 kB / 0.6331 GB, free: 6.691 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1694/0.1714, allocations: 87.88 MB / 0.7189 GB, free: 14.84 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime): time 0.002718/0.1742, allocations: 1.483 MB / 0.7203 GB, free: 13.34 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.000997/0.1751, allocations: 415.4 kB / 0.7207 GB, free: 12.93 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.093e-05/0.1752, allocations: 0 / 0.7207 GB, free: 12.93 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001049/0.1753, allocations: 15.86 kB / 0.7207 GB, free: 12.92 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001201/0.1754, allocations: 28.22 kB / 0.7208 GB, free: 12.89 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008185/0.1762, allocations: 247.5 kB / 0.721 GB, free: 12.65 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003866/0.1766, allocations: 323.5 kB / 0.7213 GB, free: 12.33 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.985e-05/0.1767, allocations: 4 kB / 0.7213 GB, free: 12.33 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002952/0.177, allocations: 199.7 kB / 0.7215 GB, free: 12.13 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002461/0.1772, allocations: 112 kB / 0.7216 GB, free: 12.02 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.244e-05/0.1773, allocations: 20 kB / 0.7216 GB, free: 12 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 6.709e-05/0.1773, allocations: 20 kB / 0.7217 GB, free: 11.98 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001091/0.1775, allocations: 83.77 kB / 0.7217 GB, free: 11.9 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001383/0.1776, allocations: 107.5 kB / 0.7218 GB, free: 11.8 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003726/0.178, allocations: 306.8 kB / 0.7221 GB, free: 11.5 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.178, allocations: 0 / 0.7221 GB, free: 11.5 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.523e-06/0.178, allocations: 0 / 0.7221 GB, free: 11.5 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.713e-06/0.178, allocations: 0 / 0.7221 GB, free: 11.5 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.001078/0.1791, allocations: 0.667 MB / 0.7228 GB, free: 10.76 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.1791, allocations: 12.03 kB / 0.7228 GB, free: 10.75 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.885e-05/0.1791, allocations: 42.73 kB / 0.7228 GB, free: 10.7 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.241e-05/0.1792, allocations: 32.75 kB / 0.7229 GB, free: 10.67 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003506/0.1796, allocations: 210.6 kB / 0.7231 GB, free: 10.44 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.006e-05/0.1796, allocations: 12.12 kB / 0.7231 GB, free: 10.43 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.208e-05/0.1797, allocations: 20 kB / 0.7231 GB, free: 10.41 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008893/0.1806, allocations: 203.9 kB / 0.7233 GB, free: 10.2 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.1806, allocations: 4 kB / 0.7233 GB, free: 10.2 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.105e-05/0.1806, allocations: 0 / 0.7233 GB, free: 10.2 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.1806, allocations: 0 / 0.7233 GB, free: 10.2 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006748/0.1813, allocations: 99.92 kB / 0.7234 GB, free: 10.1 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003291/0.1816, allocations: 244.6 kB / 0.7236 GB, free: 9.82 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009553/0.1826, allocations: 170.3 kB / 0.7238 GB, free: 9.645 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007128/0.1833, allocations: 104.7 kB / 0.7239 GB, free: 9.539 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.021e-05/0.1833, allocations: 4 kB / 0.7239 GB, free: 9.535 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009251/0.1842, allocations: 219.1 kB / 0.7241 GB, free: 9.309 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 2.304e-06/0.1842, allocations: 3.938 kB / 0.7241 GB, free: 9.305 MB / 0.545 GB Notification: Performance of matching and sorting (n=16): time 0.002354/0.1866, allocations: 451.7 kB / 0.7245 GB, free: 8.859 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.284e-05/0.1867, allocations: 59.39 kB / 0.7246 GB, free: 8.789 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003681/0.187, allocations: 296.2 kB / 0.7249 GB, free: 8.488 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.507e-05/0.1871, allocations: 33.7 kB / 0.7249 GB, free: 8.449 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.966e-05/0.1872, allocations: 93.12 kB / 0.725 GB, free: 8.355 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.744e-05/0.1872, allocations: 35.75 kB / 0.725 GB, free: 8.32 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001595/0.1874, allocations: 97.53 kB / 0.7251 GB, free: 8.219 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001867/0.1876, allocations: 322.8 kB / 0.7254 GB, free: 7.895 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000262/0.1878, allocations: 151.3 kB / 0.7256 GB, free: 7.734 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002959/0.1881, allocations: 202.6 kB / 0.7258 GB, free: 7.504 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003531/0.1885, allocations: 238.7 kB / 0.726 GB, free: 7.238 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/0.1885, allocations: 4 kB / 0.726 GB, free: 7.234 MB / 0.545 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007327/0.1892, allocations: 456.2 kB / 0.7264 GB, free: 6.758 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.992e-05/0.1893, allocations: 75.38 kB / 0.7265 GB, free: 6.672 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.1893, allocations: 0 / 0.7265 GB, free: 6.672 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.036e-05/0.1893, allocations: 4 kB / 0.7265 GB, free: 6.668 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001671/0.1895, allocations: 27.92 kB / 0.7265 GB, free: 6.641 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.114e-06/0.1895, allocations: 0 / 0.7265 GB, free: 6.641 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004111/0.1899, allocations: 55.78 kB / 0.7266 GB, free: 6.586 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.383e-05/0.19, allocations: 48.11 kB / 0.7266 GB, free: 6.539 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.0002171/0.1902, allocations: 181.7 kB / 0.7268 GB, free: 6.352 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.465e-05/0.1902, allocations: 27.81 kB / 0.7268 GB, free: 6.324 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.787e-05/0.1903, allocations: 30.23 kB / 0.7269 GB, free: 6.293 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.1903, allocations: 0 / 0.7269 GB, free: 6.293 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.1903, allocations: 4 kB / 0.7269 GB, free: 6.289 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.1903, allocations: 0 / 0.7269 GB, free: 6.289 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002082/0.1924, allocations: 0.6537 MB / 0.7275 GB, free: 5.582 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.1924, allocations: 0 / 0.7275 GB, free: 5.582 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.602e-05/0.1924, allocations: 4 kB / 0.7275 GB, free: 5.578 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.1924, allocations: 0 / 0.7275 GB, free: 5.578 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.136e-05/0.1925, allocations: 23.97 kB / 0.7275 GB, free: 5.555 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.1925, allocations: 0 / 0.7275 GB, free: 5.555 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1925, allocations: 0 / 0.7275 GB, free: 5.555 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001557/0.194, allocations: 462.3 kB / 0.728 GB, free: 5.09 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002036/0.1942, allocations: 85.7 kB / 0.7281 GB, free: 5.008 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.366e-05/0.1943, allocations: 12 kB / 0.7281 GB, free: 4.996 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004126/0.1947, allocations: 27.97 kB / 0.7281 GB, free: 4.969 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.611e-05/0.1948, allocations: 19.91 kB / 0.7281 GB, free: 4.949 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.224e-05/0.1948, allocations: 43.98 kB / 0.7282 GB, free: 4.906 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003234/0.1952, allocations: 211 kB / 0.7284 GB, free: 4.699 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.1952, allocations: 3.938 kB / 0.7284 GB, free: 4.695 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003433/0.1955, allocations: 47.94 kB / 0.7284 GB, free: 4.648 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.001981/0.1975, allocations: 1.007 MB / 0.7294 GB, free: 3.613 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001138/0.1986, allocations: 413.9 kB / 0.7298 GB, free: 3.172 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.1986, allocations: 0 / 0.7298 GB, free: 3.172 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000701/0.1993, allocations: 112.2 kB / 0.7299 GB, free: 3.062 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003502/0.1997, allocations: 34.34 kB / 0.7299 GB, free: 3.039 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003811/0.2035, allocations: 2.641 MB / 0.7325 GB, free: 224 kB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001418/0.2036, allocations: 128.6 kB / 0.7326 GB, free: 76 kB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.29e-05/0.2037, allocations: 17.08 kB / 0.7326 GB, free: 60 kB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.83e-05/0.2038, allocations: 19.42 kB / 0.7327 GB, free: 40 kB / 0.545 GB Notification: Performance of SimCode: time 1.152e-06/0.2038, allocations: 0 / 0.7327 GB, free: 40 kB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03394/0.2377, allocations: 6.234 MB / 0.7387 GB, free: 9.961 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/11.47, allocations: 1.594 kB / 0.7388 GB, free: 9.961 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.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 BuildSysPro_BuildSysPro_IBPSA_Utilities_Time_Examples_CalendarTime.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.216762938071042] Failed to read output from testmodel.py, exit status != 0: 11.579658852890134 11.962414487 11.781163178 Calling exit ...