Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonths.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.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonths") translateModel(BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004706/0.004706, allocations: 100.7 kB / 15.87 MB, free: 5.867 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.00108/0.00108, allocations: 192.7 kB / 16.79 MB, free: 5.809 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.319/1.319, allocations: 222.9 MB / 240.5 MB, free: 4.566 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.988/0.988, allocations: 143 MB / 433.7 MB, free: 11.67 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 59.91 kB / 0.5141 GB, free: 12.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1638/0.1651, allocations: 82.05 MB / 0.5943 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonths): time 0.002934/0.1681, allocations: 1.552 MB / 0.5958 GB, free: 8.52 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001012/0.1691, allocations: 439.4 kB / 0.5962 GB, free: 8.086 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.771e-05/0.1692, allocations: 0 / 0.5962 GB, free: 8.086 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001096/0.1693, allocations: 7.922 kB / 0.5962 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001133/0.1694, allocations: 28.22 kB / 0.5962 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006837/0.1701, allocations: 230.1 kB / 0.5964 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003129/0.1704, allocations: 295.9 kB / 0.5967 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.684e-05/0.1705, allocations: 4 kB / 0.5967 GB, free: 7.535 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000289/0.1708, allocations: 218.3 kB / 0.5969 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002233/0.171, allocations: 135.5 kB / 0.5971 GB, free: 7.191 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.469e-05/0.1711, allocations: 11.98 kB / 0.5971 GB, free: 7.18 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.992e-05/0.1712, allocations: 12 kB / 0.5971 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001253/0.1713, allocations: 79.72 kB / 0.5972 GB, free: 7.09 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001734/0.1715, allocations: 119.4 kB / 0.5973 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002232/0.1717, allocations: 219.8 kB / 0.5975 GB, free: 6.758 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.1717, allocations: 0 / 0.5975 GB, free: 6.758 MB / 0.4981 GB Notification: Performance of FrontEnd: time 7.41e-07/0.1717, allocations: 0 / 0.5975 GB, free: 6.758 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.1717, allocations: 0 / 0.5975 GB, free: 6.758 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.001099/0.1728, allocations: 0.7499 MB / 0.5982 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.1729, allocations: 8.031 kB / 0.5982 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001129/0.173, allocations: 31.72 kB / 0.5983 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003055/0.1733, allocations: 258.2 kB / 0.5985 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.428e-05/0.1734, allocations: 19.98 kB / 0.5985 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.925e-05/0.1734, allocations: 16 kB / 0.5985 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001043/0.1745, allocations: 209.4 kB / 0.5987 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.465e-06/0.1745, allocations: 0 / 0.5987 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.643e-05/0.1745, allocations: 0 / 0.5987 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.157e-06/0.1745, allocations: 0 / 0.5987 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007956/0.1753, allocations: 99.92 kB / 0.5988 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003611/0.1757, allocations: 325.2 kB / 0.5991 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001071/0.1768, allocations: 172.7 kB / 0.5993 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007812/0.1776, allocations: 112.8 kB / 0.5994 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.104e-05/0.1776, allocations: 4 kB / 0.5994 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001/0.1786, allocations: 211.1 kB / 0.5996 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 1.824e-06/0.1786, allocations: 0 / 0.5996 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.002464/0.1811, allocations: 451.6 kB / 0.6001 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.403e-05/0.1812, allocations: 63.34 kB / 0.6001 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002927/0.1814, allocations: 294.8 kB / 0.6004 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.958e-05/0.1815, allocations: 49.62 kB / 0.6004 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.885e-05/0.1816, allocations: 89.14 kB / 0.6005 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.95e-05/0.1816, allocations: 31.59 kB / 0.6006 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001642/0.1818, allocations: 101.5 kB / 0.6007 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000119/0.1819, allocations: 322.8 kB / 0.601 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002063/0.1821, allocations: 87.88 kB / 0.601 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002157/0.1824, allocations: 130 kB / 0.6012 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003092/0.1827, allocations: 243.8 kB / 0.6014 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.1827, allocations: 0 / 0.6014 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006497/0.1834, allocations: 396.5 kB / 0.6018 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.422e-05/0.1834, allocations: 71.39 kB / 0.6018 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.1835, allocations: 7.984 kB / 0.6019 GB, free: 1.945 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.1835, allocations: 0 / 0.6019 GB, free: 1.945 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001751/0.1837, allocations: 27.92 kB / 0.6019 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.1837, allocations: 4 kB / 0.6019 GB, free: 1.914 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004828/0.1842, allocations: 63.92 kB / 0.6019 GB, free: 1.852 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.167e-05/0.1842, allocations: 39.98 kB / 0.602 GB, free: 1.812 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 (calTim.firstHourSampling,$PRE.calTim.firstHourSampling,calTim.firstDaySampling,$PRE.calTim.firstDaySampling,calTim.daySampleTrigger,$whenCondition1,calTim.hourSampleTrigger,$whenCondition2,calTim.epochLastMonth,$PRE.calTim.epochLastMonth,calTim.yearIndex,$PRE.calTim.yearIndex,calTim.daysSinceEpoch,$PRE.calTim.daysSinceEpoch,calTim.weekDay,$PRE.calTim.weekDay,calTim.hour,$PRE.calTim.hour,calTim.day,$PRE.calTim.day,calTim.month,$PRE.calTim.month,calTim.year,$PRE.calTim.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.0001837/0.1844, allocations: 167.9 kB / 0.6021 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.682e-05/0.1845, allocations: 27.7 kB / 0.6022 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.654e-05/0.1845, allocations: 30.3 kB / 0.6022 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.369e-06/0.1845, allocations: 4 kB / 0.6022 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.1845, allocations: 0 / 0.6022 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.1846, allocations: 7.922 kB / 0.6022 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002143/0.1867, allocations: 0.6895 MB / 0.6029 GB, free: 0.8242 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.1867, allocations: 0 / 0.6029 GB, free: 0.8242 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.756e-05/0.1868, allocations: 7.984 kB / 0.6029 GB, free: 0.8164 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.1868, allocations: 3.938 kB / 0.6029 GB, free: 0.8125 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.404e-05/0.1868, allocations: 15.98 kB / 0.6029 GB, free: 0.7969 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.1868, allocations: 3.984 kB / 0.6029 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.1868, allocations: 0 / 0.6029 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001727/0.1886, allocations: 435 kB / 0.6033 GB, free: 360 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001732/0.1887, allocations: 168.6 kB / 0.6035 GB, free: 172 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.914e-05/0.1888, allocations: 15.94 kB / 0.6035 GB, free: 156 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004891/0.1893, allocations: 35.97 kB / 0.6035 GB, free: 120 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.591e-05/0.1894, allocations: 7.984 kB / 0.6035 GB, free: 112 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.331e-05/0.1894, allocations: 39.97 kB / 0.6036 GB, free: 72 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.285/0.4744, allocations: 210.8 kB / 0.6038 GB, free: 44.05 MB / 0.4981 GB Notification: Performance of sort global known variables: time 6.51e-07/0.4745, allocations: 1.5 kB / 0.6038 GB, free: 44.05 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005763/0.475, allocations: 50.08 kB / 0.6038 GB, free: 44.05 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 (calTim.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition2,$whenCondition1,calTim.year,calTim.month,calTim.day,calTim.hour,calTim.weekDay,calTim.daysSinceEpoch,calTim.yearIndex,calTim.epochLastMonth,calTim.firstHourSampling,calTim.firstDaySampling) * Number of discrete states: 9 (calTim.firstDaySampling,calTim.daysSinceEpoch,calTim.weekDay,calTim.yearIndex,calTim.year,calTim.epochLastMonth,calTim.month,calTim.firstHourSampling,calTim.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.0001563/0.4752, allocations: 109.8 kB / 0.6039 GB, free: 43.96 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001231/0.4765, allocations: 379.5 kB / 0.6043 GB, free: 43.84 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/0.4765, allocations: 1.188 kB / 0.6043 GB, free: 43.84 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007499/0.4772, allocations: 116.8 kB / 0.6044 GB, free: 43.84 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003729/0.4776, allocations: 26.06 kB / 0.6044 GB, free: 43.84 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0013/0.4789, allocations: 0.5358 MB / 0.605 GB, free: 43.54 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001592/0.4791, allocations: 0.7404 MB / 0.6057 GB, free: 42.85 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.383e-05/0.4791, allocations: 20.3 kB / 0.6057 GB, free: 42.84 MB / 0.4981 GB Notification: Performance of SimCode: time 6.51e-07/0.4791, allocations: 0 / 0.6057 GB, free: 42.84 MB / 0.4981 GB Notification: Performance of Templates: time 0.004023/0.4832, allocations: 2.834 MB / 0.6085 GB, free: 42.71 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonths.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonths.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)