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.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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.001054/0.001054, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001007/0.001007, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.384/1.384, allocations: 223.2 MB / 239.9 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.032/1.032, allocations: 143.3 MB / 434.3 MB, free: 13.73 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000405/0.0004052, allocations: 16 kB / 0.5159 GB, free: 11.31 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2013/0.2017, allocations: 83.42 MB / 0.5973 GB, free: 7.836 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime): time 0.001486/0.2033, allocations: 1.167 MB / 0.5985 GB, free: 6.656 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008088/0.2041, allocations: 412.4 kB / 0.5989 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.644e-05/0.2041, allocations: 3.938 kB / 0.5989 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.539e-05/0.2042, allocations: 3.938 kB / 0.5989 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001052/0.2043, allocations: 19.97 kB / 0.5989 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006216/0.2049, allocations: 211.1 kB / 0.5991 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002168/0.2052, allocations: 155.7 kB / 0.5993 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.112e-05/0.2052, allocations: 7.984 kB / 0.5993 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002473/0.2055, allocations: 175.7 kB / 0.5994 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001982/0.2057, allocations: 135.6 kB / 0.5996 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.938e-05/0.2057, allocations: 12 kB / 0.5996 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.393e-05/0.2058, allocations: 8 kB / 0.5996 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001092/0.2059, allocations: 79.78 kB / 0.5997 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.026e-05/0.206, allocations: 69.58 kB / 0.5997 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002248/0.2062, allocations: 207.8 kB / 0.5999 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.726e-06/0.2062, allocations: 3.938 kB / 0.5999 GB, free: 5.18 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.984e-06/0.2062, allocations: 0 / 0.5999 GB, free: 5.18 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.2063, allocations: 0 / 0.5999 GB, free: 5.18 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.0009241/0.2072, allocations: 0.6682 MB / 0.6006 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.2072, allocations: 12.03 kB / 0.6006 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.421e-05/0.2073, allocations: 34.56 kB / 0.6006 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.953e-05/0.2074, allocations: 35.67 kB / 0.6007 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003477/0.2077, allocations: 250.5 kB / 0.6009 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.148e-05/0.2078, allocations: 15.98 kB / 0.6009 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.572e-05/0.2079, allocations: 16 kB / 0.6009 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009431/0.2088, allocations: 213.4 kB / 0.6011 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.2088, allocations: 0 / 0.6011 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.067e-05/0.2089, allocations: 7.984 kB / 0.6011 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.2089, allocations: 0 / 0.6011 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007512/0.2096, allocations: 107.9 kB / 0.6012 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003627/0.21, allocations: 321.3 kB / 0.6015 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001002/0.211, allocations: 186.6 kB / 0.6017 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.501e-05/0.2111, allocations: 4 kB / 0.6017 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009029/0.212, allocations: 231 kB / 0.6019 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 1.593e-06/0.212, allocations: 4 kB / 0.602 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.002373/0.2144, allocations: 469 kB / 0.6024 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.289e-05/0.2144, allocations: 67.39 kB / 0.6025 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002756/0.2147, allocations: 290.9 kB / 0.6027 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.329e-05/0.2148, allocations: 33.7 kB / 0.6028 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.274e-05/0.2148, allocations: 93.12 kB / 0.6029 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.972e-05/0.2149, allocations: 31.56 kB / 0.6029 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.812e-05/0.2149, allocations: 11.98 kB / 0.6029 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.215, allocations: 322.8 kB / 0.6032 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001784/0.2152, allocations: 87.88 kB / 0.6033 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002135/0.2155, allocations: 141.9 kB / 0.6034 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002034/0.2157, allocations: 147.4 kB / 0.6036 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.2157, allocations: 0 / 0.6036 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006313/0.2163, allocations: 396.6 kB / 0.6039 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.506e-05/0.2164, allocations: 75.39 kB / 0.604 GB, free: 0.6602 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.2164, allocations: 4 kB / 0.604 GB, free: 0.6562 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.2164, allocations: 0 / 0.604 GB, free: 0.6562 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001644/0.2166, allocations: 19.98 kB / 0.604 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.195e-05/0.2166, allocations: 11.92 kB / 0.6041 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004556/0.2171, allocations: 60.06 kB / 0.6041 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.204e-05/0.2171, allocations: 43.98 kB / 0.6042 GB, free: 0.5234 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 ($PRE.calendarTime2016.firstHourSampling,calendarTime2016.firstHourSampling,$PRE.calendarTime2016.firstDaySampling,calendarTime2016.firstDaySampling,$whenCondition1,calendarTime2016.daySampleTrigger,$whenCondition2,calendarTime2016.hourSampleTrigger,$PRE.calendarTime2016.year,calendarTime2016.year,$PRE.calendarTime2016.month,calendarTime2016.month,$PRE.calendarTime2016.day,calendarTime2016.day,$PRE.calendarTime2016.hour,calendarTime2016.hour,$PRE.calendarTime2016.weekDay,calendarTime2016.weekDay,$PRE.calendarTime2016.daysSinceEpoch,calendarTime2016.daysSinceEpoch,$PRE.calendarTime2016.yearIndex,calendarTime2016.yearIndex,$PRE.calendarTime2016.epochLastMonth,calendarTime2016.epochLastMonth) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002016/0.2174, allocations: 176.3 kB / 0.6043 GB, free: 352 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.198e-05/0.2174, allocations: 35.52 kB / 0.6044 GB, free: 316 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.158e-05/0.2175, allocations: 34.3 kB / 0.6044 GB, free: 284 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/0.2175, allocations: 4 kB / 0.6044 GB, free: 280 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.2175, allocations: 3.938 kB / 0.6044 GB, free: 276 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.2175, allocations: 0 / 0.6044 GB, free: 276 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3046/0.5221, allocations: 0.699 MB / 0.6051 GB, free: 40.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.5221, allocations: 1.031 kB / 0.6051 GB, free: 40.91 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.871e-05/0.5222, allocations: 12.03 kB / 0.6051 GB, free: 40.91 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.855e-06/0.5222, allocations: 2.719 kB / 0.6051 GB, free: 40.91 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.135e-05/0.5222, allocations: 23.62 kB / 0.6051 GB, free: 40.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.5222, allocations: 0 / 0.6051 GB, free: 40.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.5222, allocations: 0 / 0.6051 GB, free: 40.91 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001571/0.5238, allocations: 468 kB / 0.6056 GB, free: 40.78 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001808/0.524, allocations: 162.3 kB / 0.6057 GB, free: 40.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.283e-05/0.5241, allocations: 13.64 kB / 0.6057 GB, free: 40.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004283/0.5245, allocations: 38.47 kB / 0.6058 GB, free: 40.69 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.782e-05/0.5246, allocations: 6.781 kB / 0.6058 GB, free: 40.69 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.451e-05/0.5246, allocations: 45.45 kB / 0.6058 GB, free: 40.69 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001488/0.5248, allocations: 206.2 kB / 0.606 GB, free: 40.61 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.5e-07/0.5248, allocations: 0.6562 kB / 0.606 GB, free: 40.61 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003513/0.5251, allocations: 48.38 kB / 0.6061 GB, free: 40.61 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001783/0.5269, allocations: 1.016 MB / 0.6071 GB, free: 39.96 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001123/0.5281, allocations: 385.6 kB / 0.6074 GB, free: 39.83 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.5281, allocations: 0 / 0.6074 GB, free: 39.83 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000729/0.5288, allocations: 132 kB / 0.6075 GB, free: 39.83 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002611/0.5291, allocations: 22.27 kB / 0.6076 GB, free: 39.83 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001672/0.5308, allocations: 1.654 MB / 0.6092 GB, free: 38.44 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001677/0.5309, allocations: 0.7523 MB / 0.6099 GB, free: 37.74 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.517e-05/0.531, allocations: 11.94 kB / 0.6099 GB, free: 37.74 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.982e-05/0.5311, allocations: 25.12 kB / 0.61 GB, free: 37.73 MB / 0.4981 GB Notification: Performance of SimCode: time 1.292e-06/0.5311, allocations: 0 / 0.61 GB, free: 37.73 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01374/0.5448, allocations: 4.543 MB / 0.6144 GB, free: 37.31 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002168/0.5451, allocations: 190.3 kB / 0.6146 GB, free: 37.07 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.753/2.298, allocations: 7.438 kB / 0.6146 GB, free: 37.06 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/linux/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) Environment - environmentSimulation: