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.0009782/0.0009779, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.007795/0.007795, allocations: 169 kB / 16.26 MB, free: 6.652 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.395/1.395, allocations: 223.3 MB / 240.3 MB, free: 5.332 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.9993/0.9993, allocations: 143.2 MB / 434.6 MB, free: 13.74 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003805/0.0003807, allocations: 8 kB / 0.5165 GB, free: 11.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1782/0.1786, allocations: 83.41 MB / 0.5979 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime): time 0.002026/0.1807, allocations: 1.202 MB / 0.5991 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001094/0.1818, allocations: 452.7 kB / 0.5996 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.595e-05/0.1819, allocations: 0 / 0.5996 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.957e-05/0.182, allocations: 3.938 kB / 0.5996 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001346/0.1821, allocations: 20.23 kB / 0.5996 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008359/0.183, allocations: 232.2 kB / 0.5998 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004862/0.1835, allocations: 299.8 kB / 0.6001 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.407e-05/0.1836, allocations: 7.984 kB / 0.6001 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004156/0.184, allocations: 218.3 kB / 0.6003 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003175/0.1843, allocations: 123.6 kB / 0.6004 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.001e-05/0.1844, allocations: 8 kB / 0.6004 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.306e-05/0.1844, allocations: 12 kB / 0.6004 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001117/0.1846, allocations: 79.77 kB / 0.6005 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001701/0.1847, allocations: 149 kB / 0.6007 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003295/0.1851, allocations: 299.2 kB / 0.6009 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.1851, allocations: 4 kB / 0.6009 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.724e-06/0.1851, allocations: 0 / 0.6009 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.744e-06/0.1851, allocations: 0 / 0.6009 GB, free: 4.523 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.001065/0.1862, allocations: 0.6565 MB / 0.6016 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.1862, allocations: 15.97 kB / 0.6016 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.711e-05/0.1863, allocations: 30.56 kB / 0.6016 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001023/0.1864, allocations: 35.7 kB / 0.6017 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000379/0.1868, allocations: 266.3 kB / 0.6019 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.214e-05/0.1868, allocations: 16 kB / 0.6019 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.676e-05/0.1869, allocations: 16 kB / 0.6019 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009727/0.1879, allocations: 221.4 kB / 0.6022 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.1879, allocations: 4 kB / 0.6022 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.674e-05/0.1879, allocations: 0 / 0.6022 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.188, allocations: 3.938 kB / 0.6022 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00076/0.1887, allocations: 107.9 kB / 0.6023 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003885/0.1891, allocations: 325.3 kB / 0.6026 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001038/0.1902, allocations: 182.5 kB / 0.6028 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007505/0.1909, allocations: 116.8 kB / 0.6029 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.754e-05/0.191, allocations: 8 kB / 0.6029 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009183/0.1919, allocations: 219.1 kB / 0.6031 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 1.683e-06/0.1919, allocations: 4 kB / 0.6031 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.002507/0.1944, allocations: 487.8 kB / 0.6036 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.225e-05/0.1945, allocations: 59.41 kB / 0.6036 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003009/0.1948, allocations: 287 kB / 0.6039 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.291e-05/0.1948, allocations: 41.69 kB / 0.6039 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.008e-05/0.1949, allocations: 93.12 kB / 0.604 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.762e-05/0.195, allocations: 35.55 kB / 0.604 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.347e-05/0.195, allocations: 33.7 kB / 0.6041 GB, free: 1.059 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002008/0.1952, allocations: 322.8 kB / 0.6044 GB, free: 0.7344 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001985/0.1955, allocations: 79.95 kB / 0.6045 GB, free: 0.6562 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002227/0.1957, allocations: 149.8 kB / 0.6046 GB, free: 500 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004301/0.1961, allocations: 236.6 kB / 0.6048 GB, free: 232 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.1961, allocations: 0 / 0.6048 GB, free: 232 kB / 0.4981 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.2787/0.4749, allocations: 394.3 kB / 0.6052 GB, free: 40.98 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.344e-05/0.475, allocations: 76.34 kB / 0.6053 GB, free: 40.92 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.475, allocations: 1.969 kB / 0.6053 GB, free: 40.92 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.475, allocations: 5.438 kB / 0.6053 GB, free: 40.92 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001557/0.4752, allocations: 25.02 kB / 0.6053 GB, free: 40.92 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.4752, allocations: 3.625 kB / 0.6053 GB, free: 40.92 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004704/0.4756, allocations: 60.83 kB / 0.6054 GB, free: 40.92 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.961e-05/0.4757, allocations: 42.31 kB / 0.6054 GB, free: 40.92 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.0001781/0.4759, allocations: 175.2 kB / 0.6056 GB, free: 40.8 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.899e-05/0.4759, allocations: 29.03 kB / 0.6056 GB, free: 40.8 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.634e-05/0.476, allocations: 25.55 kB / 0.6056 GB, free: 40.79 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.476, allocations: 6.969 kB / 0.6056 GB, free: 40.79 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.476, allocations: 0.9688 kB / 0.6056 GB, free: 40.79 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.476, allocations: 0 / 0.6056 GB, free: 40.79 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001808/0.4778, allocations: 0.7157 MB / 0.6063 GB, free: 40.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.4778, allocations: 0 / 0.6063 GB, free: 40.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.866e-05/0.4779, allocations: 7.469 kB / 0.6063 GB, free: 40.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.4779, allocations: 3.094 kB / 0.6063 GB, free: 40.5 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.491e-05/0.4779, allocations: 19.06 kB / 0.6064 GB, free: 40.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.4779, allocations: 6.125 kB / 0.6064 GB, free: 40.49 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.4779, allocations: 0 / 0.6064 GB, free: 40.49 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00148/0.4794, allocations: 471.4 kB / 0.6068 GB, free: 40.36 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000117/0.4795, allocations: 160.7 kB / 0.607 GB, free: 40.26 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.62e-05/0.4796, allocations: 8.328 kB / 0.607 GB, free: 40.26 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004289/0.48, allocations: 44.03 kB / 0.607 GB, free: 40.26 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.401e-05/0.4801, allocations: 10.62 kB / 0.607 GB, free: 40.26 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.865e-05/0.4801, allocations: 41.44 kB / 0.6071 GB, free: 40.26 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001372/0.4802, allocations: 210.3 kB / 0.6073 GB, free: 40.18 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4803, allocations: 1.75 kB / 0.6073 GB, free: 40.18 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002841/0.4805, allocations: 46.72 kB / 0.6073 GB, free: 40.18 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.001671/0.4822, allocations: 1.01 MB / 0.6083 GB, free: 39.52 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000971/0.4832, allocations: 392.1 kB / 0.6087 GB, free: 39.39 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.4832, allocations: 0 / 0.6087 GB, free: 39.39 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006922/0.4839, allocations: 131.2 kB / 0.6088 GB, free: 39.39 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003167/0.4842, allocations: 27.59 kB / 0.6088 GB, free: 39.39 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002655/0.4869, allocations: 2.454 MB / 0.6112 GB, free: 37.89 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001345/0.4871, allocations: 0.744 MB / 0.612 GB, free: 37.19 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.927e-05/0.4871, allocations: 10.34 kB / 0.612 GB, free: 37.19 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.593e-05/0.4872, allocations: 27.34 kB / 0.612 GB, free: 37.18 MB / 0.4981 GB Notification: Performance of SimCode: time 2.11e-07/0.4872, allocations: 0 / 0.612 GB, free: 37.18 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03223/0.5194, allocations: 4.596 MB / 0.6165 GB, free: 36.73 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001465/0.5196, allocations: 200.4 kB / 0.6167 GB, free: 36.48 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.776/2.295, allocations: 6.844 kB / 0.6167 GB, free: 36.47 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)