Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Time.Examples.CalendarTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Time.Examples.CalendarTime") translateModel(Buildings.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Time.Examples.CalendarTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.009/2.009, allocations: 391.2 MB / 407 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001508/0.001508, allocations: 195.4 kB / 499.1 MB, free: 4.688 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.345/1.345, allocations: 222.9 MB / 0.7948 GB, free: 15.77 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009195/0.0009197, allocations: 107.7 kB / 0.9329 GB, free: 7.09 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001001/0.001001, allocations: 53.56 kB / 1.081 GB, free: 218 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2608/0.2619, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.002689/0.2646, allocations: 1.527 MB / 1.22 GB, free: 115.7 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0009129/0.2656, allocations: 452.1 kB / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.849e-05/0.2656, allocations: 0 / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001117/0.2658, allocations: 3.938 kB / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 9.625e-05/0.2659, allocations: 24.28 kB / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005237/0.2664, allocations: 227.3 kB / 1.22 GB, free: 115 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0002085/0.2666, allocations: 287.9 kB / 1.221 GB, free: 114.8 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 5.106e-05/0.2667, allocations: 8 kB / 1.221 GB, free: 114.8 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002159/0.2669, allocations: 214.3 kB / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001661/0.2671, allocations: 123.6 kB / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 5.454e-05/0.2671, allocations: 8 kB / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 5.437e-05/0.2672, allocations: 12 kB / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 9.761e-05/0.2673, allocations: 75.72 kB / 1.221 GB, free: 114.3 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001245/0.2674, allocations: 119.4 kB / 1.221 GB, free: 114.2 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0002359/0.2677, allocations: 281.1 kB / 1.221 GB, free: 113.9 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.2677, allocations: 0 / 1.221 GB, free: 113.9 MB / 0.823 GB Notification: Performance of FrontEnd: time 7.72e-07/0.2677, allocations: 8 kB / 1.221 GB, free: 113.9 MB / 0.823 GB Notification: Performance of Transformations before backend: time 4.488e-06/0.2677, allocations: 0 / 1.221 GB, free: 113.9 MB / 0.823 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.0009336/0.2686, allocations: 0.6932 MB / 1.222 GB, free: 113.2 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.2687, allocations: 15.97 kB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.868e-05/0.2688, allocations: 31.62 kB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002581/0.269, allocations: 254.3 kB / 1.222 GB, free: 112.8 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.547e-05/0.269, allocations: 19.92 kB / 1.222 GB, free: 112.8 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.959e-05/0.2691, allocations: 20 kB / 1.222 GB, free: 112.8 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002707/0.2694, allocations: 145.5 kB / 1.222 GB, free: 112.6 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.2694, allocations: 7.875 kB / 1.222 GB, free: 112.6 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.123e-05/0.2694, allocations: 7.984 kB / 1.222 GB, free: 112.6 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.2694, allocations: 0 / 1.222 GB, free: 112.6 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001091/0.2696, allocations: 43.98 kB / 1.223 GB, free: 112.6 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000237/0.2698, allocations: 313.4 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002235/0.27, allocations: 130.7 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000105/0.2701, allocations: 60.83 kB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.301e-05/0.2702, allocations: 0 / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003992/0.2706, allocations: 229.3 kB / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of pre-optimization done (n=18): time 1.363e-06/0.2706, allocations: 0 / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of matching and sorting (n=18): time 0.0004636/0.2711, allocations: 269.9 kB / 1.223 GB, free: 111.5 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.596e-05/0.2711, allocations: 63.39 kB / 1.224 GB, free: 111.4 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001874/0.2713, allocations: 290.9 kB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 3.285e-05/0.2713, allocations: 37.7 kB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.618e-05/0.2714, allocations: 89.14 kB / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 3.633e-05/0.2714, allocations: 47.44 kB / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001286/0.2715, allocations: 113.6 kB / 1.224 GB, free: 110.9 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 5.126e-05/0.2716, allocations: 322.8 kB / 1.224 GB, free: 110.5 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001772/0.2718, allocations: 92.17 kB / 1.225 GB, free: 110.4 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001886/0.272, allocations: 153.8 kB / 1.225 GB, free: 110.3 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002305/0.2722, allocations: 246.9 kB / 1.225 GB, free: 110 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.2722, allocations: 0 / 1.225 GB, free: 110 MB / 0.823 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005213/0.2728, allocations: 422.8 kB / 1.225 GB, free: 109.6 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 4.513e-05/0.2728, allocations: 75.39 kB / 1.225 GB, free: 109.5 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.2728, allocations: 0 / 1.225 GB, free: 109.5 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.2728, allocations: 7.938 kB / 1.225 GB, free: 109.5 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001359/0.273, allocations: 27.91 kB / 1.225 GB, free: 109.4 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.273, allocations: 4 kB / 1.225 GB, free: 109.4 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004464/0.2734, allocations: 60.05 kB / 1.225 GB, free: 109.4 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.944e-05/0.2735, allocations: 55.98 kB / 1.226 GB, free: 109.3 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 26 (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,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * 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.0001223/0.2736, allocations: 178.3 kB / 1.226 GB, free: 109.1 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.182e-05/0.2737, allocations: 23.72 kB / 1.226 GB, free: 109.1 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.158e-05/0.2737, allocations: 26.25 kB / 1.226 GB, free: 109.1 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.2737, allocations: 7.938 kB / 1.226 GB, free: 109.1 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.2737, allocations: 0 / 1.226 GB, free: 109.1 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.2738, allocations: 0 / 1.226 GB, free: 109.1 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006014/0.2744, allocations: 0.5657 MB / 1.226 GB, free: 108.5 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.2744, allocations: 3.938 kB / 1.226 GB, free: 108.5 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.888e-05/0.2744, allocations: 11.98 kB / 1.226 GB, free: 108.4 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.2744, allocations: 4 kB / 1.226 GB, free: 108.4 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.165e-05/0.2744, allocations: 7.984 kB / 1.226 GB, free: 108.4 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.225e-06/0.2745, allocations: 4 kB / 1.226 GB, free: 108.4 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.654e-06/0.2745, allocations: 4 kB / 1.226 GB, free: 108.4 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005343/0.275, allocations: 0.9432 MB / 1.227 GB, free: 107.4 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001384/0.2751, allocations: 156.7 kB / 1.227 GB, free: 107.3 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.395e-05/0.2752, allocations: 8 kB / 1.227 GB, free: 107.2 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001772/0.2754, allocations: 7.984 kB / 1.227 GB, free: 107.2 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.234e-05/0.2754, allocations: 19.97 kB / 1.227 GB, free: 107.2 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.142e-05/0.2755, allocations: 27.98 kB / 1.227 GB, free: 107.2 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0001238/0.2756, allocations: 213.9 kB / 1.228 GB, free: 107 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2756, allocations: 4 kB / 1.228 GB, free: 107 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003597/0.276, allocations: 52 kB / 1.228 GB, free: 106.9 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 (calendarTime2016.hourSampleTrigger,calendarTime2016.daySampleTrigger,$whenCondition4,$whenCondition3,$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.firstHourSampling,calendarTime2016.hour,calendarTime2016.yearIndex,calendarTime2016.epochLastMonth,calendarTime2016.month,calendarTime2016.year) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 8 * 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.0001079/0.2761, allocations: 113.8 kB / 1.228 GB, free: 106.8 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0004117/0.2765, allocations: 347.4 kB / 1.228 GB, free: 106.4 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.2765, allocations: 0 / 1.228 GB, free: 106.4 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001144/0.2766, allocations: 71.91 kB / 1.228 GB, free: 106.4 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003016/0.277, allocations: 30.44 kB / 1.228 GB, free: 106.4 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006484/0.2776, allocations: 0.6018 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001499/0.2778, allocations: 0.7535 MB / 1.23 GB, free: 104.9 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001144/0.2779, allocations: 37.42 kB / 1.23 GB, free: 104.9 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001064/0.278, allocations: 39.42 kB / 1.23 GB, free: 104.9 MB / 0.823 GB Notification: Performance of SimCode: time 2e-07/0.278, allocations: 0 / 1.23 GB, free: 104.9 MB / 0.823 GB Notification: Performance of Templates: time 0.005789/0.2838, allocations: 4.157 MB / 1.234 GB, free: 100.7 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Utilities.Time.Examples.CalendarTime.makefile (rm -f Buildings_latest_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Examples.CalendarTime.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Examples.CalendarTime.sim & ./Buildings_latest_Buildings.Utilities.Time.Examples.CalendarTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Time.Examples.CalendarTime.pipe 2>&1)