Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.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/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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(Buildings.Utilities.Time.Examples.CalendarTime,fileNamePrefix="Buildings_10_Buildings_Utilities_Time_Examples_CalendarTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Examples.CalendarTime,fileNamePrefix="Buildings_10_Buildings_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.009325/0.009325, allocations: 100.4 kB / 15.73 MB, free: 5.602 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.002669/0.002669, allocations: 192.2 kB / 16.68 MB, free: 5.523 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.4/1.4, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.505/2.505, allocations: 437.1 MB / 0.7106 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001734/0.001734, allocations: 67.89 kB / 1.018 GB, free: 9.875 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6388/0.6405, allocations: 151.6 MB / 1.166 GB, free: 3.746 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.002944/0.6435, allocations: 1.512 MB / 1.168 GB, free: 2.223 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001509/0.645, allocations: 0.5484 MB / 1.168 GB, free: 1.676 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.665e-05/0.6451, allocations: 0 / 1.168 GB, free: 1.676 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 9.533e-05/0.6452, allocations: 7.938 kB / 1.168 GB, free: 1.668 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001047/0.6453, allocations: 27.58 kB / 1.168 GB, free: 1.641 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007659/0.6461, allocations: 317.1 kB / 1.169 GB, free: 1.332 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0005447/0.6467, allocations: 0.5033 MB / 1.169 GB, free: 0.8281 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.596e-05/0.6467, allocations: 4 kB / 1.169 GB, free: 0.8242 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003736/0.6471, allocations: 275.6 kB / 1.169 GB, free: 0.5547 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002826/0.6474, allocations: 144.7 kB / 1.169 GB, free: 424 kB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 9.701e-05/0.6475, allocations: 28 kB / 1.169 GB, free: 396 kB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 9.107e-05/0.6476, allocations: 28 kB / 1.169 GB, free: 368 kB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001494/0.6477, allocations: 115.7 kB / 1.17 GB, free: 252 kB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0002072/0.648, allocations: 195 kB / 1.17 GB, free: 56 kB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0004905/0.6485, allocations: 422.1 kB / 1.17 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.6485, allocations: 0 / 1.17 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.212e-06/0.6485, allocations: 0 / 1.17 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 9.357e-06/0.6485, allocations: 0 / 1.17 GB, free: 15.64 MB / 0.9044 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.001211/0.6497, allocations: 0.8781 MB / 1.171 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.6498, allocations: 8.922 kB / 1.171 GB, free: 14.67 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.125e-05/0.6498, allocations: 42.73 kB / 1.171 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001025/0.6499, allocations: 48.7 kB / 1.171 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003535/0.6503, allocations: 326.5 kB / 1.171 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.99e-05/0.6503, allocations: 16.36 kB / 1.171 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.771e-05/0.6504, allocations: 24.38 kB / 1.171 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009185/0.6513, allocations: 211.2 kB / 1.172 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.6514, allocations: 3.938 kB / 1.172 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.783e-05/0.6514, allocations: 8 kB / 1.172 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.6514, allocations: 8 kB / 1.172 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007246/0.6521, allocations: 95.92 kB / 1.172 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004648/0.6526, allocations: 393.2 kB / 1.172 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001/0.6536, allocations: 178.4 kB / 1.172 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007107/0.6543, allocations: 108.8 kB / 1.172 GB, free: 13.12 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.895e-05/0.6544, allocations: 4.375 kB / 1.172 GB, free: 13.12 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009609/0.6553, allocations: 225.2 kB / 1.173 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=16): time 3.797e-06/0.6554, allocations: 0 / 1.173 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of matching and sorting (n=16): time 0.002499/0.6579, allocations: 496.9 kB / 1.173 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.836e-05/0.6579, allocations: 59.39 kB / 1.173 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004361/0.6584, allocations: 409.9 kB / 1.174 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 6.613e-05/0.6585, allocations: 41.69 kB / 1.174 GB, free: 11.86 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 7.502e-05/0.6585, allocations: 93.45 kB / 1.174 GB, free: 11.77 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.432e-05/0.6586, allocations: 39.73 kB / 1.174 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001941/0.6588, allocations: 133.4 kB / 1.174 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.6589, allocations: 318.8 kB / 1.174 GB, free: 11.27 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002484/0.6592, allocations: 119.9 kB / 1.174 GB, free: 11.16 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002795/0.6595, allocations: 174.4 kB / 1.174 GB, free: 10.96 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000362/0.6598, allocations: 279.1 kB / 1.175 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.6598, allocations: 0 / 1.175 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000795/0.6606, allocations: 488.7 kB / 1.175 GB, free: 10.16 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 8.765e-05/0.6607, allocations: 91.3 kB / 1.175 GB, free: 10.06 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.6608, allocations: 4 kB / 1.175 GB, free: 10.06 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/0.6608, allocations: 4 kB / 1.175 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001653/0.661, allocations: 23.92 kB / 1.175 GB, free: 10.03 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.739e-06/0.661, allocations: 4 kB / 1.175 GB, free: 10.03 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004407/0.6614, allocations: 63.98 kB / 1.175 GB, free: 9.965 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.722e-05/0.6615, allocations: 63.97 kB / 1.175 GB, free: 9.902 MB / 0.9044 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.0002121/0.6617, allocations: 197.7 kB / 1.176 GB, free: 9.703 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.699e-05/0.6618, allocations: 39.7 kB / 1.176 GB, free: 9.664 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.44e-05/0.6619, allocations: 35.75 kB / 1.176 GB, free: 9.629 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.919e-06/0.6619, allocations: 11.97 kB / 1.176 GB, free: 9.617 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.6619, allocations: 0 / 1.176 GB, free: 9.617 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.6619, allocations: 0 / 1.176 GB, free: 9.617 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002112/0.664, allocations: 0.7546 MB / 1.176 GB, free: 8.805 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.664, allocations: 0 / 1.176 GB, free: 8.805 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.315e-05/0.6641, allocations: 4 kB / 1.176 GB, free: 8.801 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.6641, allocations: 3.984 kB / 1.176 GB, free: 8.797 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.786e-05/0.6641, allocations: 27.98 kB / 1.176 GB, free: 8.77 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.6641, allocations: 0 / 1.176 GB, free: 8.77 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.6641, allocations: 0 / 1.176 GB, free: 8.77 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001647/0.6658, allocations: 479.4 kB / 1.177 GB, free: 8.285 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002356/0.666, allocations: 204.6 kB / 1.177 GB, free: 8.066 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.827e-05/0.6661, allocations: 15.98 kB / 1.177 GB, free: 8.051 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004373/0.6666, allocations: 27.97 kB / 1.177 GB, free: 8.023 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.396e-05/0.6666, allocations: 7.984 kB / 1.177 GB, free: 8.016 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.677e-05/0.6667, allocations: 55.98 kB / 1.177 GB, free: 7.961 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0002855/0.667, allocations: 295.1 kB / 1.177 GB, free: 7.672 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/0.667, allocations: 4 kB / 1.177 GB, free: 7.668 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000316/0.6673, allocations: 67.98 kB / 1.178 GB, free: 7.602 MB / 0.9044 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.00195/0.6692, allocations: 1.021 MB / 1.179 GB, free: 6.555 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001175/0.6704, allocations: 438.4 kB / 1.179 GB, free: 6.102 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.6704, allocations: 3.938 kB / 1.179 GB, free: 6.098 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0007273/0.6712, allocations: 120.3 kB / 1.179 GB, free: 5.98 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003208/0.6715, allocations: 33.47 kB / 1.179 GB, free: 5.949 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003952/0.6755, allocations: 2.793 MB / 1.182 GB, free: 3.027 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003717/0.6758, allocations: 0.7786 MB / 1.183 GB, free: 2.223 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 5.353e-05/0.6759, allocations: 9.078 kB / 1.183 GB, free: 2.215 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.592e-05/0.676, allocations: 23.42 kB / 1.183 GB, free: 2.191 MB / 0.9044 GB Notification: Performance of SimCode: time 2.21e-07/0.676, allocations: 0 / 1.183 GB, free: 2.191 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.182/1.857, allocations: 6.204 MB / 1.189 GB, free: 11.96 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.33/14.19, allocations: 3.984 kB / 1.189 GB, free: 11.95 MB / 0.92 GB (rm -f Buildings_10_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo Buildings_10_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Time.Examples.CalendarTime.pipe >> ../files/Buildings_10_Buildings.Utilities.Time.Examples.CalendarTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Time.Examples.CalendarTime_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Time_Examples_CalendarTime_fmu --startTime=0 --stopTime=1e+08 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Time_Examples_CalendarTime.fmu > Buildings_10_Buildings.Utilities.Time.Examples.CalendarTime.pipe 2>&1)