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.001318/0.001317, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001299/0.001299, allocations: 191.7 kB / 16.13 MB, free: 6.664 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 / 239.8 MB, free: 4.594 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 0.9573/0.9573, allocations: 143 MB / 433 MB, free: 11.6 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 67.84 kB / 0.5136 GB, free: 12.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1826/0.1838, allocations: 82.03 MB / 0.5937 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime): time 0.002813/0.1866, allocations: 1.544 MB / 0.5952 GB, free: 8.457 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00125/0.1879, allocations: 447.3 kB / 0.5957 GB, free: 8.016 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.126e-05/0.188, allocations: 0 / 0.5957 GB, free: 8.016 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001207/0.1881, allocations: 7.922 kB / 0.5957 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001181/0.1882, allocations: 16.25 kB / 0.5957 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006469/0.1889, allocations: 234.4 kB / 0.5959 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003178/0.1892, allocations: 295.9 kB / 0.5962 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.478e-05/0.1893, allocations: 15.97 kB / 0.5962 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003081/0.1896, allocations: 218.3 kB / 0.5964 GB, free: 7.25 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002336/0.1898, allocations: 127.5 kB / 0.5965 GB, free: 7.125 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.789e-05/0.1899, allocations: 8 kB / 0.5965 GB, free: 7.117 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.792e-05/0.19, allocations: 12 kB / 0.5965 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001203/0.1901, allocations: 79.77 kB / 0.5966 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001588/0.1903, allocations: 127.3 kB / 0.5967 GB, free: 6.902 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003332/0.1906, allocations: 303.3 kB / 0.597 GB, free: 6.605 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.441e-06/0.1906, allocations: 0 / 0.597 GB, free: 6.605 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.262e-06/0.1906, allocations: 0 / 0.597 GB, free: 6.605 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.907e-06/0.1906, allocations: 0 / 0.597 GB, free: 6.605 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.001089/0.1917, allocations: 0.7421 MB / 0.5978 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.1918, allocations: 12.03 kB / 0.5978 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.003e-05/0.1918, allocations: 38.56 kB / 0.5978 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.149e-05/0.1919, allocations: 39.64 kB / 0.5978 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003019/0.1922, allocations: 258.3 kB / 0.5981 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.988e-05/0.1923, allocations: 12 kB / 0.5981 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.511e-05/0.1923, allocations: 16 kB / 0.5981 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009543/0.1933, allocations: 213.3 kB / 0.5983 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.1933, allocations: 0 / 0.5983 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.414e-05/0.1934, allocations: 4 kB / 0.5983 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.852e-06/0.1934, allocations: 4 kB / 0.5983 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007303/0.1941, allocations: 95.92 kB / 0.5984 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003548/0.1945, allocations: 317.3 kB / 0.5987 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009676/0.1954, allocations: 166.5 kB / 0.5989 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007131/0.1962, allocations: 112.8 kB / 0.599 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.911e-05/0.1962, allocations: 7.938 kB / 0.599 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009217/0.1971, allocations: 213.7 kB / 0.5992 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 1.804e-06/0.1971, allocations: 0 / 0.5992 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.002354/0.1995, allocations: 445 kB / 0.5996 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.108e-05/0.1996, allocations: 63.39 kB / 0.5997 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002814/0.1999, allocations: 290.9 kB / 0.6 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.437e-05/0.1999, allocations: 41.69 kB / 0.6 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.047e-05/0.2, allocations: 93.14 kB / 0.6001 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.016e-05/0.2, allocations: 39.48 kB / 0.6001 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001595/0.2002, allocations: 97.48 kB / 0.6002 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001156/0.2003, allocations: 322.8 kB / 0.6005 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001993/0.2005, allocations: 83.94 kB / 0.6006 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002187/0.2008, allocations: 137.9 kB / 0.6007 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003105/0.2011, allocations: 233.2 kB / 0.601 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.2011, allocations: 0 / 0.601 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006509/0.2017, allocations: 406.6 kB / 0.6013 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.534e-05/0.2018, allocations: 71.39 kB / 0.6014 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.2018, allocations: 4 kB / 0.6014 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.2019, allocations: 4 kB / 0.6014 GB, free: 1.754 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001722/0.202, allocations: 27.91 kB / 0.6015 GB, free: 1.727 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.709e-06/0.2021, allocations: 4 kB / 0.6015 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004519/0.2025, allocations: 56.05 kB / 0.6015 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.386e-05/0.2026, allocations: 39.98 kB / 0.6015 GB, free: 1.629 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.0001905/0.2028, allocations: 173.7 kB / 0.6017 GB, free: 1.449 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.94e-05/0.2028, allocations: 31.59 kB / 0.6017 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.071e-05/0.2029, allocations: 30.3 kB / 0.6018 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.2029, allocations: 0 / 0.6018 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.235e-06/0.2029, allocations: 7.984 kB / 0.6018 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.2029, allocations: 4 kB / 0.6018 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002086/0.205, allocations: 0.696 MB / 0.6025 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.205, allocations: 0 / 0.6025 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.521e-05/0.2051, allocations: 11.98 kB / 0.6025 GB, free: 0.6172 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.479e-05/0.2051, allocations: 4 kB / 0.6025 GB, free: 0.6133 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.334e-05/0.2051, allocations: 11.98 kB / 0.6025 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.2052, allocations: 0 / 0.6025 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2052, allocations: 0 / 0.6025 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001654/0.2068, allocations: 446.9 kB / 0.6029 GB, free: 152 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.2613/0.4681, allocations: 163.5 kB / 0.6031 GB, free: 44.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.966e-05/0.4682, allocations: 12.53 kB / 0.6031 GB, free: 44.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000498/0.4688, allocations: 29.72 kB / 0.6031 GB, free: 44.16 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.643e-05/0.4688, allocations: 7.281 kB / 0.6031 GB, free: 44.16 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.908e-05/0.4689, allocations: 45.94 kB / 0.6032 GB, free: 44.16 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001769/0.469, allocations: 215.3 kB / 0.6034 GB, free: 44.09 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.11e-07/0.469, allocations: 0 / 0.6034 GB, free: 44.09 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003672/0.4694, allocations: 46.75 kB / 0.6034 GB, free: 44.09 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.001732/0.4712, allocations: 0.9932 MB / 0.6044 GB, free: 43.43 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001036/0.4722, allocations: 379.2 kB / 0.6047 GB, free: 43.3 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.4722, allocations: 0 / 0.6047 GB, free: 43.3 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006929/0.4729, allocations: 116.1 kB / 0.6049 GB, free: 43.3 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003205/0.4732, allocations: 21.8 kB / 0.6049 GB, free: 43.3 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002694/0.476, allocations: 2.434 MB / 0.6073 GB, free: 41.84 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001364/0.4761, allocations: 0.7429 MB / 0.608 GB, free: 41.14 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.802e-05/0.4762, allocations: 12.22 kB / 0.608 GB, free: 41.14 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.271e-05/0.4762, allocations: 25.27 kB / 0.608 GB, free: 41.13 MB / 0.4981 GB Notification: Performance of SimCode: time 3.81e-07/0.4762, allocations: 0 / 0.608 GB, free: 41.13 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01338/0.4896, allocations: 4.679 MB / 0.6126 GB, free: 40.66 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001216/0.4898, allocations: 201.8 kB / 0.6128 GB, free: 40.41 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.727/2.217, allocations: 0 / 0.6128 GB, free: 40.41 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Time_Examples_CalendarTime_fmu --startTime=0 --stopTime=1e+08 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Time_Examples_CalendarTime.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime.pipe 2>&1)