Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Utilities_Time_Examples_CalendarTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Examples.CalendarTime,fileNamePrefix="Buildings_11_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.001939/0.001939, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00211/0.00211, allocations: 194.4 kB / 16.53 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.317/1.317, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.498/2.498, allocations: 469.8 MB / 0.7424 GB, free: 7.418 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001743/0.001743, allocations: 62.81 kB / 0.9086 GB, free: 34.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2433/0.245, allocations: 159.1 MB / 1.064 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.002312/0.2474, allocations: 1.526 MB / 1.066 GB, free: 12.67 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001053/0.2485, allocations: 0.544 MB / 1.066 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.642e-05/0.2485, allocations: 0 / 1.066 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 6.948e-05/0.2486, allocations: 7.875 kB / 1.066 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.79e-05/0.2487, allocations: 31.84 kB / 1.066 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006171/0.2493, allocations: 305.2 kB / 1.066 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004464/0.2498, allocations: 0.4955 MB / 1.067 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.164e-05/0.2498, allocations: 19.97 kB / 1.067 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002994/0.2501, allocations: 267.6 kB / 1.067 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002068/0.2503, allocations: 131.6 kB / 1.067 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.631e-05/0.2504, allocations: 28 kB / 1.067 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.032e-05/0.2505, allocations: 28 kB / 1.067 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001164/0.2506, allocations: 115.7 kB / 1.067 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001833/0.2508, allocations: 187 kB / 1.068 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003738/0.2512, allocations: 430.9 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.2512, allocations: 4 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.032e-06/0.2512, allocations: 0 / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.2512, allocations: 0 / 1.068 GB, free: 10.11 MB / 0.8262 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.2523, allocations: 0.8587 MB / 1.069 GB, free: 9.156 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 2.792e-05/0.2523, allocations: 8.031 kB / 1.069 GB, free: 9.148 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.74e-05/0.2524, allocations: 42.73 kB / 1.069 GB, free: 9.098 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001038/0.2525, allocations: 52.47 kB / 1.069 GB, free: 9.047 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003307/0.2528, allocations: 314.1 kB / 1.069 GB, free: 8.703 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.132e-05/0.2529, allocations: 24.36 kB / 1.069 GB, free: 8.68 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.217e-05/0.2529, allocations: 32.36 kB / 1.069 GB, free: 8.648 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009129/0.2539, allocations: 207.6 kB / 1.07 GB, free: 8.441 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.415e-06/0.2539, allocations: 3.938 kB / 1.07 GB, free: 8.438 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.356e-05/0.2539, allocations: 0 / 1.07 GB, free: 8.438 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.239e-06/0.2539, allocations: 3.984 kB / 1.07 GB, free: 8.434 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007537/0.2547, allocations: 103.9 kB / 1.07 GB, free: 8.332 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003911/0.2551, allocations: 393.2 kB / 1.07 GB, free: 7.898 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001001/0.2561, allocations: 174.5 kB / 1.07 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007282/0.2568, allocations: 116.7 kB / 1.07 GB, free: 7.602 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.829e-05/0.2568, allocations: 7.984 kB / 1.07 GB, free: 7.594 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008682/0.2577, allocations: 225 kB / 1.071 GB, free: 7.363 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.392e-06/0.2577, allocations: 0 / 1.071 GB, free: 7.363 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.002433/0.2602, allocations: 484.8 kB / 1.071 GB, free: 6.883 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.839e-05/0.2602, allocations: 63.34 kB / 1.071 GB, free: 6.809 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000367/0.2606, allocations: 409.9 kB / 1.071 GB, free: 6.402 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.013e-05/0.2606, allocations: 41.69 kB / 1.071 GB, free: 6.355 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.521e-05/0.2607, allocations: 97.44 kB / 1.072 GB, free: 6.258 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.059e-05/0.2608, allocations: 43.5 kB / 1.072 GB, free: 6.215 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001757/0.261, allocations: 129.3 kB / 1.072 GB, free: 6.082 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.2611, allocations: 322.8 kB / 1.072 GB, free: 5.758 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000248/0.2613, allocations: 119.9 kB / 1.072 GB, free: 5.641 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002787/0.2616, allocations: 170.7 kB / 1.072 GB, free: 5.453 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003533/0.262, allocations: 279.3 kB / 1.073 GB, free: 5.148 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.262, allocations: 0 / 1.073 GB, free: 5.148 MB / 0.8262 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007736/0.2628, allocations: 496.8 kB / 1.073 GB, free: 4.645 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 7.284e-05/0.2628, allocations: 87.31 kB / 1.073 GB, free: 4.547 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.2629, allocations: 0 / 1.073 GB, free: 4.547 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.2629, allocations: 4 kB / 1.073 GB, free: 4.543 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001395/0.263, allocations: 31.91 kB / 1.073 GB, free: 4.512 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.263, allocations: 3.984 kB / 1.073 GB, free: 4.508 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004653/0.2635, allocations: 63.73 kB / 1.073 GB, free: 4.445 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.419e-05/0.2636, allocations: 60.02 kB / 1.073 GB, free: 4.387 MB / 0.8262 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.0001979/0.2638, allocations: 201.7 kB / 1.073 GB, free: 4.18 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.703e-05/0.2638, allocations: 39.47 kB / 1.074 GB, free: 4.141 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.261e-05/0.2639, allocations: 35.75 kB / 1.074 GB, free: 4.102 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.2639, allocations: 0 / 1.074 GB, free: 4.102 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/0.2639, allocations: 4 kB / 1.074 GB, free: 4.098 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.2639, allocations: 3.984 kB / 1.074 GB, free: 4.094 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002043/0.266, allocations: 0.7454 MB / 1.074 GB, free: 3.293 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.266, allocations: 0 / 1.074 GB, free: 3.293 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.126e-05/0.266, allocations: 4 kB / 1.074 GB, free: 3.289 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.266, allocations: 4 kB / 1.074 GB, free: 3.285 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.652e-05/0.2661, allocations: 23.97 kB / 1.074 GB, free: 3.262 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.2661, allocations: 8 kB / 1.074 GB, free: 3.254 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.2661, allocations: 0 / 1.074 GB, free: 3.254 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001673/0.2678, allocations: 480.3 kB / 1.075 GB, free: 2.77 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002352/0.268, allocations: 200.4 kB / 1.075 GB, free: 2.555 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.847e-05/0.2681, allocations: 16 kB / 1.075 GB, free: 2.539 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004296/0.2685, allocations: 27.95 kB / 1.075 GB, free: 2.512 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.851e-05/0.2686, allocations: 15.91 kB / 1.075 GB, free: 2.496 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.281e-05/0.2686, allocations: 59.98 kB / 1.075 GB, free: 2.438 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002802/0.2689, allocations: 295.1 kB / 1.075 GB, free: 2.152 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2689, allocations: 0 / 1.075 GB, free: 2.152 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003003/0.2692, allocations: 67.98 kB / 1.075 GB, free: 2.086 MB / 0.8262 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.002003/0.2712, allocations: 1.023 MB / 1.076 GB, free: 1.031 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.00122/0.2725, allocations: 448.3 kB / 1.077 GB, free: 0.5703 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/0.2725, allocations: 0 / 1.077 GB, free: 0.5703 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0007449/0.2732, allocations: 132.2 kB / 1.077 GB, free: 452 kB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003028/0.2735, allocations: 23.42 kB / 1.077 GB, free: 428 kB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00381/0.2774, allocations: 2.784 MB / 1.08 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003543/0.2777, allocations: 0.7669 MB / 1.08 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 5.12e-05/0.2778, allocations: 17.08 kB / 1.081 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.916e-05/0.2778, allocations: 23.42 kB / 1.081 GB, free: 12.67 MB / 0.8419 GB Notification: Performance of SimCode: time 2.31e-07/0.2778, allocations: 0 / 1.081 GB, free: 12.67 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.714/4.992, allocations: 6.183 MB / 1.087 GB, free: 6.445 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.95/19.94, allocations: 4.062 kB / 1.087 GB, free: 6.441 MB / 0.8419 GB (rm -f Buildings_11_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo Buildings_11_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Time.Examples.CalendarTime.pipe >> ../files/Buildings_11_Buildings.Utilities.Time.Examples.CalendarTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Time.Examples.CalendarTime_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Time_Examples_CalendarTime_fmu --startTime=0 --stopTime=1e+08 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Time_Examples_CalendarTime.fmu > Buildings_11_Buildings.Utilities.Time.Examples.CalendarTime.pipe 2>&1)