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.00134/0.00134, 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.001605/0.001605, allocations: 212 kB / 22.24 MB, free: 5.258 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.483/1.483, allocations: 230.6 MB / 256 MB, free: 7.793 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.9257/0.9257, allocations: 145 MB / 457.4 MB, free: 15.28 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.002219/0.002219, allocations: 73.84 kB / 0.6331 GB, free: 6.719 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.183/0.1852, 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.002925/0.1881, allocations: 1.489 MB / 0.7203 GB, free: 13.35 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001028/0.1891, allocations: 415.4 kB / 0.7207 GB, free: 12.94 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.333e-05/0.1892, allocations: 4 kB / 0.7207 GB, free: 12.93 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 9.21e-05/0.1893, allocations: 7.875 kB / 0.7207 GB, free: 12.93 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001207/0.1894, allocations: 28.22 kB / 0.7208 GB, free: 12.9 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008106/0.1902, allocations: 250.6 kB / 0.721 GB, free: 12.66 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004472/0.1907, allocations: 315.5 kB / 0.7213 GB, free: 12.35 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.338e-05/0.1907, allocations: 0 / 0.7213 GB, free: 12.35 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004069/0.1911, allocations: 207.6 kB / 0.7215 GB, free: 12.14 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00033/0.1915, allocations: 108.1 kB / 0.7216 GB, free: 12.04 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001064/0.1916, allocations: 24 kB / 0.7216 GB, free: 12.02 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 8.381e-05/0.1917, allocations: 16 kB / 0.7217 GB, free: 12 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001382/0.1918, allocations: 87.7 kB / 0.7217 GB, free: 11.91 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001525/0.1919, allocations: 107.5 kB / 0.7218 GB, free: 11.81 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005786/0.1925, allocations: 306.8 kB / 0.7221 GB, free: 11.51 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.1925, allocations: 3.938 kB / 0.7221 GB, free: 11.5 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.124e-06/0.1925, allocations: 0 / 0.7221 GB, free: 11.5 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.149e-05/0.1925, 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.001457/0.194, allocations: 0.6669 MB / 0.7228 GB, free: 10.77 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.152e-05/0.194, allocations: 16.03 kB / 0.7228 GB, free: 10.75 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.044e-05/0.1941, allocations: 34.73 kB / 0.7228 GB, free: 10.71 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001182/0.1942, allocations: 40.75 kB / 0.7229 GB, free: 10.67 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004302/0.1947, allocations: 206.6 kB / 0.7231 GB, free: 10.45 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.325e-05/0.1947, allocations: 16.12 kB / 0.7231 GB, free: 10.43 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.896e-05/0.1948, allocations: 23.98 kB / 0.7231 GB, free: 10.41 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009666/0.1957, allocations: 197.4 kB / 0.7233 GB, free: 10.21 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/0.1958, allocations: 0 / 0.7233 GB, free: 10.21 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.848e-05/0.1958, allocations: 8 kB / 0.7233 GB, free: 10.2 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.1958, allocations: 0 / 0.7233 GB, free: 10.2 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007107/0.1965, allocations: 95.92 kB / 0.7234 GB, free: 10.11 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004094/0.1969, allocations: 248.6 kB / 0.7236 GB, free: 9.82 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009719/0.1979, allocations: 170.4 kB / 0.7238 GB, free: 9.645 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006655/0.1986, allocations: 96.78 kB / 0.7239 GB, free: 9.547 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.907e-05/0.1986, allocations: 0 / 0.7239 GB, free: 9.547 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009824/0.1996, allocations: 223.1 kB / 0.7241 GB, free: 9.316 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 2.355e-06/0.1996, allocations: 0 / 0.7241 GB, free: 9.316 MB / 0.545 GB Notification: Performance of matching and sorting (n=16): time 0.002377/0.2019, allocations: 445.2 kB / 0.7245 GB, free: 8.875 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.392e-05/0.202, allocations: 63.39 kB / 0.7246 GB, free: 8.801 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003575/0.2024, allocations: 292.2 kB / 0.7249 GB, free: 8.504 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 8.468e-05/0.2024, allocations: 37.7 kB / 0.7249 GB, free: 8.461 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.796e-05/0.2025, allocations: 93.12 kB / 0.725 GB, free: 8.367 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.882e-05/0.2026, allocations: 43.66 kB / 0.725 GB, free: 8.324 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001774/0.2028, allocations: 101.5 kB / 0.7251 GB, free: 8.219 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001923/0.203, allocations: 318.8 kB / 0.7254 GB, free: 7.898 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002672/0.2032, allocations: 147.3 kB / 0.7256 GB, free: 7.742 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002881/0.2035, allocations: 202.5 kB / 0.7258 GB, free: 7.512 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003742/0.2039, allocations: 243 kB / 0.726 GB, free: 7.242 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.2039, allocations: 0 / 0.726 GB, free: 7.242 MB / 0.545 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007757/0.2047, allocations: 456.2 kB / 0.7264 GB, free: 6.766 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.399e-05/0.2048, allocations: 77.45 kB / 0.7265 GB, free: 6.68 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.2048, allocations: 4 kB / 0.7265 GB, free: 6.676 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.159e-05/0.2048, allocations: 4 kB / 0.7265 GB, free: 6.672 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001669/0.205, allocations: 19.92 kB / 0.7265 GB, free: 6.652 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.174e-05/0.205, allocations: 7.984 kB / 0.7265 GB, free: 6.645 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004364/0.2054, allocations: 51.86 kB / 0.7266 GB, free: 6.594 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.05e-05/0.2055, allocations: 43.98 kB / 0.7266 GB, free: 6.551 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.0002247/0.2057, allocations: 185.6 kB / 0.7268 GB, free: 6.359 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.555e-05/0.2058, allocations: 27.81 kB / 0.7268 GB, free: 6.332 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.763e-05/0.2058, allocations: 34.17 kB / 0.7269 GB, free: 6.297 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.2058, allocations: 0 / 0.7269 GB, free: 6.297 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.2058, allocations: 0 / 0.7269 GB, free: 6.297 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.2058, allocations: 0 / 0.7269 GB, free: 6.297 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002087/0.2079, allocations: 0.6568 MB / 0.7275 GB, free: 5.59 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.2079, allocations: 3.938 kB / 0.7275 GB, free: 5.586 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.649e-05/0.208, allocations: 4 kB / 0.7275 GB, free: 5.582 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.554e-06/0.208, allocations: 3.984 kB / 0.7275 GB, free: 5.578 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.086e-05/0.208, allocations: 11.98 kB / 0.7275 GB, free: 5.566 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.208, allocations: 0 / 0.7275 GB, free: 5.566 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.208, allocations: 0 / 0.7275 GB, free: 5.566 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001606/0.2096, allocations: 459.5 kB / 0.728 GB, free: 5.102 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002291/0.2098, allocations: 89.7 kB / 0.7281 GB, free: 5.016 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.873e-05/0.2099, allocations: 8 kB / 0.7281 GB, free: 5.008 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000428/0.2103, allocations: 31.95 kB / 0.7281 GB, free: 4.977 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.389e-05/0.2104, allocations: 15.92 kB / 0.7281 GB, free: 4.961 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.644e-05/0.2104, allocations: 39.98 kB / 0.7281 GB, free: 4.922 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002179/0.2107, allocations: 211 kB / 0.7283 GB, free: 4.715 MB / 0.545 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2107, allocations: 3.938 kB / 0.7284 GB, free: 4.711 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003333/0.211, allocations: 55.98 kB / 0.7284 GB, free: 4.656 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.001992/0.213, allocations: 0.9989 MB / 0.7294 GB, free: 3.629 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00121/0.2142, allocations: 416.5 kB / 0.7298 GB, free: 3.188 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.2142, allocations: 0 / 0.7298 GB, free: 3.188 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0006956/0.2149, allocations: 120.2 kB / 0.7299 GB, free: 3.07 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003548/0.2152, allocations: 34.97 kB / 0.7299 GB, free: 3.043 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003889/0.2191, allocations: 2.629 MB / 0.7325 GB, free: 240 kB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001494/0.2193, allocations: 138.4 kB / 0.7326 GB, free: 84 kB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.366e-05/0.2193, allocations: 17.08 kB / 0.7326 GB, free: 68 kB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.747e-05/0.2194, allocations: 27.42 kB / 0.7327 GB, free: 40 kB / 0.545 GB Notification: Performance of SimCode: time 4.51e-07/0.2194, allocations: 0 / 0.7327 GB, free: 40 kB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03353/0.2529, allocations: 6.234 MB / 0.7388 GB, free: 9.965 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.44, allocations: 5.141 kB / 0.7388 GB, free: 9.965 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: 15.710737095680088] Failed to read output from testmodel.py, exit status != 0: 11.546206695958972 11.871182727 11.675253683 Calling exit ...