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.008638/0.008638, allocations: 98.19 kB / 15.73 MB, free: 5.605 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.001893/0.001893, allocations: 199.4 kB / 16.67 MB, free: 5.531 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.422/1.422, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.8696/0.8696, allocations: 143.1 MB / 433.6 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 72.2 kB / 0.595 GB, free: 12.81 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1806/0.182, allocations: 82.03 MB / 0.6751 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime): time 0.002905/0.1849, allocations: 1.482 MB / 0.6766 GB, free: 9.391 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001135/0.1861, allocations: 431.2 kB / 0.677 GB, free: 8.965 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001008/0.1862, allocations: 0 / 0.677 GB, free: 8.965 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.000136/0.1864, allocations: 3.938 kB / 0.677 GB, free: 8.961 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001718/0.1866, allocations: 36.16 kB / 0.677 GB, free: 8.926 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001004/0.1876, allocations: 242.6 kB / 0.6773 GB, free: 8.691 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0004623/0.1881, allocations: 327.5 kB / 0.6776 GB, free: 8.371 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.77e-05/0.1881, allocations: 8 kB / 0.6776 GB, free: 8.363 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003378/0.1885, allocations: 195.7 kB / 0.6778 GB, free: 8.172 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002982/0.1888, allocations: 126.2 kB / 0.6779 GB, free: 8.051 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 7.876e-05/0.1889, allocations: 20 kB / 0.6779 GB, free: 8.031 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 5.77e-05/0.1889, allocations: 20 kB / 0.6779 GB, free: 8.012 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001183/0.1891, allocations: 87.77 kB / 0.678 GB, free: 7.926 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001628/0.1892, allocations: 119.4 kB / 0.6781 GB, free: 7.809 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003901/0.1896, allocations: 303.1 kB / 0.6784 GB, free: 7.512 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.193e-06/0.1896, allocations: 4 kB / 0.6784 GB, free: 7.508 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.733e-06/0.1896, allocations: 0 / 0.6784 GB, free: 7.508 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.127e-05/0.1897, allocations: 0 / 0.6784 GB, free: 7.508 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.001244/0.1909, allocations: 0.75 MB / 0.6791 GB, free: 6.672 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.191, allocations: 12.03 kB / 0.6792 GB, free: 6.66 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.748e-05/0.191, allocations: 46.72 kB / 0.6792 GB, free: 6.605 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.991e-05/0.1911, allocations: 28.8 kB / 0.6792 GB, free: 6.578 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003518/0.1915, allocations: 267.7 kB / 0.6795 GB, free: 6.281 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.299e-05/0.1915, allocations: 16.12 kB / 0.6795 GB, free: 6.266 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.531e-05/0.1916, allocations: 20 kB / 0.6795 GB, free: 6.246 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001015/0.1926, allocations: 205.4 kB / 0.6797 GB, free: 6.039 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.1927, allocations: 0 / 0.6797 GB, free: 6.039 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.862e-05/0.1927, allocations: 4 kB / 0.6797 GB, free: 6.035 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.1927, allocations: 0 / 0.6797 GB, free: 6.035 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008012/0.1935, allocations: 91.92 kB / 0.6798 GB, free: 5.945 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004065/0.1939, allocations: 321.4 kB / 0.6801 GB, free: 5.582 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001078/0.195, allocations: 178.3 kB / 0.6803 GB, free: 5.398 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007763/0.1958, allocations: 104.8 kB / 0.6804 GB, free: 5.293 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.484e-05/0.1958, allocations: 7.984 kB / 0.6804 GB, free: 5.285 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009759/0.1968, allocations: 211.1 kB / 0.6806 GB, free: 5.066 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=16): time 1.783e-06/0.1968, allocations: 0 / 0.6806 GB, free: 5.066 MB / 0.5137 GB Notification: Performance of matching and sorting (n=16): time 0.00262/0.1995, allocations: 448.2 kB / 0.681 GB, free: 4.625 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.441e-05/0.1995, allocations: 63.39 kB / 0.6811 GB, free: 4.551 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002833/0.1998, allocations: 294.9 kB / 0.6814 GB, free: 4.25 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 6.176e-05/0.1999, allocations: 37.7 kB / 0.6814 GB, free: 4.207 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.006e-05/0.1999, allocations: 93.12 kB / 0.6815 GB, free: 4.113 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.662e-05/0.2, allocations: 39.73 kB / 0.6815 GB, free: 4.074 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001522/0.2002, allocations: 93.58 kB / 0.6816 GB, free: 3.977 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.2003, allocations: 322.8 kB / 0.6819 GB, free: 3.652 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001957/0.2005, allocations: 83.89 kB / 0.682 GB, free: 3.57 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002235/0.2007, allocations: 142.7 kB / 0.6821 GB, free: 3.41 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003216/0.201, allocations: 247.4 kB / 0.6824 GB, free: 3.137 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.2011, allocations: 0 / 0.6824 GB, free: 3.137 MB / 0.5137 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006675/0.2017, allocations: 392.7 kB / 0.6827 GB, free: 2.734 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.521e-05/0.2018, allocations: 77.27 kB / 0.6828 GB, free: 2.648 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.2018, allocations: 3.938 kB / 0.6828 GB, free: 2.645 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.2019, allocations: 4 kB / 0.6828 GB, free: 2.641 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001617/0.202, allocations: 19.92 kB / 0.6828 GB, free: 2.621 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/0.202, allocations: 4.188 kB / 0.6829 GB, free: 2.617 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005054/0.2026, allocations: 55.91 kB / 0.6829 GB, free: 2.562 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.398e-05/0.2026, allocations: 43.98 kB / 0.6829 GB, free: 2.52 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.0001778/0.2028, allocations: 173.7 kB / 0.6831 GB, free: 2.34 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.718e-05/0.2029, allocations: 23.86 kB / 0.6831 GB, free: 2.316 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.22e-05/0.2029, allocations: 30.3 kB / 0.6832 GB, free: 2.285 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.2029, allocations: 7.984 kB / 0.6832 GB, free: 2.277 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.2029, allocations: 0 / 0.6832 GB, free: 2.277 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.203, allocations: 0 / 0.6832 GB, free: 2.277 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002167/0.2051, allocations: 0.6897 MB / 0.6838 GB, free: 1.527 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.2051, allocations: 4 kB / 0.6839 GB, free: 1.523 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.486e-05/0.2052, allocations: 7.938 kB / 0.6839 GB, free: 1.516 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.2052, allocations: 4 kB / 0.6839 GB, free: 1.512 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.272e-05/0.2052, allocations: 19.97 kB / 0.6839 GB, free: 1.492 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.2052, allocations: 0 / 0.6839 GB, free: 1.492 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.2052, allocations: 0 / 0.6839 GB, free: 1.492 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001762/0.207, allocations: 458.9 kB / 0.6843 GB, free: 1.031 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002031/0.2072, allocations: 160.8 kB / 0.6845 GB, free: 0.8555 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.137e-05/0.2073, allocations: 12 kB / 0.6845 GB, free: 0.8438 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004844/0.2078, allocations: 35.95 kB / 0.6845 GB, free: 0.8086 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.187e-05/0.2078, allocations: 7.938 kB / 0.6845 GB, free: 0.8008 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.253e-05/0.2079, allocations: 47.97 kB / 0.6846 GB, free: 0.7539 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001897/0.2081, allocations: 213.9 kB / 0.6848 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2081, allocations: 0 / 0.6848 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000324/0.2084, allocations: 44 kB / 0.6848 GB, free: 0.5039 MB / 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.002139/0.2106, allocations: 0.9911 MB / 0.6858 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001209/0.2118, allocations: 382.5 kB / 0.6861 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.2118, allocations: 0 / 0.6861 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000789/0.2126, allocations: 107.9 kB / 0.6863 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003749/0.213, allocations: 30.77 kB / 0.6863 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003672/0.2167, allocations: 2.38 MB / 0.6886 GB, free: 12.44 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000366/0.2171, allocations: 0.7395 MB / 0.6893 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 6.187e-05/0.2171, allocations: 13.08 kB / 0.6893 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.838e-05/0.2172, allocations: 27.42 kB / 0.6894 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of SimCode: time 3.31e-07/0.2172, allocations: 0 / 0.6894 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02196/0.2392, allocations: 4.84 MB / 0.6941 GB, free: 6.891 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.79/8.03, allocations: 18.98 kB / 0.6941 GB, free: 6.875 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)