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.006905/0.006905, allocations: 96.19 kB / 15.87 MB, free: 6.289 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.001573/0.001573, allocations: 204.2 kB / 16.79 MB, free: 6.215 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.337/1.337, allocations: 222.9 MB / 240.5 MB, free: 4.504 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.9644/0.9644, allocations: 143 MB / 433.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 55.91 kB / 0.5141 GB, free: 12.13 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1469/0.1481, allocations: 82.04 MB / 0.5943 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime): time 0.002696/0.1509, allocations: 1.529 MB / 0.5958 GB, free: 8.504 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00101/0.1519, allocations: 453.1 kB / 0.5962 GB, free: 8.059 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.343e-05/0.1519, allocations: 0 / 0.5962 GB, free: 8.059 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001105/0.1521, allocations: 7.922 kB / 0.5962 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001045/0.1522, allocations: 28.22 kB / 0.5962 GB, free: 8.023 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005931/0.1528, allocations: 225.7 kB / 0.5964 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002781/0.1531, allocations: 299.9 kB / 0.5967 GB, free: 7.512 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.152e-05/0.1531, allocations: 7.984 kB / 0.5967 GB, free: 7.504 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000275/0.1534, allocations: 222.3 kB / 0.5969 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002064/0.1536, allocations: 127.5 kB / 0.5971 GB, free: 7.164 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.056e-05/0.1537, allocations: 8 kB / 0.5971 GB, free: 7.156 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.047e-05/0.1538, allocations: 15.94 kB / 0.5971 GB, free: 7.141 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001116/0.1539, allocations: 75.77 kB / 0.5972 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001709/0.1541, allocations: 127.3 kB / 0.5973 GB, free: 6.941 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002298/0.1543, allocations: 219.8 kB / 0.5975 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.1543, allocations: 0 / 0.5975 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of FrontEnd: time 7.42e-07/0.1543, allocations: 0 / 0.5975 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.1543, allocations: 0 / 0.5975 GB, free: 6.727 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.001114/0.1554, allocations: 0.7422 MB / 0.5982 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.1555, allocations: 12.03 kB / 0.5982 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001108/0.1556, allocations: 35.61 kB / 0.5983 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002924/0.1559, allocations: 266.2 kB / 0.5985 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.015e-05/0.156, allocations: 12 kB / 0.5985 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.232e-05/0.156, allocations: 16 kB / 0.5985 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001033/0.1571, allocations: 207.6 kB / 0.5987 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.1571, allocations: 0 / 0.5987 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3e-05/0.1571, allocations: 8 kB / 0.5987 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.1571, allocations: 0 / 0.5987 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007907/0.1579, allocations: 91.92 kB / 0.5988 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004192/0.1584, allocations: 333.2 kB / 0.5991 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00108/0.1595, allocations: 178.4 kB / 0.5993 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000788/0.1603, allocations: 108.8 kB / 0.5994 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.074e-05/0.1603, allocations: 7.984 kB / 0.5994 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009986/0.1613, allocations: 210.1 kB / 0.5996 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 2.274e-06/0.1613, allocations: 0 / 0.5996 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.002607/0.1639, allocations: 453 kB / 0.6001 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.611e-05/0.164, allocations: 55.41 kB / 0.6001 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003579/0.1644, allocations: 298.8 kB / 0.6004 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.339e-05/0.1644, allocations: 37.69 kB / 0.6004 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.208e-05/0.1645, allocations: 93.14 kB / 0.6005 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.408e-05/0.1646, allocations: 35.55 kB / 0.6006 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001641/0.1647, allocations: 97.48 kB / 0.6007 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000163/0.1649, allocations: 322.8 kB / 0.601 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002121/0.1651, allocations: 87.94 kB / 0.601 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002206/0.1653, allocations: 137.9 kB / 0.6012 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003277/0.1657, allocations: 239.8 kB / 0.6014 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/0.1657, allocations: 0 / 0.6014 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006477/0.1663, allocations: 396.5 kB / 0.6018 GB, free: 2 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001291/0.1665, allocations: 75.39 kB / 0.6019 GB, free: 1.914 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.1665, allocations: 0 / 0.6019 GB, free: 1.914 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.1665, allocations: 4 kB / 0.6019 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001785/0.1667, allocations: 27.91 kB / 0.6019 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.1667, allocations: 4.188 kB / 0.6019 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004878/0.1672, allocations: 59.73 kB / 0.6019 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.213e-05/0.1673, allocations: 43.98 kB / 0.602 GB, free: 1.777 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.0002015/0.1675, allocations: 173.7 kB / 0.6022 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.769e-05/0.1675, allocations: 23.72 kB / 0.6022 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.401e-05/0.1676, allocations: 30.3 kB / 0.6022 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.1676, allocations: 4 kB / 0.6022 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.1676, allocations: 3.984 kB / 0.6022 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.657e-06/0.1676, allocations: 3.938 kB / 0.6022 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002109/0.1698, allocations: 0.6894 MB / 0.6029 GB, free: 0.7891 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.1698, allocations: 0 / 0.6029 GB, free: 0.7891 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.98e-05/0.1698, allocations: 7.984 kB / 0.6029 GB, free: 0.7812 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.132e-06/0.1698, allocations: 3.938 kB / 0.6029 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.448e-05/0.1699, allocations: 19.98 kB / 0.6029 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.1699, allocations: 4 kB / 0.6029 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.1699, allocations: 0 / 0.6029 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001671/0.1716, allocations: 441.7 kB / 0.6033 GB, free: 316 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001811/0.1718, allocations: 160.6 kB / 0.6035 GB, free: 136 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.3e-05/0.1718, allocations: 23.92 kB / 0.6035 GB, free: 112 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005028/0.1724, allocations: 27.97 kB / 0.6035 GB, free: 84 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.079e-05/0.1724, allocations: 11.92 kB / 0.6036 GB, free: 72 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.561e-05/0.1725, allocations: 47.97 kB / 0.6036 GB, free: 24 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.2637/0.4361, allocations: 203.8 kB / 0.6038 GB, free: 44.02 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.8e-07/0.4362, allocations: 0 / 0.6038 GB, free: 44.02 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005007/0.4367, allocations: 47.05 kB / 0.6038 GB, free: 44.02 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.0001438/0.4368, allocations: 117.1 kB / 0.604 GB, free: 43.93 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001199/0.438, allocations: 375.6 kB / 0.6043 GB, free: 43.8 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.4381, allocations: 0 / 0.6043 GB, free: 43.8 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007754/0.4388, allocations: 117.5 kB / 0.6044 GB, free: 43.8 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003548/0.4392, allocations: 24.72 kB / 0.6044 GB, free: 43.8 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001306/0.4405, allocations: 0.5359 MB / 0.605 GB, free: 43.51 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000148/0.4407, allocations: 0.7431 MB / 0.6057 GB, free: 42.81 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.496e-05/0.4407, allocations: 13.12 kB / 0.6057 GB, free: 42.8 MB / 0.4981 GB Notification: Performance of SimCode: time 4.31e-07/0.4407, allocations: 0 / 0.6057 GB, free: 42.8 MB / 0.4981 GB Notification: Performance of Templates: time 0.003821/0.4446, allocations: 2.856 MB / 0.6085 GB, free: 42.67 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)