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.001336/0.001336, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001491/0.001491, allocations: 215.2 kB / 23.04 MB, free: 5.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.455/1.455, allocations: 230.6 MB / 256.8 MB, free: 7.969 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.9376/0.9376, allocations: 145 MB / 458.2 MB, free: 15.5 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Time_Examples_CalendarTime",fmuType="cs",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.001983/0.001983, allocations: 65.19 kB / 0.6339 GB, free: 7.344 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1714/0.1734, allocations: 87.88 MB / 0.7197 GB, free: 15.48 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime): time 0.003249/0.1767, allocations: 1.506 MB / 0.7212 GB, free: 13.96 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001148/0.1778, allocations: 441.5 kB / 0.7216 GB, free: 13.52 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.894e-05/0.1779, allocations: 3.938 kB / 0.7216 GB, free: 13.52 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 9.473e-05/0.178, allocations: 3.938 kB / 0.7216 GB, free: 13.52 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001206/0.1781, allocations: 24.22 kB / 0.7217 GB, free: 13.49 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008052/0.1789, allocations: 254.2 kB / 0.7219 GB, free: 13.25 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004168/0.1793, allocations: 319.5 kB / 0.7222 GB, free: 12.93 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.934e-05/0.1794, allocations: 4 kB / 0.7222 GB, free: 12.93 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003016/0.1797, allocations: 203.7 kB / 0.7224 GB, free: 12.73 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002594/0.1799, allocations: 120 kB / 0.7225 GB, free: 12.61 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.755e-05/0.18, allocations: 16 kB / 0.7225 GB, free: 12.6 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 5.431e-05/0.18, allocations: 20 kB / 0.7225 GB, free: 12.58 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001129/0.1802, allocations: 83.78 kB / 0.7226 GB, free: 12.5 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001574/0.1803, allocations: 123.4 kB / 0.7227 GB, free: 12.38 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000381/0.1807, allocations: 302.8 kB / 0.723 GB, free: 12.08 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.1807, allocations: 4 kB / 0.723 GB, free: 12.07 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.473e-06/0.1807, allocations: 0 / 0.723 GB, free: 12.07 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.546e-06/0.1807, allocations: 4 kB / 0.723 GB, free: 12.07 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.001204/0.1819, allocations: 0.6709 MB / 0.7237 GB, free: 11.33 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.182, allocations: 11.97 kB / 0.7237 GB, free: 11.32 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.181e-05/0.182, allocations: 8.188 kB / 0.7237 GB, free: 11.31 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.839e-05/0.182, allocations: 38.73 kB / 0.7238 GB, free: 11.27 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.921e-05/0.1821, allocations: 36.75 kB / 0.7238 GB, free: 11.23 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000349/0.1825, allocations: 206.7 kB / 0.724 GB, free: 11 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.667e-05/0.1825, allocations: 15.92 kB / 0.724 GB, free: 10.99 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.928e-05/0.1826, allocations: 16 kB / 0.724 GB, free: 10.97 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009766/0.1836, allocations: 197.5 kB / 0.7242 GB, free: 10.77 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.988e-06/0.1836, allocations: 0 / 0.7242 GB, free: 10.77 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.152e-05/0.1836, allocations: 3.984 kB / 0.7242 GB, free: 10.77 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.1836, allocations: 8 kB / 0.7242 GB, free: 10.76 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007515/0.1844, allocations: 99.92 kB / 0.7243 GB, free: 10.66 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003944/0.1848, allocations: 288.3 kB / 0.7246 GB, free: 10.34 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001025/0.1858, allocations: 166.4 kB / 0.7247 GB, free: 10.17 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007487/0.1866, allocations: 96.78 kB / 0.7248 GB, free: 10.07 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.461e-05/0.1866, allocations: 7.984 kB / 0.7248 GB, free: 10.06 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009855/0.1876, allocations: 213.9 kB / 0.725 GB, free: 9.844 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 1.453e-06/0.1876, allocations: 0 / 0.725 GB, free: 9.844 MB / 0.545 GB Notification: Performance of matching and sorting (n=16): time 0.002626/0.1902, allocations: 457 kB / 0.7255 GB, free: 9.391 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.626e-05/0.1903, allocations: 59.39 kB / 0.7255 GB, free: 9.32 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000417/0.1907, allocations: 296.2 kB / 0.7258 GB, free: 9.02 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 7.485e-05/0.1908, allocations: 33.7 kB / 0.7259 GB, free: 8.98 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.644e-05/0.1909, allocations: 93.12 kB / 0.7259 GB, free: 8.887 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.03e-05/0.1909, allocations: 39.75 kB / 0.726 GB, free: 8.848 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002056/0.1911, allocations: 101.5 kB / 0.7261 GB, free: 8.742 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001955/0.1913, allocations: 326.8 kB / 0.7264 GB, free: 8.414 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000221/0.1915, allocations: 83.94 kB / 0.7265 GB, free: 8.332 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002613/0.1918, allocations: 131.2 kB / 0.7266 GB, free: 8.184 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003813/0.1922, allocations: 243.3 kB / 0.7268 GB, free: 7.914 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.1922, allocations: 0 / 0.7268 GB, free: 7.914 MB / 0.545 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007541/0.1929, allocations: 388.8 kB / 0.7272 GB, free: 7.516 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.911e-05/0.193, allocations: 79.38 kB / 0.7273 GB, free: 7.426 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.697e-06/0.193, allocations: 0 / 0.7273 GB, free: 7.426 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.478e-05/0.1931, allocations: 4 kB / 0.7273 GB, free: 7.422 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002046/0.1933, allocations: 27.84 kB / 0.7273 GB, free: 7.395 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.18e-05/0.1933, allocations: 4 kB / 0.7273 GB, free: 7.391 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004914/0.1938, allocations: 60.03 kB / 0.7274 GB, free: 7.332 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.189e-05/0.1938, allocations: 39.98 kB / 0.7274 GB, free: 7.293 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.0002443/0.1941, allocations: 169.7 kB / 0.7276 GB, free: 7.117 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.564e-05/0.1941, allocations: 31.8 kB / 0.7276 GB, free: 7.086 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.823e-05/0.1942, allocations: 34.23 kB / 0.7276 GB, free: 7.051 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.1942, allocations: 0 / 0.7276 GB, free: 7.051 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/0.1942, allocations: 4 kB / 0.7276 GB, free: 7.047 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.1942, allocations: 0 / 0.7276 GB, free: 7.047 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002244/0.1965, allocations: 0.6642 MB / 0.7283 GB, free: 6.332 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.1965, allocations: 4 kB / 0.7283 GB, free: 6.328 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.705e-05/0.1965, allocations: 7.984 kB / 0.7283 GB, free: 6.32 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.1965, allocations: 0 / 0.7283 GB, free: 6.32 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.549e-05/0.1966, allocations: 15.98 kB / 0.7283 GB, free: 6.305 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.1966, allocations: 0 / 0.7283 GB, free: 6.305 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.1966, allocations: 3.938 kB / 0.7283 GB, free: 6.301 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001731/0.1983, allocations: 451.5 kB / 0.7287 GB, free: 5.844 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002091/0.1985, allocations: 85.7 kB / 0.7288 GB, free: 5.762 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.909e-05/0.1986, allocations: 12 kB / 0.7288 GB, free: 5.75 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004555/0.199, allocations: 35.89 kB / 0.7289 GB, free: 5.715 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.271e-05/0.1991, allocations: 11.92 kB / 0.7289 GB, free: 5.703 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.083e-05/0.1991, allocations: 43.98 kB / 0.7289 GB, free: 5.66 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002252/0.1994, allocations: 211 kB / 0.7291 GB, free: 5.453 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.1994, allocations: 4 kB / 0.7291 GB, free: 5.449 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003349/0.1997, allocations: 44 kB / 0.7292 GB, free: 5.406 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.002109/0.2018, allocations: 0.9988 MB / 0.7301 GB, free: 4.379 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001585/0.2034, allocations: 353.3 kB / 0.7305 GB, free: 4.012 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.2034, allocations: 0 / 0.7305 GB, free: 4.012 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0009125/0.2043, allocations: 104.3 kB / 0.7306 GB, free: 3.91 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003761/0.2047, allocations: 31.31 kB / 0.7306 GB, free: 3.883 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003869/0.2085, allocations: 2.38 MB / 0.7329 GB, free: 1.379 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004175/0.209, allocations: 0.7435 MB / 0.7337 GB, free: 0.6094 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.488e-05/0.209, allocations: 13.08 kB / 0.7337 GB, free: 0.5977 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.434e-05/0.2091, allocations: 27.42 kB / 0.7337 GB, free: 0.5703 MB / 0.545 GB Notification: Performance of SimCode: time 6.02e-07/0.2091, allocations: 0 / 0.7337 GB, free: 0.5703 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02799/0.2371, allocations: 5.096 MB / 0.7387 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/11.68, allocations: 9.766 kB / 0.7387 GB, free: 11.63 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Time_Examples_CalendarTime_fmu --startTime=0 --stopTime=1e+08 --stepSize=40000 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Time_Examples_CalendarTime.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.70992502302397] Failed to read output from testmodel.py, exit status != 0: 11.846028698026203 12.169253954 11.985108495 Calling exit ...