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/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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.0009307/0.0009307, allocations: 86.8 kB / 15.06 MB, free: 1.09 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.0009051/0.0009051, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.164/1.164, allocations: 223.2 MB / 240 MB, free: 5.43 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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.6.0/package.mo): time 0.8709/0.8709, allocations: 143.2 MB / 434.2 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002571/0.0002571, allocations: 8 kB / 0.5158 GB, free: 11.56 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1275, allocations: 83.42 MB / 0.5972 GB, free: 8.102 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime): time 0.001287/0.1288, allocations: 1.182 MB / 0.5984 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007277/0.1295, allocations: 415.2 kB / 0.5988 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.68e-05/0.1296, allocations: 0 / 0.5988 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 6.822e-05/0.1296, allocations: 7.938 kB / 0.5988 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.501e-05/0.1297, allocations: 11.92 kB / 0.5988 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005076/0.1302, allocations: 222.7 kB / 0.599 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000232/0.1305, allocations: 251.5 kB / 0.5993 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.681e-05/0.1305, allocations: 8 kB / 0.5993 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003047/0.1308, allocations: 227.6 kB / 0.5995 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001925/0.131, allocations: 131.7 kB / 0.5996 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.266e-05/0.1311, allocations: 15.94 kB / 0.5996 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.033e-05/0.1311, allocations: 8 kB / 0.5996 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.56e-05/0.1312, allocations: 83.78 kB / 0.5997 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.693e-05/0.1313, allocations: 69.58 kB / 0.5998 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001858/0.1315, allocations: 219.8 kB / 0.6 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.1315, allocations: 4 kB / 0.6 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.233e-06/0.1315, allocations: 0 / 0.6 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.1315, allocations: 0 / 0.6 GB, free: 5.262 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.0007565/0.1323, allocations: 0.6565 MB / 0.6006 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.659e-05/0.1323, allocations: 8.031 kB / 0.6006 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.546e-05/0.1324, allocations: 39.67 kB / 0.6007 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002417/0.1326, allocations: 258.4 kB / 0.6009 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.633e-05/0.1327, allocations: 16 kB / 0.6009 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.357e-05/0.1328, allocations: 23.98 kB / 0.601 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007533/0.1335, allocations: 205.4 kB / 0.6012 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.1335, allocations: 0 / 0.6012 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.936e-05/0.1336, allocations: 8 kB / 0.6012 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.1336, allocations: 0 / 0.6012 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005989/0.1342, allocations: 111.8 kB / 0.6013 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002925/0.1345, allocations: 317.3 kB / 0.6016 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008305/0.1353, allocations: 186.5 kB / 0.6018 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005864/0.1359, allocations: 116.8 kB / 0.6019 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.011e-05/0.1359, allocations: 0 / 0.6019 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007328/0.1367, allocations: 231.1 kB / 0.6021 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 1.383e-06/0.1367, allocations: 4 kB / 0.6021 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.001963/0.1386, allocations: 483.7 kB / 0.6026 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.502e-05/0.1387, allocations: 59.41 kB / 0.6026 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000242/0.1389, allocations: 291 kB / 0.6029 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.628e-05/0.139, allocations: 37.7 kB / 0.6029 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.295e-05/0.1391, allocations: 89.05 kB / 0.603 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.735e-05/0.1391, allocations: 43.53 kB / 0.6031 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.572e-05/0.1391, allocations: 8 kB / 0.6031 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.724e-05/0.1392, allocations: 326.8 kB / 0.6034 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001673/0.1394, allocations: 83.94 kB / 0.6035 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000192/0.1396, allocations: 134 kB / 0.6036 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001868/0.1398, allocations: 147.3 kB / 0.6037 GB, free: 1.164 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.1398, allocations: 0 / 0.6037 GB, free: 1.164 MB / 0.4981 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005607/0.1404, allocations: 399.5 kB / 0.6041 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.845e-05/0.1404, allocations: 75.38 kB / 0.6042 GB, free: 0.6719 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.1404, allocations: 0 / 0.6042 GB, free: 0.6719 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.1405, allocations: 4 kB / 0.6042 GB, free: 0.668 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001409/0.1406, allocations: 27.92 kB / 0.6042 GB, free: 0.6406 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.1406, allocations: 3.984 kB / 0.6042 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003776/0.141, allocations: 72.05 kB / 0.6043 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.572e-05/0.1411, allocations: 35.98 kB / 0.6043 GB, free: 0.5312 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 ($PRE.calendarTime2016.firstHourSampling,calendarTime2016.firstHourSampling,$PRE.calendarTime2016.firstDaySampling,calendarTime2016.firstDaySampling,$whenCondition1,calendarTime2016.daySampleTrigger,$whenCondition2,calendarTime2016.hourSampleTrigger,$PRE.calendarTime2016.year,calendarTime2016.year,$PRE.calendarTime2016.month,calendarTime2016.month,$PRE.calendarTime2016.day,calendarTime2016.day,$PRE.calendarTime2016.hour,calendarTime2016.hour,$PRE.calendarTime2016.weekDay,calendarTime2016.weekDay,$PRE.calendarTime2016.daysSinceEpoch,calendarTime2016.daysSinceEpoch,$PRE.calendarTime2016.yearIndex,calendarTime2016.yearIndex,$PRE.calendarTime2016.epochLastMonth,calendarTime2016.epochLastMonth) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001541/0.1412, allocations: 177.7 kB / 0.6045 GB, free: 356 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.649e-05/0.1413, allocations: 31.58 kB / 0.6045 GB, free: 324 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.044e-05/0.1413, allocations: 30.3 kB / 0.6045 GB, free: 296 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.1413, allocations: 8 kB / 0.6045 GB, free: 288 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.1413, allocations: 0 / 0.6045 GB, free: 288 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.1413, allocations: 0 / 0.6045 GB, free: 288 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2284/0.3697, allocations: 0.7035 MB / 0.6052 GB, free: 40.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.3697, allocations: 0 / 0.6052 GB, free: 40.9 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.846e-05/0.3698, allocations: 6.062 kB / 0.6052 GB, free: 40.9 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.588e-06/0.3698, allocations: 0.5469 kB / 0.6052 GB, free: 40.9 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.614e-05/0.3698, allocations: 20.53 kB / 0.6053 GB, free: 40.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.3698, allocations: 0.7812 kB / 0.6053 GB, free: 40.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.3698, allocations: 0 / 0.6053 GB, free: 40.9 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001264/0.3711, allocations: 466.4 kB / 0.6057 GB, free: 40.77 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001231/0.3712, allocations: 170.7 kB / 0.6059 GB, free: 40.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.23e-05/0.3713, allocations: 13.28 kB / 0.6059 GB, free: 40.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003692/0.3717, allocations: 41.39 kB / 0.6059 GB, free: 40.68 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.302e-05/0.3717, allocations: 6.078 kB / 0.6059 GB, free: 40.68 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.253e-05/0.3717, allocations: 42 kB / 0.606 GB, free: 40.68 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001295/0.3719, allocations: 213.3 kB / 0.6062 GB, free: 40.61 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3719, allocations: 0 / 0.6062 GB, free: 40.61 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003121/0.3722, allocations: 49.25 kB / 0.6062 GB, free: 40.61 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001017/0.3723, allocations: 113.2 kB / 0.6063 GB, free: 40.52 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008726/0.3732, allocations: 387.1 kB / 0.6067 GB, free: 40.39 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3732, allocations: 0 / 0.6067 GB, free: 40.39 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005775/0.3738, allocations: 125.9 kB / 0.6068 GB, free: 40.39 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002895/0.3741, allocations: 33.09 kB / 0.6068 GB, free: 40.39 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009699/0.3751, allocations: 498.2 kB / 0.6073 GB, free: 40.14 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001249/0.3752, allocations: 0.7468 MB / 0.6081 GB, free: 39.45 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.115e-05/0.3753, allocations: 13.59 kB / 0.6081 GB, free: 39.45 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.086e-05/0.3753, allocations: 14.31 kB / 0.6081 GB, free: 39.44 MB / 0.4981 GB Notification: Performance of SimCode: time 2.8e-07/0.3753, allocations: 0 / 0.6081 GB, free: 39.44 MB / 0.4981 GB Notification: Performance of Templates: time 0.004866/0.3802, allocations: 3.538 MB / 0.6115 GB, free: 39.14 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)