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.001264/0.001264, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001406/0.001406, allocations: 218 kB / 23.03 MB, free: 4.922 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.465/1.465, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.9548/0.9548, allocations: 145 MB / 458.2 MB, free: 15.29 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.003283/0.003283, allocations: 67.2 kB / 0.6338 GB, free: 6.73 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1911/0.1944, allocations: 87.89 MB / 0.7197 GB, free: 14.86 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime): time 0.003147/0.1976, allocations: 1.479 MB / 0.7211 GB, free: 13.36 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001054/0.1986, allocations: 415.4 kB / 0.7215 GB, free: 12.95 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.069e-05/0.1987, allocations: 3.938 kB / 0.7215 GB, free: 12.95 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001248/0.1988, allocations: 15.86 kB / 0.7215 GB, free: 12.93 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001492/0.199, allocations: 28.22 kB / 0.7215 GB, free: 12.91 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009469/0.1999, allocations: 243.5 kB / 0.7218 GB, free: 12.67 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000455/0.2004, allocations: 319.5 kB / 0.7221 GB, free: 12.36 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.181e-05/0.2004, allocations: 12 kB / 0.7221 GB, free: 12.34 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003489/0.2008, allocations: 195.7 kB / 0.7223 GB, free: 12.15 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003051/0.2011, allocations: 128 kB / 0.7224 GB, free: 12.03 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.614e-05/0.2012, allocations: 20 kB / 0.7224 GB, free: 12.01 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 7.903e-05/0.2012, allocations: 19.94 kB / 0.7224 GB, free: 11.99 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001233/0.2014, allocations: 79.78 kB / 0.7225 GB, free: 11.91 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001642/0.2015, allocations: 107.5 kB / 0.7226 GB, free: 11.8 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003828/0.2019, allocations: 302.9 kB / 0.7229 GB, free: 11.51 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.2019, allocations: 3.984 kB / 0.7229 GB, free: 11.5 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.372e-06/0.2019, allocations: 7.938 kB / 0.7229 GB, free: 11.5 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.048e-05/0.2019, allocations: 0 / 0.7229 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.00127/0.2032, allocations: 0.6631 MB / 0.7236 GB, free: 10.77 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.2032, allocations: 12.03 kB / 0.7236 GB, free: 10.75 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.56e-05/0.2033, allocations: 192 / 0.7236 GB, free: 10.75 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.792e-05/0.2033, allocations: 38.73 kB / 0.7236 GB, free: 10.71 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001034/0.2034, allocations: 32.75 kB / 0.7236 GB, free: 10.68 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003826/0.2038, allocations: 206.6 kB / 0.7238 GB, free: 10.45 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.376e-05/0.2038, allocations: 23.88 kB / 0.7239 GB, free: 10.43 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.229e-05/0.2039, allocations: 20 kB / 0.7239 GB, free: 10.41 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00103/0.2049, allocations: 204.9 kB / 0.7241 GB, free: 10.2 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.205, allocations: 0 / 0.7241 GB, free: 10.2 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.749e-05/0.205, allocations: 0 / 0.7241 GB, free: 10.2 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.205, allocations: 0 / 0.7241 GB, free: 10.2 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007977/0.2058, allocations: 99.92 kB / 0.7242 GB, free: 10.11 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003484/0.2061, allocations: 256.5 kB / 0.7244 GB, free: 9.812 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001093/0.2072, allocations: 162.4 kB / 0.7246 GB, free: 9.645 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008004/0.208, allocations: 100.8 kB / 0.7247 GB, free: 9.543 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.16e-05/0.2081, allocations: 4 kB / 0.7247 GB, free: 9.539 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001031/0.2091, allocations: 214.1 kB / 0.7249 GB, free: 9.32 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 1.703e-06/0.2091, allocations: 0 / 0.7249 GB, free: 9.32 MB / 0.545 GB Notification: Performance of matching and sorting (n=16): time 0.002689/0.2118, allocations: 445.2 kB / 0.7253 GB, free: 8.879 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.529e-05/0.2118, allocations: 67.33 kB / 0.7254 GB, free: 8.801 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003306/0.2122, allocations: 300.1 kB / 0.7257 GB, free: 8.496 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.508e-05/0.2122, allocations: 37.7 kB / 0.7257 GB, free: 8.453 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.76e-05/0.2123, allocations: 89.14 kB / 0.7258 GB, free: 8.363 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.833e-05/0.2124, allocations: 43.72 kB / 0.7258 GB, free: 8.32 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001816/0.2126, allocations: 101.5 kB / 0.7259 GB, free: 8.215 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001585/0.2127, allocations: 326.8 kB / 0.7262 GB, free: 7.887 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002769/0.213, allocations: 147.3 kB / 0.7264 GB, free: 7.73 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003001/0.2133, allocations: 198.6 kB / 0.7266 GB, free: 7.504 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003604/0.2137, allocations: 243.3 kB / 0.7268 GB, free: 7.234 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.2137, allocations: 4 kB / 0.7268 GB, free: 7.23 MB / 0.545 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007979/0.2145, allocations: 444.1 kB / 0.7272 GB, free: 6.766 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.497e-05/0.2146, allocations: 79.38 kB / 0.7273 GB, free: 6.676 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.2146, allocations: 0 / 0.7273 GB, free: 6.676 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.134e-05/0.2146, allocations: 4 kB / 0.7273 GB, free: 6.672 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001888/0.2148, allocations: 23.92 kB / 0.7273 GB, free: 6.648 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.2148, allocations: 4.188 kB / 0.7273 GB, free: 6.645 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005183/0.2153, allocations: 59.78 kB / 0.7274 GB, free: 6.586 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.778e-05/0.2154, allocations: 43.98 kB / 0.7274 GB, free: 6.543 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.0002417/0.2156, allocations: 177.7 kB / 0.7276 GB, free: 6.359 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.089e-05/0.2157, allocations: 35.8 kB / 0.7276 GB, free: 6.324 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.466e-05/0.2158, allocations: 26.23 kB / 0.7276 GB, free: 6.297 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.2158, allocations: 4 kB / 0.7277 GB, free: 6.293 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.2158, allocations: 4 kB / 0.7277 GB, free: 6.289 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.2158, allocations: 0 / 0.7277 GB, free: 6.289 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002387/0.2182, allocations: 0.6498 MB / 0.7283 GB, free: 5.586 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.2182, allocations: 0 / 0.7283 GB, free: 5.586 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.997e-05/0.2182, allocations: 8 kB / 0.7283 GB, free: 5.578 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.419e-06/0.2182, allocations: 0 / 0.7283 GB, free: 5.578 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.075e-05/0.2183, allocations: 19.97 kB / 0.7283 GB, free: 5.559 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/0.2183, allocations: 0 / 0.7283 GB, free: 5.559 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.2183, allocations: 3.938 kB / 0.7283 GB, free: 5.555 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001872/0.2201, allocations: 462 kB / 0.7288 GB, free: 5.09 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002123/0.2204, allocations: 85.7 kB / 0.7288 GB, free: 5.008 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.7e-05/0.2204, allocations: 8 kB / 0.7288 GB, free: 5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004888/0.2209, allocations: 27.97 kB / 0.7289 GB, free: 4.973 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.348e-05/0.221, allocations: 15.92 kB / 0.7289 GB, free: 4.957 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.506e-05/0.221, allocations: 43.97 kB / 0.7289 GB, free: 4.914 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002265/0.2213, allocations: 211 kB / 0.7291 GB, free: 4.707 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.2213, allocations: 0 / 0.7291 GB, free: 4.707 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003679/0.2216, allocations: 48 kB / 0.7292 GB, free: 4.66 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.00224/0.2239, allocations: 0.9988 MB / 0.7302 GB, free: 3.633 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001344/0.2252, allocations: 420.6 kB / 0.7306 GB, free: 3.188 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.2252, allocations: 0 / 0.7306 GB, free: 3.188 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0007964/0.226, allocations: 103.9 kB / 0.7307 GB, free: 3.086 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000453/0.2265, allocations: 42.47 kB / 0.7307 GB, free: 3.047 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004536/0.231, allocations: 2.648 MB / 0.7333 GB, free: 228 kB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001834/0.2312, allocations: 132.6 kB / 0.7334 GB, free: 76 kB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.937e-05/0.2313, allocations: 13.08 kB / 0.7334 GB, free: 64 kB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.046e-05/0.2313, allocations: 27.42 kB / 0.7334 GB, free: 36 kB / 0.545 GB Notification: Performance of SimCode: time 1.603e-06/0.2313, allocations: 0 / 0.7334 GB, free: 36 kB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02891/0.2602, allocations: 5.873 MB / 0.7392 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.67/11.93, allocations: 13.53 kB / 0.7392 GB, free: 10.33 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: 16.075534144998528] Failed to read output from testmodel.py, exit status != 0: 12.10299472999759 12.450668457 12.245335159 Calling exit ...