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.001002/0.001002, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001035/0.001035, allocations: 187.9 kB / 16.25 MB, free: 6.625 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.464/1.464, allocations: 222.9 MB / 239.9 MB, free: 4.555 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.011/1.011, allocations: 143 MB / 433.1 MB, free: 11.51 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 67.89 kB / 0.5138 GB, free: 11.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1873/0.1885, allocations: 82.02 MB / 0.5939 GB, free: 9.891 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime): time 0.002493/0.1911, allocations: 1.548 MB / 0.5954 GB, free: 8.324 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008599/0.1919, allocations: 415.4 kB / 0.5958 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.704e-05/0.192, allocations: 3.938 kB / 0.5958 GB, free: 7.91 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000133/0.1922, allocations: 0 / 0.5958 GB, free: 7.91 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001435/0.1923, allocations: 28.22 kB / 0.5958 GB, free: 7.883 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007363/0.1931, allocations: 237.7 kB / 0.5961 GB, free: 7.652 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003784/0.1935, allocations: 323.9 kB / 0.5964 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.887e-05/0.1935, allocations: 8 kB / 0.5964 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003386/0.1939, allocations: 242.3 kB / 0.5966 GB, free: 7.094 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002383/0.1941, allocations: 131.6 kB / 0.5967 GB, free: 6.965 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.845e-05/0.1942, allocations: 20 kB / 0.5967 GB, free: 6.945 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.425e-05/0.1943, allocations: 20 kB / 0.5968 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001185/0.1944, allocations: 83.77 kB / 0.5968 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001838/0.1946, allocations: 139.3 kB / 0.597 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003869/0.195, allocations: 307.3 kB / 0.5973 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.195, allocations: 3.938 kB / 0.5973 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.264e-06/0.195, allocations: 0 / 0.5973 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.727e-06/0.195, allocations: 0 / 0.5973 GB, free: 6.402 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.001229/0.1962, allocations: 0.7421 MB / 0.598 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.287e-05/0.1963, allocations: 8.031 kB / 0.598 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.211e-05/0.1964, allocations: 38.56 kB / 0.598 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.932e-05/0.1965, allocations: 35.7 kB / 0.5981 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000328/0.1968, allocations: 262.3 kB / 0.5983 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.739e-05/0.1969, allocations: 15.94 kB / 0.5983 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.13e-05/0.1969, allocations: 23.94 kB / 0.5984 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009975/0.1979, allocations: 207.6 kB / 0.5986 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.198, allocations: 0 / 0.5986 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.163e-05/0.198, allocations: 4 kB / 0.5986 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.198, allocations: 4 kB / 0.5986 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007647/0.1988, allocations: 95.92 kB / 0.5987 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004211/0.1992, allocations: 317.3 kB / 0.599 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001034/0.2003, allocations: 178.4 kB / 0.5991 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007383/0.201, allocations: 108.8 kB / 0.5992 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.093e-05/0.2011, allocations: 0 / 0.5992 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001013/0.2021, allocations: 218.1 kB / 0.5994 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 1.634e-06/0.2021, allocations: 0 / 0.5994 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.002558/0.2047, allocations: 445 kB / 0.5999 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.668e-05/0.2047, allocations: 67.34 kB / 0.5999 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000291/0.205, allocations: 294.8 kB / 0.6002 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.496e-05/0.2051, allocations: 37.69 kB / 0.6003 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.901e-05/0.2052, allocations: 101.1 kB / 0.6003 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.76e-05/0.2052, allocations: 27.61 kB / 0.6004 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001586/0.2054, allocations: 101.5 kB / 0.6005 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001215/0.2055, allocations: 318.8 kB / 0.6008 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002036/0.2057, allocations: 83.94 kB / 0.6009 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00022/0.206, allocations: 133.9 kB / 0.601 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003023/0.2063, allocations: 244 kB / 0.6012 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.2063, allocations: 0 / 0.6012 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006713/0.207, allocations: 400.5 kB / 0.6016 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.733e-05/0.207, allocations: 71.39 kB / 0.6017 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.207, allocations: 0 / 0.6017 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.2071, allocations: 4 kB / 0.6017 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000163/0.2072, allocations: 31.91 kB / 0.6017 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.2072, allocations: 0 / 0.6017 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004592/0.2077, allocations: 63.97 kB / 0.6018 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.479e-05/0.2078, allocations: 39.98 kB / 0.6018 GB, free: 1.418 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.0001954/0.208, allocations: 177.7 kB / 0.602 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.666e-05/0.208, allocations: 23.66 kB / 0.602 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.007e-05/0.2081, allocations: 30.3 kB / 0.602 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.2081, allocations: 4 kB / 0.602 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/0.2081, allocations: 3.984 kB / 0.602 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.2081, allocations: 4 kB / 0.602 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002029/0.2102, allocations: 0.6894 MB / 0.6027 GB, free: 436 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.2102, allocations: 0 / 0.6027 GB, free: 436 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.744e-05/0.2102, allocations: 11.98 kB / 0.6027 GB, free: 424 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.2102, allocations: 3.938 kB / 0.6027 GB, free: 420 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.127e-05/0.2103, allocations: 11.98 kB / 0.6027 GB, free: 408 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.2103, allocations: 0 / 0.6027 GB, free: 408 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2103, allocations: 4 kB / 0.6027 GB, free: 404 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3582/0.5685, allocations: 449.1 kB / 0.6032 GB, free: 44.09 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002443/0.5687, allocations: 160.8 kB / 0.6033 GB, free: 44 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.767e-05/0.5688, allocations: 13.75 kB / 0.6033 GB, free: 44 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004836/0.5693, allocations: 30.12 kB / 0.6034 GB, free: 44 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.385e-05/0.5694, allocations: 7.312 kB / 0.6034 GB, free: 44 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.025e-05/0.5694, allocations: 41.84 kB / 0.6034 GB, free: 44 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001895/0.5696, allocations: 211.7 kB / 0.6036 GB, free: 43.93 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5696, allocations: 0 / 0.6036 GB, free: 43.93 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003775/0.57, allocations: 51.09 kB / 0.6037 GB, free: 43.93 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.001862/0.5719, allocations: 0.9885 MB / 0.6046 GB, free: 43.27 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001118/0.573, allocations: 387.8 kB / 0.605 GB, free: 43.14 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.573, allocations: 2.25 kB / 0.605 GB, free: 43.14 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007196/0.5738, allocations: 115.9 kB / 0.6051 GB, free: 43.14 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003539/0.5741, allocations: 27.14 kB / 0.6051 GB, free: 43.14 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002999/0.5771, allocations: 2.437 MB / 0.6075 GB, free: 41.68 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001654/0.5773, allocations: 0.7395 MB / 0.6082 GB, free: 40.98 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.367e-05/0.5774, allocations: 14.17 kB / 0.6082 GB, free: 40.98 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.664e-05/0.5774, allocations: 24.36 kB / 0.6083 GB, free: 40.98 MB / 0.4981 GB Notification: Performance of SimCode: time 5.81e-07/0.5774, allocations: 2.844 kB / 0.6083 GB, free: 40.98 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01448/0.5919, allocations: 4.825 MB / 0.613 GB, free: 40.5 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001839/0.5922, allocations: 199.5 kB / 0.6132 GB, free: 40.25 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.868/2.46, allocations: 3.938 kB / 0.6132 GB, free: 40.25 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)