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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001565/0.001565, allocations: 106.7 kB / 16.45 MB, free: 6.488 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001703/0.001703, allocations: 196.6 kB / 19.41 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 225.6 MB / 247.8 MB, free: 13.97 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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.6.0-master/package.mo): time 0.8904/0.8904, allocations: 145.2 MB / 447.9 MB, free: 6.328 MB / 350.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002942/0.002942, allocations: 71.55 kB / 0.6199 GB, free: 1.387 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1832/0.1861, allocations: 86.64 MB / 0.7045 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime): time 0.003424/0.1896, allocations: 1.486 MB / 0.706 GB, free: 9.207 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001161/0.1907, allocations: 435.2 kB / 0.7064 GB, free: 8.777 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.26e-05/0.1908, allocations: 0 / 0.7064 GB, free: 8.777 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001285/0.191, allocations: 15.86 kB / 0.7064 GB, free: 8.762 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001528/0.1911, allocations: 28.22 kB / 0.7064 GB, free: 8.734 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009073/0.192, allocations: 246 kB / 0.7067 GB, free: 8.496 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0005482/0.1926, allocations: 315.5 kB / 0.707 GB, free: 8.188 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.762e-05/0.1926, allocations: 4 kB / 0.707 GB, free: 8.184 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004595/0.1931, allocations: 199.6 kB / 0.7072 GB, free: 7.988 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003506/0.1934, allocations: 121.2 kB / 0.7073 GB, free: 7.871 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.736e-05/0.1935, allocations: 24 kB / 0.7073 GB, free: 7.848 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.365e-05/0.1936, allocations: 20 kB / 0.7073 GB, free: 7.828 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001493/0.1937, allocations: 79.72 kB / 0.7074 GB, free: 7.75 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001943/0.1939, allocations: 127.4 kB / 0.7075 GB, free: 7.625 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0005/0.1944, allocations: 299.2 kB / 0.7078 GB, free: 7.332 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.1944, allocations: 0 / 0.7078 GB, free: 7.332 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.343e-06/0.1945, allocations: 3.938 kB / 0.7078 GB, free: 7.328 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.489e-05/0.1945, allocations: 0 / 0.7078 GB, free: 7.328 MB / 0.5294 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.001454/0.1959, allocations: 0.75 MB / 0.7086 GB, free: 6.492 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.508e-05/0.196, allocations: 16.03 kB / 0.7086 GB, free: 6.477 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.172e-05/0.196, allocations: 34.75 kB / 0.7086 GB, free: 6.434 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001073/0.1961, allocations: 32.8 kB / 0.7086 GB, free: 6.402 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004166/0.1966, allocations: 263.8 kB / 0.7089 GB, free: 6.109 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.527e-05/0.1966, allocations: 20.11 kB / 0.7089 GB, free: 6.09 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.493e-05/0.1967, allocations: 16 kB / 0.7089 GB, free: 6.074 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009025/0.1976, allocations: 203.1 kB / 0.7091 GB, free: 5.871 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.1976, allocations: 0 / 0.7091 GB, free: 5.871 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.981e-05/0.1976, allocations: 7.969 kB / 0.7091 GB, free: 5.863 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.1976, allocations: 7.938 kB / 0.7091 GB, free: 5.855 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006943/0.1983, allocations: 99.92 kB / 0.7092 GB, free: 5.758 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005093/0.1988, allocations: 317.3 kB / 0.7095 GB, free: 5.398 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009478/0.1998, allocations: 166.4 kB / 0.7097 GB, free: 5.227 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006632/0.2004, allocations: 100.8 kB / 0.7098 GB, free: 5.125 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.55e-05/0.2005, allocations: 8 kB / 0.7098 GB, free: 5.117 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009021/0.2014, allocations: 207.1 kB / 0.71 GB, free: 4.902 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=16): time 1.723e-06/0.2014, allocations: 0 / 0.71 GB, free: 4.902 MB / 0.5294 GB Notification: Performance of matching and sorting (n=16): time 0.00226/0.2036, allocations: 449.1 kB / 0.7104 GB, free: 4.457 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.471e-05/0.2037, allocations: 59.41 kB / 0.7105 GB, free: 4.387 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003515/0.204, allocations: 298.9 kB / 0.7108 GB, free: 4.082 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 6.141e-05/0.2041, allocations: 41.64 kB / 0.7108 GB, free: 4.035 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.681e-05/0.2042, allocations: 89.14 kB / 0.7109 GB, free: 3.945 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.772e-05/0.2042, allocations: 43.73 kB / 0.7109 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001524/0.2044, allocations: 93.58 kB / 0.711 GB, free: 3.805 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000153/0.2046, allocations: 322.8 kB / 0.7113 GB, free: 3.48 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001929/0.2047, allocations: 83.94 kB / 0.7114 GB, free: 3.398 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000229/0.205, allocations: 142.6 kB / 0.7115 GB, free: 3.238 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003351/0.2053, allocations: 239.3 kB / 0.7118 GB, free: 2.973 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.2053, allocations: 0 / 0.7118 GB, free: 2.973 MB / 0.5294 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006614/0.206, allocations: 395.9 kB / 0.7121 GB, free: 2.57 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.893e-05/0.2061, allocations: 77.72 kB / 0.7122 GB, free: 2.484 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.2061, allocations: 4 kB / 0.7122 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.051e-05/0.2061, allocations: 0 / 0.7122 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001632/0.2062, allocations: 23.98 kB / 0.7122 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.163e-05/0.2063, allocations: 8.125 kB / 0.7123 GB, free: 2.449 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004275/0.2067, allocations: 55.91 kB / 0.7123 GB, free: 2.395 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.579e-05/0.2067, allocations: 43.92 kB / 0.7123 GB, free: 2.352 MB / 0.5294 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.0001993/0.2069, allocations: 173.6 kB / 0.7125 GB, free: 2.172 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.904e-05/0.207, allocations: 23.86 kB / 0.7125 GB, free: 2.148 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.653e-05/0.2071, allocations: 26.3 kB / 0.7126 GB, free: 2.121 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.2071, allocations: 8 kB / 0.7126 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.044e-06/0.2071, allocations: 3.984 kB / 0.7126 GB, free: 2.109 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.2071, allocations: 0 / 0.7126 GB, free: 2.109 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001988/0.2091, allocations: 0.6858 MB / 0.7132 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.2091, allocations: 4 kB / 0.7132 GB, free: 1.359 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.169e-05/0.2091, allocations: 11.92 kB / 0.7133 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.2091, allocations: 0 / 0.7133 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.282e-05/0.2091, allocations: 15.98 kB / 0.7133 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.2091, allocations: 4 kB / 0.7133 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.2091, allocations: 0 / 0.7133 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001585/0.2107, allocations: 447.5 kB / 0.7137 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002512/0.211, allocations: 168.8 kB / 0.7139 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.051e-05/0.2111, allocations: 15.98 kB / 0.7139 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004175/0.2115, allocations: 31.97 kB / 0.7139 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.713e-05/0.2115, allocations: 11.92 kB / 0.7139 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.951e-05/0.2116, allocations: 43.97 kB / 0.714 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002292/0.2118, allocations: 209.9 kB / 0.7142 GB, free: 396 kB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.2118, allocations: 0 / 0.7142 GB, free: 396 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003456/0.2122, allocations: 51.98 kB / 0.7142 GB, free: 344 kB / 0.5294 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.002059/0.2142, allocations: 0.9872 MB / 0.7152 GB, free: 15.32 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001089/0.2153, allocations: 353 kB / 0.7155 GB, free: 14.95 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.2153, allocations: 0 / 0.7155 GB, free: 14.95 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0006645/0.216, allocations: 111.8 kB / 0.7156 GB, free: 14.84 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003693/0.2163, allocations: 27.38 kB / 0.7156 GB, free: 14.82 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003833/0.2202, allocations: 2.385 MB / 0.718 GB, free: 12.3 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004107/0.2206, allocations: 0.7435 MB / 0.7187 GB, free: 11.54 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.884e-05/0.2207, allocations: 13.08 kB / 0.7187 GB, free: 11.52 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.012e-05/0.2207, allocations: 19.44 kB / 0.7187 GB, free: 11.5 MB / 0.545 GB Notification: Performance of SimCode: time 5.51e-07/0.2207, allocations: 4 kB / 0.7187 GB, free: 11.5 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02865/0.2494, allocations: 4.861 MB / 0.7235 GB, free: 6.734 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.037/8.286, allocations: 8.375 kB / 0.7235 GB, free: 6.73 MB / 0.545 GB " [Timeout remaining time 652] (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: 12.196784569881856] Failed to read output from testmodel.py, exit status != 0: 8.355962883215398 8.371096197 8.173286426 Calling exit ...