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.001417/0.001417, allocations: 110.4 kB / 18.94 MB, free: 2.812 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.001648/0.001648, allocations: 219 kB / 22.25 MB, free: 5.184 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.515/1.515, allocations: 230.6 MB / 256 MB, free: 7.996 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.976/0.976, allocations: 145 MB / 457.4 MB, free: 15.97 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.002929/0.002929, allocations: 69.89 kB / 0.6331 GB, free: 7.449 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1952/0.1981, allocations: 87.87 MB / 0.719 GB, free: 15.58 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime): time 0.002814/0.2009, allocations: 1.514 MB / 0.7204 GB, free: 14.05 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001038/0.2019, allocations: 433.5 kB / 0.7208 GB, free: 13.62 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.011e-05/0.202, allocations: 4 kB / 0.7209 GB, free: 13.62 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 8.626e-05/0.2021, allocations: 11.86 kB / 0.7209 GB, free: 13.61 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001037/0.2022, allocations: 24.23 kB / 0.7209 GB, free: 13.58 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000691/0.2029, allocations: 246.5 kB / 0.7211 GB, free: 13.34 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003906/0.2033, allocations: 311.5 kB / 0.7214 GB, free: 13.04 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.701e-05/0.2033, allocations: 7.938 kB / 0.7214 GB, free: 13.03 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003126/0.2036, allocations: 203.7 kB / 0.7216 GB, free: 12.83 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002608/0.2039, allocations: 125.9 kB / 0.7217 GB, free: 12.71 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.612e-05/0.2039, allocations: 24 kB / 0.7218 GB, free: 12.69 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 5.575e-05/0.204, allocations: 16 kB / 0.7218 GB, free: 12.67 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001105/0.2041, allocations: 79.78 kB / 0.7219 GB, free: 12.59 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001404/0.2042, allocations: 123.4 kB / 0.722 GB, free: 12.47 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003777/0.2046, allocations: 310.8 kB / 0.7223 GB, free: 12.17 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.2046, allocations: 0 / 0.7223 GB, free: 12.17 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.903e-06/0.2046, allocations: 0 / 0.7223 GB, free: 12.17 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.227e-05/0.2046, allocations: 0 / 0.7223 GB, free: 12.17 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.001275/0.2059, allocations: 0.6708 MB / 0.7229 GB, free: 11.43 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.2059, allocations: 12.03 kB / 0.7229 GB, free: 11.42 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.188e-05/0.206, allocations: 38.75 kB / 0.723 GB, free: 11.37 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001046/0.2061, allocations: 40.73 kB / 0.723 GB, free: 11.33 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003816/0.2065, allocations: 202.7 kB / 0.7232 GB, free: 11.11 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.073e-05/0.2065, allocations: 20.11 kB / 0.7232 GB, free: 11.09 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.713e-05/0.2066, allocations: 15.94 kB / 0.7232 GB, free: 11.07 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009392/0.2075, allocations: 205.4 kB / 0.7234 GB, free: 10.87 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.2075, allocations: 0 / 0.7234 GB, free: 10.87 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.022e-05/0.2076, allocations: 11.92 kB / 0.7234 GB, free: 10.86 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.2076, allocations: 7.984 kB / 0.7235 GB, free: 10.85 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006922/0.2083, allocations: 95.92 kB / 0.7235 GB, free: 10.75 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004114/0.2087, allocations: 280.5 kB / 0.7238 GB, free: 10.44 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009793/0.2097, allocations: 162.4 kB / 0.724 GB, free: 10.27 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006484/0.2103, allocations: 100.8 kB / 0.7241 GB, free: 10.17 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.522e-05/0.2103, allocations: 8 kB / 0.7241 GB, free: 10.16 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008717/0.2112, allocations: 213.7 kB / 0.7243 GB, free: 9.941 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 1.753e-06/0.2112, allocations: 0 / 0.7243 GB, free: 9.941 MB / 0.545 GB Notification: Performance of matching and sorting (n=16): time 0.002362/0.2136, allocations: 449.1 kB / 0.7247 GB, free: 9.496 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.74e-05/0.2136, allocations: 59.39 kB / 0.7248 GB, free: 9.426 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000325/0.214, allocations: 300.1 kB / 0.725 GB, free: 9.121 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.245e-05/0.214, allocations: 37.7 kB / 0.7251 GB, free: 9.078 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.38e-05/0.2141, allocations: 89.14 kB / 0.7252 GB, free: 8.988 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.408e-05/0.2141, allocations: 39.73 kB / 0.7252 GB, free: 8.949 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001552/0.2143, allocations: 97.53 kB / 0.7253 GB, free: 8.848 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.2144, allocations: 322.8 kB / 0.7256 GB, free: 8.523 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002036/0.2146, allocations: 87.88 kB / 0.7257 GB, free: 8.438 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000229/0.2149, allocations: 135.2 kB / 0.7258 GB, free: 8.285 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000349/0.2152, allocations: 241.2 kB / 0.726 GB, free: 8.016 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/0.2152, allocations: 4 kB / 0.7261 GB, free: 8.012 MB / 0.545 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006702/0.2159, allocations: 386.2 kB / 0.7264 GB, free: 7.617 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.909e-05/0.216, allocations: 75.39 kB / 0.7265 GB, free: 7.531 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/0.216, allocations: 7.984 kB / 0.7265 GB, free: 7.523 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.216, allocations: 4 kB / 0.7265 GB, free: 7.52 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001731/0.2162, allocations: 23.92 kB / 0.7265 GB, free: 7.496 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.187e-05/0.2162, allocations: 8.172 kB / 0.7265 GB, free: 7.488 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004645/0.2167, allocations: 59.84 kB / 0.7266 GB, free: 7.43 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.828e-05/0.2167, allocations: 43.98 kB / 0.7266 GB, free: 7.387 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.0002067/0.2169, allocations: 169.7 kB / 0.7268 GB, free: 7.211 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.98e-05/0.217, allocations: 27.81 kB / 0.7268 GB, free: 7.184 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.678e-05/0.217, allocations: 30.23 kB / 0.7269 GB, free: 7.152 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.217, allocations: 4 kB / 0.7269 GB, free: 7.148 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.217, allocations: 3.984 kB / 0.7269 GB, free: 7.145 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.2171, allocations: 0 / 0.7269 GB, free: 7.145 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002052/0.2191, allocations: 0.6575 MB / 0.7275 GB, free: 6.434 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.2191, allocations: 4 kB / 0.7275 GB, free: 6.43 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.353e-05/0.2191, allocations: 4 kB / 0.7275 GB, free: 6.426 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/0.2191, allocations: 4 kB / 0.7275 GB, free: 6.422 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.799e-05/0.2192, allocations: 23.91 kB / 0.7275 GB, free: 6.398 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.2192, allocations: 0 / 0.7275 GB, free: 6.398 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.2192, allocations: 0 / 0.7275 GB, free: 6.398 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001602/0.2208, allocations: 454.3 kB / 0.728 GB, free: 5.941 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002101/0.221, allocations: 85.64 kB / 0.728 GB, free: 5.859 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.317e-05/0.2211, allocations: 12 kB / 0.7281 GB, free: 5.848 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004359/0.2215, allocations: 34.7 kB / 0.7281 GB, free: 5.816 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.776e-05/0.2216, allocations: 19.91 kB / 0.7281 GB, free: 5.797 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.705e-05/0.2216, allocations: 39.98 kB / 0.7282 GB, free: 5.758 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002417/0.2219, allocations: 219 kB / 0.7284 GB, free: 5.543 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.2219, allocations: 0 / 0.7284 GB, free: 5.543 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003397/0.2222, allocations: 44 kB / 0.7284 GB, free: 5.5 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.002085/0.2243, allocations: 0.9911 MB / 0.7294 GB, free: 4.48 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001147/0.2254, allocations: 360.8 kB / 0.7297 GB, free: 4.105 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.2254, allocations: 0 / 0.7297 GB, free: 4.105 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0006997/0.2261, allocations: 103.9 kB / 0.7298 GB, free: 4.004 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003809/0.2265, allocations: 38.53 kB / 0.7298 GB, free: 3.969 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004105/0.2306, allocations: 2.379 MB / 0.7322 GB, free: 1.469 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004627/0.2311, allocations: 0.7435 MB / 0.7329 GB, free: 0.6992 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.298e-05/0.2312, allocations: 13.08 kB / 0.7329 GB, free: 0.6875 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.978e-05/0.2312, allocations: 27.42 kB / 0.7329 GB, free: 0.6602 MB / 0.545 GB Notification: Performance of SimCode: time 2.91e-07/0.2312, allocations: 0 / 0.7329 GB, free: 0.6602 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03311/0.2643, allocations: 5.045 MB / 0.7379 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.49, allocations: 4.375 kB / 0.7379 GB, free: 11.75 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 sys.exit(0), Time elapsed: 16.03268454107456] Failed to read output from testmodel.py, exit status != 0: 11.598491884069517 12.043958736 11.835487328 Calling exit ...