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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo", uses=false) 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: translateModel(BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime") translateModel(BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009413/0.0009412, allocations: 97.64 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006698/0.006699, allocations: 169.7 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.483/1.483, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB [/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 1.097/1.097, allocations: 143.4 MB / 434.8 MB, free: 13.71 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005127/0.0005127, allocations: 8 kB / 0.5166 GB, free: 10.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1877/0.1882, allocations: 83.41 MB / 0.5981 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime): time 0.00169/0.19, allocations: 1.194 MB / 0.5993 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001102/0.1911, allocations: 448.6 kB / 0.5997 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.06e-05/0.1911, allocations: 4 kB / 0.5997 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.997e-05/0.1912, allocations: 3.938 kB / 0.5997 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001203/0.1914, allocations: 20.28 kB / 0.5997 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006646/0.192, allocations: 230.8 kB / 0.5999 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003331/0.1924, allocations: 303.8 kB / 0.6002 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.564e-05/0.1925, allocations: 4 kB / 0.6002 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003426/0.1928, allocations: 214.3 kB / 0.6004 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002376/0.193, allocations: 127.6 kB / 0.6005 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.286e-05/0.1931, allocations: 12 kB / 0.6006 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.825e-05/0.1932, allocations: 8 kB / 0.6006 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001023/0.1933, allocations: 79.77 kB / 0.6006 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001537/0.1934, allocations: 153 kB / 0.6008 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002974/0.1937, allocations: 295.2 kB / 0.6011 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.1938, allocations: 0 / 0.6011 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.363e-06/0.1938, allocations: 0 / 0.6011 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.538e-06/0.1938, allocations: 0 / 0.6011 GB, free: 4.414 MB / 0.4981 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.0009126/0.1947, allocations: 0.6604 MB / 0.6017 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.226e-05/0.1947, allocations: 8.031 kB / 0.6017 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.423e-05/0.1948, allocations: 31.72 kB / 0.6018 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002952/0.1951, allocations: 266.2 kB / 0.602 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.491e-05/0.1952, allocations: 16 kB / 0.602 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.13e-05/0.1952, allocations: 19.97 kB / 0.602 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009709/0.1962, allocations: 205.5 kB / 0.6022 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.1962, allocations: 7.938 kB / 0.6022 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.811e-05/0.1963, allocations: 4 kB / 0.6022 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.567e-06/0.1963, allocations: 7.984 kB / 0.6023 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007709/0.1971, allocations: 99.92 kB / 0.6023 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003497/0.1974, allocations: 321.3 kB / 0.6027 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001046/0.1985, allocations: 198.4 kB / 0.6028 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000756/0.1993, allocations: 116.8 kB / 0.603 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.411e-05/0.1993, allocations: 4 kB / 0.603 GB, free: 2.285 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009398/0.2002, allocations: 227.1 kB / 0.6032 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 1.543e-06/0.2002, allocations: 0 / 0.6032 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.002567/0.2028, allocations: 491.6 kB / 0.6036 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.338e-05/0.2029, allocations: 63.39 kB / 0.6037 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002897/0.2032, allocations: 291 kB / 0.604 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.673e-05/0.2032, allocations: 33.7 kB / 0.604 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.156e-05/0.2033, allocations: 89.14 kB / 0.6041 GB, free: 1.066 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.894e-05/0.2034, allocations: 39.55 kB / 0.6041 GB, free: 1.027 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.057e-05/0.2034, allocations: 33.7 kB / 0.6042 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001116/0.2035, allocations: 322.8 kB / 0.6045 GB, free: 0.6641 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001954/0.2037, allocations: 87.94 kB / 0.6046 GB, free: 0.5781 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002162/0.204, allocations: 133.9 kB / 0.6047 GB, free: 436 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003157/0.2043, allocations: 243.8 kB / 0.6049 GB, free: 160 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.2043, allocations: 0 / 0.6049 GB, free: 160 kB / 0.4981 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.3332/0.5375, allocations: 388.9 kB / 0.6053 GB, free: 40.76 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.104e-05/0.5376, allocations: 81.94 kB / 0.6054 GB, free: 40.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-05/0.5376, allocations: 3.031 kB / 0.6054 GB, free: 40.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.815e-05/0.5377, allocations: 4.438 kB / 0.6054 GB, free: 40.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002147/0.5379, allocations: 21.59 kB / 0.6054 GB, free: 40.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.061e-05/0.5379, allocations: 7.188 kB / 0.6054 GB, free: 40.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000557/0.5385, allocations: 63.39 kB / 0.6055 GB, free: 40.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.271e-05/0.5386, allocations: 42.69 kB / 0.6055 GB, free: 40.7 MB / 0.4981 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.0002838/0.5389, allocations: 168.2 kB / 0.6057 GB, free: 40.58 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.221e-05/0.5389, allocations: 30.34 kB / 0.6057 GB, free: 40.58 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.921e-05/0.539, allocations: 30.59 kB / 0.6057 GB, free: 40.57 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/0.5391, allocations: 7.328 kB / 0.6057 GB, free: 40.57 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/0.5391, allocations: 2.719 kB / 0.6057 GB, free: 40.57 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.74e-06/0.5391, allocations: 0 / 0.6057 GB, free: 40.57 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002204/0.5413, allocations: 0.7081 MB / 0.6064 GB, free: 40.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.5413, allocations: 0 / 0.6064 GB, free: 40.27 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.708e-05/0.5414, allocations: 8.281 kB / 0.6064 GB, free: 40.27 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/0.5414, allocations: 0.5156 kB / 0.6064 GB, free: 40.27 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.137e-05/0.5414, allocations: 16.42 kB / 0.6065 GB, free: 40.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.5414, allocations: 6.5 kB / 0.6065 GB, free: 40.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.5414, allocations: 1.406 kB / 0.6065 GB, free: 40.27 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001719/0.5431, allocations: 472.8 kB / 0.6069 GB, free: 40.14 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001602/0.5433, allocations: 156.7 kB / 0.6071 GB, free: 40.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.112e-05/0.5434, allocations: 11.62 kB / 0.6071 GB, free: 40.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004843/0.5439, allocations: 44.59 kB / 0.6071 GB, free: 40.03 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.385e-05/0.5439, allocations: 10.2 kB / 0.6071 GB, free: 40.03 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.867e-05/0.544, allocations: 43.7 kB / 0.6072 GB, free: 40.03 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000191/0.5442, allocations: 208.9 kB / 0.6074 GB, free: 39.96 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5442, allocations: 0 / 0.6074 GB, free: 39.96 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003493/0.5446, allocations: 48.03 kB / 0.6074 GB, free: 39.96 MB / 0.4981 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.0001445/0.5447, allocations: 120.2 kB / 0.6075 GB, free: 39.87 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00114/0.5459, allocations: 392.9 kB / 0.6079 GB, free: 39.75 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.5459, allocations: 0 / 0.6079 GB, free: 39.75 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007659/0.5466, allocations: 126.6 kB / 0.608 GB, free: 39.75 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000373/0.547, allocations: 24.69 kB / 0.608 GB, free: 39.75 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001288/0.5483, allocations: 0.5165 MB / 0.6085 GB, free: 39.47 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001775/0.5485, allocations: 0.7396 MB / 0.6093 GB, free: 38.77 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.453e-05/0.5486, allocations: 14.55 kB / 0.6093 GB, free: 38.77 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.77e-05/0.5486, allocations: 18.16 kB / 0.6093 GB, free: 38.76 MB / 0.4981 GB Notification: Performance of SimCode: time 3.01e-07/0.5486, allocations: 0 / 0.6093 GB, free: 38.76 MB / 0.4981 GB Notification: Performance of Templates: time 0.006657/0.5553, allocations: 3.611 MB / 0.6128 GB, free: 38.45 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime.makefile (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 & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime.pipe 2>&1)