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.0009281/0.0009324, 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.008466/0.008466, allocations: 169.8 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.432/1.432, allocations: 223.3 MB / 240.3 MB, free: 5.328 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 1.098/1.098, allocations: 143.2 MB / 434.6 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003227/0.0003228, allocations: 15.98 kB / 0.5164 GB, free: 11.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.193/0.1934, allocations: 83.41 MB / 0.5978 GB, free: 7.684 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime): time 0.001833/0.1953, allocations: 1.202 MB / 0.599 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001136/0.1964, allocations: 443.4 kB / 0.5994 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.236e-05/0.1965, allocations: 0 / 0.5994 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001265/0.1967, allocations: 7.922 kB / 0.5994 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001486/0.1968, allocations: 20.28 kB / 0.5995 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009195/0.1977, allocations: 243.8 kB / 0.5997 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003673/0.1981, allocations: 295.9 kB / 0.6 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.316e-05/0.1982, allocations: 11.97 kB / 0.6 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003456/0.1985, allocations: 210.3 kB / 0.6002 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002337/0.1988, allocations: 127.6 kB / 0.6003 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.371e-05/0.1988, allocations: 12 kB / 0.6003 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.773e-05/0.1989, allocations: 8 kB / 0.6003 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001143/0.199, allocations: 75.78 kB / 0.6004 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001735/0.1992, allocations: 149 kB / 0.6005 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003192/0.1995, allocations: 299.2 kB / 0.6008 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1995, allocations: 0 / 0.6008 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.623e-06/0.1996, allocations: 4 kB / 0.6008 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.1996, allocations: 0 / 0.6008 GB, free: 4.598 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.0009706/0.2005, allocations: 0.6565 MB / 0.6015 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.2006, allocations: 8.031 kB / 0.6015 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001153/0.2007, allocations: 35.7 kB / 0.6015 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003189/0.201, allocations: 266.2 kB / 0.6018 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.9e-05/0.2011, allocations: 15.98 kB / 0.6018 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.498e-05/0.2012, allocations: 16 kB / 0.6018 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001015/0.2022, allocations: 209.4 kB / 0.602 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.2022, allocations: 3.938 kB / 0.602 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.912e-05/0.2023, allocations: 8 kB / 0.602 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.2023, allocations: 0 / 0.602 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000793/0.2031, allocations: 107.9 kB / 0.6021 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004334/0.2035, allocations: 325.3 kB / 0.6024 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001094/0.2046, allocations: 190.4 kB / 0.6026 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007596/0.2054, allocations: 112.8 kB / 0.6027 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.193e-05/0.2054, allocations: 11.97 kB / 0.6027 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001007/0.2064, allocations: 225.2 kB / 0.6029 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 2.745e-06/0.2065, allocations: 4 kB / 0.6029 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.002689/0.2091, allocations: 480.9 kB / 0.6034 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.496e-05/0.2092, allocations: 71.38 kB / 0.6035 GB, free: 1.676 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003482/0.2096, allocations: 287 kB / 0.6037 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.979e-05/0.2097, allocations: 33.7 kB / 0.6038 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.676e-05/0.2097, allocations: 97.12 kB / 0.6039 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.852e-05/0.2098, allocations: 35.55 kB / 0.6039 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.678e-05/0.2099, allocations: 33.7 kB / 0.6039 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001718/0.2101, allocations: 322.8 kB / 0.6042 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002163/0.2103, allocations: 79.95 kB / 0.6043 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002266/0.2105, allocations: 137.9 kB / 0.6044 GB, free: 0.6133 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003545/0.2109, allocations: 243.9 kB / 0.6047 GB, free: 352 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.2109, allocations: 0 / 0.6047 GB, free: 352 kB / 0.4981 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.3655/0.5764, allocations: 391.8 kB / 0.605 GB, free: 41.64 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001114/0.5766, allocations: 75.48 kB / 0.6051 GB, free: 41.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.578e-05/0.5766, allocations: 1.688 kB / 0.6051 GB, free: 41.58 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.685e-05/0.5766, allocations: 7.672 kB / 0.6051 GB, free: 41.58 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002187/0.5769, allocations: 21.17 kB / 0.6052 GB, free: 41.58 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.319e-05/0.5769, allocations: 6.25 kB / 0.6052 GB, free: 41.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005677/0.5774, allocations: 62.84 kB / 0.6052 GB, free: 41.58 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.826e-05/0.5775, allocations: 40.33 kB / 0.6053 GB, free: 41.58 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.0002696/0.5778, allocations: 170.9 kB / 0.6054 GB, free: 41.46 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.227e-05/0.5779, allocations: 29.92 kB / 0.6054 GB, free: 41.46 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.065e-05/0.5779, allocations: 30.67 kB / 0.6055 GB, free: 41.45 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.578, allocations: 0.8906 kB / 0.6055 GB, free: 41.45 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.578, allocations: 4.031 kB / 0.6055 GB, free: 41.45 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.578, allocations: 5.062 kB / 0.6055 GB, free: 41.45 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002007/0.58, allocations: 0.7094 MB / 0.6062 GB, free: 41.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.58, allocations: 0.5625 kB / 0.6062 GB, free: 41.16 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.352e-05/0.58, allocations: 10.44 kB / 0.6062 GB, free: 41.16 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.5801, allocations: 3.812 kB / 0.6062 GB, free: 41.16 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.967e-05/0.5801, allocations: 12.61 kB / 0.6062 GB, free: 41.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.5801, allocations: 3.312 kB / 0.6062 GB, free: 41.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.5801, allocations: 3.938 kB / 0.6062 GB, free: 41.15 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001672/0.5818, allocations: 471.3 kB / 0.6067 GB, free: 41.02 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001545/0.582, allocations: 164.8 kB / 0.6068 GB, free: 40.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.958e-05/0.582, allocations: 11.31 kB / 0.6068 GB, free: 40.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004619/0.5825, allocations: 39.83 kB / 0.6069 GB, free: 40.93 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.194e-05/0.5825, allocations: 10.28 kB / 0.6069 GB, free: 40.92 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.2e-05/0.5826, allocations: 44.88 kB / 0.6069 GB, free: 40.92 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001432/0.5827, allocations: 211.9 kB / 0.6071 GB, free: 40.85 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5827, allocations: 0 / 0.6071 GB, free: 40.85 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003097/0.583, allocations: 49.25 kB / 0.6072 GB, free: 40.85 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.0001186/0.5832, allocations: 116.6 kB / 0.6073 GB, free: 40.76 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001086/0.5843, allocations: 389.8 kB / 0.6077 GB, free: 40.63 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.5843, allocations: 6.438 kB / 0.6077 GB, free: 40.63 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000745/0.585, allocations: 127.2 kB / 0.6078 GB, free: 40.63 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000351/0.5854, allocations: 26.59 kB / 0.6078 GB, free: 40.63 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001208/0.5866, allocations: 0.5073 MB / 0.6083 GB, free: 40.36 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001522/0.5868, allocations: 0.7434 MB / 0.609 GB, free: 39.67 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.641e-05/0.5868, allocations: 15.03 kB / 0.609 GB, free: 39.66 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.706e-05/0.5869, allocations: 19.66 kB / 0.6091 GB, free: 39.66 MB / 0.4981 GB Notification: Performance of SimCode: time 3.51e-07/0.5869, allocations: 0 / 0.6091 GB, free: 39.66 MB / 0.4981 GB Notification: Performance of Templates: time 0.005956/0.5928, allocations: 3.6 MB / 0.6126 GB, free: 39.36 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)