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.001331/0.001331, allocations: 109.8 kB / 16.41 MB, free: 6.508 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.001322/0.001322, allocations: 185.6 kB / 17.34 MB, free: 5.758 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.411/1.411, allocations: 222.9 MB / 241 MB, free: 15.16 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.9218/0.9218, allocations: 143.1 MB / 434.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001893/0.001893, allocations: 60.5 kB / 0.5962 GB, free: 12.33 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1743/0.1762, allocations: 82.03 MB / 0.6763 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime): time 0.002805/0.179, allocations: 1.49 MB / 0.6777 GB, free: 8.891 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001029/0.18, allocations: 427.2 kB / 0.6781 GB, free: 8.469 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.055e-05/0.1801, allocations: 0 / 0.6781 GB, free: 8.469 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.000106/0.1802, allocations: 11.86 kB / 0.6781 GB, free: 8.457 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001096/0.1803, allocations: 28.23 kB / 0.6782 GB, free: 8.43 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.000742/0.181, allocations: 242.9 kB / 0.6784 GB, free: 8.195 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0004391/0.1815, allocations: 327.5 kB / 0.6787 GB, free: 7.875 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.734e-05/0.1815, allocations: 4 kB / 0.6787 GB, free: 7.871 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003144/0.1818, allocations: 187.8 kB / 0.6789 GB, free: 7.688 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002537/0.1821, allocations: 126.5 kB / 0.679 GB, free: 7.566 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 5.805e-05/0.1821, allocations: 24 kB / 0.679 GB, free: 7.543 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 5.228e-05/0.1822, allocations: 16 kB / 0.6791 GB, free: 7.527 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001164/0.1823, allocations: 79.78 kB / 0.6791 GB, free: 7.449 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001547/0.1825, allocations: 123.4 kB / 0.6793 GB, free: 7.328 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003656/0.1828, allocations: 302.8 kB / 0.6795 GB, free: 7.031 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.134e-06/0.1828, allocations: 4 kB / 0.6795 GB, free: 7.027 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.753e-06/0.1828, allocations: 3.938 kB / 0.6796 GB, free: 7.023 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.622e-06/0.1828, allocations: 0 / 0.6796 GB, free: 7.023 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.001259/0.1841, allocations: 0.7539 MB / 0.6803 GB, free: 6.184 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.1841, allocations: 12.03 kB / 0.6803 GB, free: 6.172 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001046/0.1842, allocations: 32.8 kB / 0.6803 GB, free: 6.141 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000347/0.1846, allocations: 263.8 kB / 0.6806 GB, free: 5.848 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.449e-05/0.1846, allocations: 12.38 kB / 0.6806 GB, free: 5.836 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.219e-05/0.1847, allocations: 19.94 kB / 0.6806 GB, free: 5.816 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00101/0.1857, allocations: 205.4 kB / 0.6808 GB, free: 5.609 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.1857, allocations: 7.938 kB / 0.6808 GB, free: 5.602 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.813e-05/0.1857, allocations: 0 / 0.6808 GB, free: 5.602 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.1857, allocations: 0 / 0.6808 GB, free: 5.602 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007716/0.1865, allocations: 99.92 kB / 0.6809 GB, free: 5.504 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004196/0.1869, allocations: 313.4 kB / 0.6812 GB, free: 5.148 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001068/0.188, allocations: 162.4 kB / 0.6814 GB, free: 4.98 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007507/0.1888, allocations: 100.8 kB / 0.6815 GB, free: 4.879 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.331e-05/0.1888, allocations: 3.984 kB / 0.6815 GB, free: 4.875 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000947/0.1897, allocations: 218.2 kB / 0.6817 GB, free: 4.652 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=16): time 1.884e-06/0.1897, allocations: 0 / 0.6817 GB, free: 4.652 MB / 0.5137 GB Notification: Performance of matching and sorting (n=16): time 0.002595/0.1923, allocations: 449.2 kB / 0.6821 GB, free: 4.207 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.276e-05/0.1924, allocations: 59.39 kB / 0.6822 GB, free: 4.137 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000328/0.1927, allocations: 290.9 kB / 0.6824 GB, free: 3.84 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.818e-05/0.1928, allocations: 41.7 kB / 0.6825 GB, free: 3.793 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.687e-05/0.1929, allocations: 93.12 kB / 0.6826 GB, free: 3.699 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.555e-05/0.1929, allocations: 43.73 kB / 0.6826 GB, free: 3.656 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001664/0.1931, allocations: 93.58 kB / 0.6827 GB, free: 3.559 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001731/0.1933, allocations: 318.8 kB / 0.683 GB, free: 3.238 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002155/0.1935, allocations: 83.95 kB / 0.6831 GB, free: 3.156 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002441/0.1937, allocations: 151.5 kB / 0.6832 GB, free: 2.988 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003568/0.1941, allocations: 231.8 kB / 0.6834 GB, free: 2.73 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.1941, allocations: 7.938 kB / 0.6835 GB, free: 2.723 MB / 0.5137 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007121/0.1948, allocations: 396.6 kB / 0.6838 GB, free: 2.316 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.874e-05/0.1949, allocations: 75.39 kB / 0.6839 GB, free: 2.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.1949, allocations: 4 kB / 0.6839 GB, free: 2.227 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.1949, allocations: 0 / 0.6839 GB, free: 2.227 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001686/0.1951, allocations: 23.92 kB / 0.6839 GB, free: 2.203 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.547e-06/0.1951, allocations: 4 kB / 0.6839 GB, free: 2.199 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004717/0.1956, allocations: 60.09 kB / 0.684 GB, free: 2.141 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.895e-05/0.1956, allocations: 39.98 kB / 0.684 GB, free: 2.102 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 (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.0002278/0.1959, allocations: 177.7 kB / 0.6842 GB, free: 1.918 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.061e-05/0.1959, allocations: 23.86 kB / 0.6842 GB, free: 1.895 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.424e-05/0.196, allocations: 30.3 kB / 0.6842 GB, free: 1.863 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.196, allocations: 7.938 kB / 0.6843 GB, free: 1.855 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.196, allocations: 4 kB / 0.6843 GB, free: 1.852 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.196, allocations: 0 / 0.6843 GB, free: 1.852 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002253/0.1983, allocations: 0.6858 MB / 0.6849 GB, free: 1.105 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.1983, allocations: 0 / 0.6849 GB, free: 1.105 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.608e-05/0.1983, allocations: 11.94 kB / 0.6849 GB, free: 1.094 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.1983, allocations: 3.938 kB / 0.6849 GB, free: 1.09 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.559e-05/0.1983, allocations: 15.97 kB / 0.685 GB, free: 1.074 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.1983, allocations: 4 kB / 0.685 GB, free: 1.07 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1983, allocations: 0 / 0.685 GB, free: 1.07 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001751/0.2001, allocations: 455 kB / 0.6854 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002043/0.2003, allocations: 160.8 kB / 0.6856 GB, free: 448 kB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.377e-05/0.2004, allocations: 12 kB / 0.6856 GB, free: 436 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004616/0.2008, allocations: 35.95 kB / 0.6856 GB, free: 400 kB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.664e-05/0.2009, allocations: 4 kB / 0.6856 GB, free: 396 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.384e-05/0.2009, allocations: 51.91 kB / 0.6857 GB, free: 344 kB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002162/0.2011, allocations: 209.9 kB / 0.6859 GB, free: 136 kB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.2011, allocations: 0 / 0.6859 GB, free: 136 kB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003267/0.2015, allocations: 48 kB / 0.6859 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 (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.0001884/0.2017, allocations: 116.9 kB / 0.686 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001195/0.2029, allocations: 354.5 kB / 0.6863 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.2029, allocations: 0 / 0.6863 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0008919/0.2038, allocations: 103.9 kB / 0.6864 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003665/0.2041, allocations: 29.14 kB / 0.6865 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00143/0.2055, allocations: 469.6 kB / 0.6869 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004115/0.206, allocations: 0.7435 MB / 0.6876 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.188e-05/0.206, allocations: 15.44 kB / 0.6877 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of SimCode: time 1.022e-06/0.206, allocations: 0 / 0.6877 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of Templates: time 0.005446/0.2115, allocations: 2.878 MB / 0.6905 GB, free: 11.31 MB / 0.5294 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)