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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Time_Examples_CalendarTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Time_Examples_CalendarTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0087/0.0087, allocations: 99.77 kB / 15.73 MB, free: 6.012 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.00186/0.00186, allocations: 193.5 kB / 16.67 MB, free: 5.93 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.485/1.485, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 0.9293/0.9293, allocations: 143.3 MB / 433.8 MB, free: 11.82 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 56.44 kB / 0.5953 GB, free: 12.64 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.159/0.161, allocations: 82.04 MB / 0.6754 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime): time 0.002516/0.1635, allocations: 1.491 MB / 0.6768 GB, free: 9.141 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0009345/0.1645, allocations: 433.4 kB / 0.6772 GB, free: 8.715 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.647e-05/0.1645, allocations: 3.938 kB / 0.6772 GB, free: 8.711 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 9.371e-05/0.1646, allocations: 7.875 kB / 0.6773 GB, free: 8.703 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 9.642e-05/0.1647, allocations: 28.22 kB / 0.6773 GB, free: 8.676 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.000666/0.1654, allocations: 246.5 kB / 0.6775 GB, free: 8.438 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003873/0.1658, allocations: 323.6 kB / 0.6778 GB, free: 8.121 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.47e-05/0.1659, allocations: 11.92 kB / 0.6778 GB, free: 8.109 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002774/0.1661, allocations: 187.7 kB / 0.678 GB, free: 7.926 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002368/0.1664, allocations: 124 kB / 0.6781 GB, free: 7.805 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 7.723e-05/0.1665, allocations: 20 kB / 0.6782 GB, free: 7.785 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 6.945e-05/0.1665, allocations: 20 kB / 0.6782 GB, free: 7.766 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.00011/0.1667, allocations: 83.77 kB / 0.6783 GB, free: 7.684 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001476/0.1668, allocations: 123.4 kB / 0.6784 GB, free: 7.562 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003669/0.1672, allocations: 307.1 kB / 0.6787 GB, free: 7.262 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.1672, allocations: 4 kB / 0.6787 GB, free: 7.258 MB / 0.5137 GB Notification: Performance of FrontEnd: time 5.04e-06/0.1672, allocations: 0 / 0.6787 GB, free: 7.258 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.1672, allocations: 3.938 kB / 0.6787 GB, free: 7.254 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.001103/0.1683, allocations: 0.7422 MB / 0.6794 GB, free: 6.426 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.1684, allocations: 12.03 kB / 0.6794 GB, free: 6.414 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.288e-05/0.1684, allocations: 42.73 kB / 0.6794 GB, free: 6.363 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.541e-05/0.1685, allocations: 28.8 kB / 0.6795 GB, free: 6.336 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000315/0.1688, allocations: 267.8 kB / 0.6797 GB, free: 6.039 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.057e-05/0.1689, allocations: 16.12 kB / 0.6797 GB, free: 6.023 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.786e-05/0.169, allocations: 19.98 kB / 0.6798 GB, free: 6.004 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009328/0.1699, allocations: 197.4 kB / 0.68 GB, free: 5.805 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.1699, allocations: 11.94 kB / 0.68 GB, free: 5.793 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.697e-05/0.17, allocations: 7.984 kB / 0.68 GB, free: 5.785 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.17, allocations: 0 / 0.68 GB, free: 5.785 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007448/0.1707, allocations: 99.91 kB / 0.6801 GB, free: 5.688 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003824/0.1711, allocations: 309.4 kB / 0.6804 GB, free: 5.336 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001032/0.1721, allocations: 182.4 kB / 0.6805 GB, free: 5.148 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007288/0.1729, allocations: 104.8 kB / 0.6806 GB, free: 5.043 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.022e-05/0.1729, allocations: 4 kB / 0.6806 GB, free: 5.039 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009224/0.1738, allocations: 219 kB / 0.6808 GB, free: 4.812 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=16): time 1.533e-06/0.1739, allocations: 0 / 0.6808 GB, free: 4.812 MB / 0.5137 GB Notification: Performance of matching and sorting (n=16): time 0.002506/0.1764, allocations: 453.2 kB / 0.6813 GB, free: 4.363 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.732e-05/0.1764, allocations: 55.41 kB / 0.6813 GB, free: 4.297 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003011/0.1767, allocations: 290.9 kB / 0.6816 GB, free: 4 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.565e-05/0.1768, allocations: 45.69 kB / 0.6817 GB, free: 3.949 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.096e-05/0.1769, allocations: 89.14 kB / 0.6817 GB, free: 3.859 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.674e-05/0.1769, allocations: 39.73 kB / 0.6818 GB, free: 3.82 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000156/0.1771, allocations: 97.58 kB / 0.6819 GB, free: 3.719 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.1772, allocations: 318.8 kB / 0.6822 GB, free: 3.398 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001968/0.1774, allocations: 79.95 kB / 0.6823 GB, free: 3.32 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000241/0.1777, allocations: 146.6 kB / 0.6824 GB, free: 3.156 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003336/0.178, allocations: 241.2 kB / 0.6826 GB, free: 2.887 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.178, allocations: 0 / 0.6826 GB, free: 2.887 MB / 0.5137 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006693/0.1787, allocations: 399 kB / 0.683 GB, free: 2.48 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.695e-05/0.1788, allocations: 71.39 kB / 0.6831 GB, free: 2.398 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.1788, allocations: 0 / 0.6831 GB, free: 2.398 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.1788, allocations: 4 kB / 0.6831 GB, free: 2.395 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001787/0.179, allocations: 27.91 kB / 0.6831 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.179, allocations: 4 kB / 0.6831 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004336/0.1795, allocations: 56.09 kB / 0.6832 GB, free: 2.309 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.384e-05/0.1795, allocations: 36 kB / 0.6832 GB, free: 2.273 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.000189/0.1797, allocations: 173.7 kB / 0.6834 GB, free: 2.094 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.473e-05/0.1798, allocations: 23.86 kB / 0.6834 GB, free: 2.07 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.509e-05/0.1798, allocations: 30.3 kB / 0.6834 GB, free: 2.039 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.1799, allocations: 0 / 0.6834 GB, free: 2.039 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.1799, allocations: 4 kB / 0.6834 GB, free: 2.035 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.1799, allocations: 0 / 0.6834 GB, free: 2.035 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002071/0.1819, allocations: 0.6927 MB / 0.6841 GB, free: 1.285 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.182, allocations: 8 kB / 0.6841 GB, free: 1.277 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.555e-05/0.182, allocations: 7.938 kB / 0.6841 GB, free: 1.27 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.182, allocations: 0 / 0.6841 GB, free: 1.27 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.463e-05/0.1821, allocations: 15.97 kB / 0.6841 GB, free: 1.254 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.1821, allocations: 0 / 0.6841 GB, free: 1.254 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1821, allocations: 3.938 kB / 0.6841 GB, free: 1.25 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001699/0.1838, allocations: 455.5 kB / 0.6846 GB, free: 0.7891 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001911/0.184, allocations: 164.8 kB / 0.6847 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.526e-05/0.184, allocations: 15.98 kB / 0.6847 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004547/0.1845, allocations: 31.97 kB / 0.6848 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.644e-05/0.1845, allocations: 11.92 kB / 0.6848 GB, free: 0.5508 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.659e-05/0.1846, allocations: 43.98 kB / 0.6848 GB, free: 0.5078 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002003/0.1848, allocations: 213.9 kB / 0.685 GB, free: 308 kB / 0.5137 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1848, allocations: 3.938 kB / 0.685 GB, free: 304 kB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003204/0.1852, allocations: 47.98 kB / 0.6851 GB, free: 256 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.002038/0.1872, allocations: 0.9872 MB / 0.686 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001158/0.1884, allocations: 385.8 kB / 0.6864 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1884, allocations: 0 / 0.6864 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0007429/0.1891, allocations: 115.9 kB / 0.6865 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003431/0.1895, allocations: 28.56 kB / 0.6865 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003581/0.1931, allocations: 2.37 MB / 0.6889 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003701/0.1935, allocations: 0.7485 MB / 0.6896 GB, free: 11.42 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 6.269e-05/0.1935, allocations: 9.094 kB / 0.6896 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.854e-05/0.1936, allocations: 27.36 kB / 0.6896 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of SimCode: time 2.71e-07/0.1936, allocations: 0 / 0.6896 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02656/0.2202, allocations: 4.832 MB / 0.6943 GB, free: 6.648 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.957/8.177, allocations: 11.78 kB / 0.6943 GB, free: 6.637 MB / 0.5294 GB (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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime_res.csv --start-time 0 --stop-time 1e+08 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 40000 BuildSysPro_BuildSysPro_IBPSA_Utilities_Time_Examples_CalendarTime.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime.pipe 2>&1)