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: "" <> 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.001102/0.001102, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001211/0.001211, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.425/1.425, allocations: 222.9 MB / 240.2 MB, free: 4.402 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 1.02/1.02, allocations: 143 MB / 433.4 MB, free: 11.6 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001385/0.001385, allocations: 67.91 kB / 0.5143 GB, free: 11.61 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.176/0.1774, allocations: 82.04 MB / 0.5944 GB, free: 9.535 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime): time 0.003034/0.1804, allocations: 1.486 MB / 0.5958 GB, free: 8.035 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001007/0.1815, allocations: 429.8 kB / 0.5962 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.692e-05/0.1816, allocations: 0 / 0.5962 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000106/0.1817, allocations: 7.875 kB / 0.5962 GB, free: 7.605 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001159/0.1818, allocations: 24.22 kB / 0.5963 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008184/0.1827, allocations: 250.9 kB / 0.5965 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004398/0.1831, allocations: 327.5 kB / 0.5968 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.959e-05/0.1832, allocations: 4 kB / 0.5968 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003428/0.1835, allocations: 207.6 kB / 0.597 GB, free: 6.812 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002574/0.1838, allocations: 104.1 kB / 0.5971 GB, free: 6.711 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001021/0.1839, allocations: 20 kB / 0.5971 GB, free: 6.691 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.989e-05/0.184, allocations: 20 kB / 0.5972 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001161/0.1841, allocations: 83.7 kB / 0.5972 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001635/0.1843, allocations: 127.4 kB / 0.5974 GB, free: 6.465 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003433/0.1846, allocations: 307.3 kB / 0.5977 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.1846, allocations: 0 / 0.5977 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.523e-06/0.1846, allocations: 3.938 kB / 0.5977 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.001e-05/0.1847, allocations: 0 / 0.5977 GB, free: 6.16 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.001175/0.1858, allocations: 0.7422 MB / 0.5984 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.1859, allocations: 12.03 kB / 0.5984 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.363e-05/0.1859, allocations: 38.73 kB / 0.5984 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001001/0.1861, allocations: 32.66 kB / 0.5985 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00031/0.1864, allocations: 267.5 kB / 0.5987 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.229e-05/0.1864, allocations: 20.11 kB / 0.5987 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.122e-05/0.1865, allocations: 20 kB / 0.5988 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009604/0.1875, allocations: 197.5 kB / 0.5989 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.1875, allocations: 0 / 0.5989 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.766e-05/0.1875, allocations: 3.984 kB / 0.5989 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.1875, allocations: 4 kB / 0.599 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007766/0.1883, allocations: 91.92 kB / 0.599 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004046/0.1887, allocations: 321.3 kB / 0.5993 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001069/0.1898, allocations: 174.3 kB / 0.5995 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007452/0.1905, allocations: 108.8 kB / 0.5996 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.877e-05/0.1906, allocations: 4 kB / 0.5996 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009647/0.1916, allocations: 211.2 kB / 0.5998 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 1.763e-06/0.1916, allocations: 4 kB / 0.5998 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.002484/0.1941, allocations: 447.5 kB / 0.6003 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.26e-05/0.1941, allocations: 63.39 kB / 0.6003 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002955/0.1944, allocations: 290.9 kB / 0.6006 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.441e-05/0.1945, allocations: 37.7 kB / 0.6006 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.917e-05/0.1946, allocations: 89.12 kB / 0.6007 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.803e-05/0.1946, allocations: 35.61 kB / 0.6007 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001622/0.1948, allocations: 97.47 kB / 0.6008 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001784/0.195, allocations: 326.8 kB / 0.6011 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001993/0.1952, allocations: 83.89 kB / 0.6012 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002228/0.1954, allocations: 142.9 kB / 0.6014 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003185/0.1957, allocations: 244.5 kB / 0.6016 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.1958, allocations: 0 / 0.6016 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006335/0.1964, allocations: 396.6 kB / 0.602 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.819e-05/0.1965, allocations: 67.39 kB / 0.602 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-06/0.1965, allocations: 4.188 kB / 0.602 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/0.1965, allocations: 8 kB / 0.6021 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000157/0.1967, allocations: 27.91 kB / 0.6021 GB, free: 1.281 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.1967, allocations: 4 kB / 0.6021 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004439/0.1971, allocations: 51.86 kB / 0.6021 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.388e-05/0.1972, allocations: 39.98 kB / 0.6022 GB, free: 1.188 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.0001692/0.1974, allocations: 185.6 kB / 0.6023 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.106e-05/0.1974, allocations: 27.66 kB / 0.6024 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.287e-05/0.1975, allocations: 30.3 kB / 0.6024 GB, free: 0.9414 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.1975, allocations: 0 / 0.6024 GB, free: 0.9414 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.1975, allocations: 0 / 0.6024 GB, free: 0.9414 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.1975, allocations: 0 / 0.6024 GB, free: 0.9414 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002059/0.1996, allocations: 0.6937 MB / 0.6031 GB, free: 196 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.261e-06/0.1996, allocations: 4 kB / 0.6031 GB, free: 192 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.669e-05/0.1997, allocations: 7.938 kB / 0.6031 GB, free: 184 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-06/0.1997, allocations: 4 kB / 0.6031 GB, free: 180 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.004e-05/0.1997, allocations: 15.97 kB / 0.6031 GB, free: 164 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.1997, allocations: 0 / 0.6031 GB, free: 164 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1997, allocations: 0 / 0.6031 GB, free: 164 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3395/0.5392, allocations: 448.1 kB / 0.6035 GB, free: 44.19 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002318/0.5395, allocations: 160.9 kB / 0.6037 GB, free: 44.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.143e-05/0.5396, allocations: 11.55 kB / 0.6037 GB, free: 44.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004654/0.5401, allocations: 34.48 kB / 0.6037 GB, free: 44.1 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.36e-05/0.5401, allocations: 11.27 kB / 0.6037 GB, free: 44.1 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.894e-05/0.5402, allocations: 46.8 kB / 0.6038 GB, free: 44.1 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001889/0.5404, allocations: 210.3 kB / 0.604 GB, free: 44.02 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5404, allocations: 0 / 0.604 GB, free: 44.02 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004046/0.5408, allocations: 45.66 kB / 0.604 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.001805/0.5426, allocations: 0.9912 MB / 0.605 GB, free: 43.36 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001186/0.5438, allocations: 386.5 kB / 0.6054 GB, free: 43.24 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.5438, allocations: 0 / 0.6054 GB, free: 43.24 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007413/0.5446, allocations: 113.9 kB / 0.6055 GB, free: 43.24 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003569/0.5449, allocations: 30.25 kB / 0.6055 GB, free: 43.24 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003141/0.5481, allocations: 2.375 MB / 0.6078 GB, free: 41.86 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001818/0.5483, allocations: 0.7362 MB / 0.6085 GB, free: 41.16 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.244e-05/0.5483, allocations: 14.81 kB / 0.6086 GB, free: 41.16 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.896e-05/0.5484, allocations: 28.55 kB / 0.6086 GB, free: 41.15 MB / 0.4981 GB Notification: Performance of SimCode: time 5.11e-07/0.5484, allocations: 0 / 0.6086 GB, free: 41.15 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0208/0.5692, allocations: 4.835 MB / 0.6133 GB, free: 40.56 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.761/8.331, allocations: 0.5938 kB / 0.6133 GB, free: 40.56 MB / 0.4981 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)