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.006482/0.006482, allocations: 104.1 kB / 15.74 MB, free: 6.059 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.001304/0.001304, allocations: 197.7 kB / 16.68 MB, free: 5.969 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.392/1.392, allocations: 222.9 MB / 240.4 MB, free: 15.21 MB / 206.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.8607/0.8607, allocations: 143 MB / 433.6 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 64.12 kB / 0.5955 GB, free: 12.34 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1832/0.1845, allocations: 82.03 MB / 0.6756 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonths): time 0.002836/0.1873, allocations: 1.489 MB / 0.677 GB, free: 8.906 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0011/0.1885, allocations: 427.3 kB / 0.6775 GB, free: 8.484 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.632e-05/0.1885, allocations: 4 kB / 0.6775 GB, free: 8.48 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001203/0.1887, allocations: 15.8 kB / 0.6775 GB, free: 8.465 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001169/0.1888, allocations: 20.23 kB / 0.6775 GB, free: 8.445 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.000742/0.1895, allocations: 254.6 kB / 0.6777 GB, free: 8.199 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0004271/0.19, allocations: 315.5 kB / 0.678 GB, free: 7.891 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 6.266e-05/0.1901, allocations: 15.97 kB / 0.678 GB, free: 7.875 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002986/0.1904, allocations: 195.7 kB / 0.6782 GB, free: 7.684 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002737/0.1906, allocations: 124 kB / 0.6784 GB, free: 7.562 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 7.721e-05/0.1907, allocations: 16 kB / 0.6784 GB, free: 7.547 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 7.082e-05/0.1908, allocations: 20 kB / 0.6784 GB, free: 7.527 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001163/0.1909, allocations: 83.77 kB / 0.6785 GB, free: 7.445 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001464/0.1911, allocations: 123.4 kB / 0.6786 GB, free: 7.324 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003543/0.1914, allocations: 299 kB / 0.6789 GB, free: 7.031 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.714e-06/0.1915, allocations: 4 kB / 0.6789 GB, free: 7.027 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.687e-06/0.1915, allocations: 4 kB / 0.6789 GB, free: 7.023 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.165e-06/0.1915, allocations: 4 kB / 0.6789 GB, free: 7.02 MB / 0.5137 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.001255/0.1927, allocations: 0.7345 MB / 0.6796 GB, free: 6.199 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/0.1928, allocations: 8.031 kB / 0.6796 GB, free: 6.191 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001076/0.1929, allocations: 40.56 kB / 0.6796 GB, free: 6.152 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003464/0.1933, allocations: 251.7 kB / 0.6799 GB, free: 5.871 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.878e-05/0.1933, allocations: 12.38 kB / 0.6799 GB, free: 5.859 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.546e-05/0.1934, allocations: 31.86 kB / 0.6799 GB, free: 5.828 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001001/0.1944, allocations: 205.5 kB / 0.6801 GB, free: 5.621 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.1944, allocations: 0 / 0.6801 GB, free: 5.621 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.667e-05/0.1944, allocations: 3.938 kB / 0.6801 GB, free: 5.617 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.1945, allocations: 4 kB / 0.6801 GB, free: 5.613 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007312/0.1952, allocations: 95.91 kB / 0.6802 GB, free: 5.52 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004025/0.1956, allocations: 317.4 kB / 0.6805 GB, free: 5.16 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001022/0.1966, allocations: 174.4 kB / 0.6807 GB, free: 4.98 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007156/0.1974, allocations: 112.7 kB / 0.6808 GB, free: 4.867 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.119e-05/0.1974, allocations: 3.938 kB / 0.6808 GB, free: 4.863 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009414/0.1984, allocations: 207.2 kB / 0.681 GB, free: 4.648 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=16): time 1.623e-06/0.1984, allocations: 4 kB / 0.681 GB, free: 4.645 MB / 0.5137 GB Notification: Performance of matching and sorting (n=16): time 0.002386/0.2008, allocations: 456.5 kB / 0.6814 GB, free: 4.195 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.501e-05/0.2008, allocations: 59.41 kB / 0.6815 GB, free: 4.125 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002748/0.2011, allocations: 290.9 kB / 0.6818 GB, free: 3.828 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.665e-05/0.2012, allocations: 41.69 kB / 0.6818 GB, free: 3.781 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.651e-05/0.2012, allocations: 89.14 kB / 0.6819 GB, free: 3.691 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.433e-05/0.2013, allocations: 39.45 kB / 0.6819 GB, free: 3.652 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001359/0.2014, allocations: 97.48 kB / 0.682 GB, free: 3.551 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001191/0.2016, allocations: 318.8 kB / 0.6823 GB, free: 3.23 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001832/0.2017, allocations: 83.95 kB / 0.6824 GB, free: 3.148 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002099/0.202, allocations: 147.6 kB / 0.6826 GB, free: 2.984 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002958/0.2023, allocations: 235.6 kB / 0.6828 GB, free: 2.723 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.2023, allocations: 3.938 kB / 0.6828 GB, free: 2.719 MB / 0.5137 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005734/0.2029, allocations: 394.4 kB / 0.6832 GB, free: 2.316 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.171e-05/0.2029, allocations: 75.39 kB / 0.6832 GB, free: 2.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.203, allocations: 0 / 0.6832 GB, free: 2.23 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.988e-05/0.203, allocations: 8.188 kB / 0.6832 GB, free: 2.223 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001714/0.2032, allocations: 27.91 kB / 0.6833 GB, free: 2.195 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.2032, allocations: 0 / 0.6833 GB, free: 2.195 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004253/0.2036, allocations: 55.77 kB / 0.6833 GB, free: 2.141 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.091e-05/0.2037, allocations: 43.98 kB / 0.6834 GB, free: 2.098 MB / 0.5137 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.0001994/0.2039, allocations: 179.9 kB / 0.6835 GB, free: 1.914 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.318e-05/0.2039, allocations: 23.72 kB / 0.6836 GB, free: 1.891 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.922e-05/0.204, allocations: 30.3 kB / 0.6836 GB, free: 1.859 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.204, allocations: 0 / 0.6836 GB, free: 1.859 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.204, allocations: 0 / 0.6836 GB, free: 1.859 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.204, allocations: 7.984 kB / 0.6836 GB, free: 1.852 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002042/0.2061, allocations: 0.6896 MB / 0.6843 GB, free: 1.102 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.2061, allocations: 0 / 0.6843 GB, free: 1.102 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.416e-05/0.2061, allocations: 4 kB / 0.6843 GB, free: 1.098 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.2061, allocations: 0 / 0.6843 GB, free: 1.098 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.369e-05/0.2062, allocations: 15.97 kB / 0.6843 GB, free: 1.082 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.2062, allocations: 0 / 0.6843 GB, free: 1.082 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2062, allocations: 0 / 0.6843 GB, free: 1.082 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001631/0.2078, allocations: 455.4 kB / 0.6847 GB, free: 0.6211 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001547/0.208, allocations: 160.6 kB / 0.6849 GB, free: 456 kB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.22e-05/0.2081, allocations: 11.98 kB / 0.6849 GB, free: 444 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004516/0.2085, allocations: 39.97 kB / 0.6849 GB, free: 404 kB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.175e-05/0.2086, allocations: 7.984 kB / 0.6849 GB, free: 396 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.087e-05/0.2086, allocations: 47.92 kB / 0.685 GB, free: 348 kB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001766/0.2088, allocations: 213.9 kB / 0.6852 GB, free: 136 kB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2088, allocations: 0 / 0.6852 GB, free: 136 kB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000309/0.2091, allocations: 47.98 kB / 0.6852 GB, free: 88 kB / 0.5137 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.0001643/0.2093, allocations: 117.7 kB / 0.6853 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001139/0.2104, allocations: 377.9 kB / 0.6857 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2105, allocations: 0 / 0.6857 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0007455/0.2112, allocations: 124.2 kB / 0.6858 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003464/0.2116, allocations: 21.45 kB / 0.6858 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00126/0.2128, allocations: 431.9 kB / 0.6862 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002998/0.2131, allocations: 0.7396 MB / 0.687 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 6.07e-05/0.2132, allocations: 9.094 kB / 0.687 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.117e-05/0.2133, allocations: 23.42 kB / 0.687 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of SimCode: time 3.51e-07/0.2133, allocations: 0 / 0.687 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of Templates: time 0.006834/0.2201, allocations: 3.647 MB / 0.6906 GB, free: 10.57 MB / 0.5294 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)