Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Time.Examples.CalendarTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001358/0.001358, allocations: 80.75 kB / 19.94 MB, free: 4.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001045/0.001045, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9887/0.9887, allocations: 177.1 MB / 203.8 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.00195/0.00195, allocations: 242.3 kB / 260.5 MB, free: 12.7 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.8531/0.8531, allocations: 138.4 MB / 402.2 MB, free: 0.5703 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Examples.CalendarTime") translateModel(BuildingSystems.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Examples.CalendarTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 462.3 MB, free: 0.9336 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.14e-05/1.284e-05, allocations: 3.406 kB / 462.3 MB, free: 0.9297 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Examples.CalendarTime): time 0.002037/0.00205, allocations: 1.607 MB / 463.9 MB, free: 15.9 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001105/0.003155, allocations: 0.5483 MB / 464.5 MB, free: 15.54 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.249e-05/0.003218, allocations: 1.062 kB / 464.5 MB, free: 15.54 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 9.613e-05/0.003314, allocations: 6.75 kB / 464.5 MB, free: 15.54 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001388/0.003453, allocations: 23.72 kB / 464.5 MB, free: 15.54 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008724/0.004325, allocations: 331.6 kB / 464.8 MB, free: 15.37 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006896/0.005015, allocations: 490.9 kB / 465.3 MB, free: 15.18 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.264e-05/0.005067, allocations: 10.38 kB / 465.3 MB, free: 15.18 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006186/0.005686, allocations: 357.2 kB / 465.7 MB, free: 15.04 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002976/0.005984, allocations: 134.3 kB / 465.8 MB, free: 15 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 6.087e-05/0.006044, allocations: 26.44 kB / 465.8 MB, free: 15 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.664e-05/0.006091, allocations: 27.5 kB / 465.8 MB, free: 15 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001931/0.006284, allocations: 118.6 kB / 466 MB, free: 14.96 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001361/0.00642, allocations: 133.2 kB / 466.1 MB, free: 14.89 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003654/0.006786, allocations: 373.4 kB / 466.5 MB, free: 14.55 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.006788, allocations: 0.5625 kB / 466.5 MB, free: 14.55 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.006789, allocations: 0 / 466.5 MB, free: 14.55 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.006794, allocations: 0.5625 kB / 466.5 MB, free: 14.55 MB / 426.7 MB 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.0008243/0.007618, allocations: 0.7434 MB / 467.2 MB, free: 13.75 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.007655, allocations: 8.75 kB / 467.2 MB, free: 13.75 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.81e-05/0.007733, allocations: 48.88 kB / 467.3 MB, free: 13.7 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002386/0.007971, allocations: 240.7 kB / 467.5 MB, free: 13.45 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.243e-05/0.008004, allocations: 16.36 kB / 467.5 MB, free: 13.43 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.625e-05/0.00805, allocations: 37.34 kB / 467.5 MB, free: 13.39 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003261/0.008376, allocations: 180 kB / 467.7 MB, free: 13.22 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.008388, allocations: 1.188 kB / 467.7 MB, free: 13.22 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.926e-05/0.008407, allocations: 6.422 kB / 467.7 MB, free: 13.21 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.008415, allocations: 4.375 kB / 467.7 MB, free: 13.21 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.577e-05/0.008491, allocations: 48.89 kB / 467.8 MB, free: 13.17 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001741/0.008665, allocations: 108.9 kB / 467.9 MB, free: 13.05 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001514/0.008816, allocations: 94.58 kB / 468 MB, free: 12.96 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.828e-05/0.008894, allocations: 47.33 kB / 468 MB, free: 12.91 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.638e-05/0.008911, allocations: 4 kB / 468 MB, free: 12.91 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001597/0.00907, allocations: 153.6 kB / 468.2 MB, free: 12.75 MB / 426.7 MB Notification: Performance of pre-optimization done (n=16): time 1.143e-06/0.009072, allocations: 0 / 468.2 MB, free: 12.75 MB / 426.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003078/0.009379, allocations: 202.7 kB / 468.4 MB, free: 12.57 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.211e-05/0.009412, allocations: 63.41 kB / 468.4 MB, free: 12.49 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001932/0.009605, allocations: 332.6 kB / 468.8 MB, free: 12.16 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.569e-05/0.00964, allocations: 41.69 kB / 468.8 MB, free: 12.11 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.068e-05/0.009681, allocations: 89.45 kB / 468.9 MB, free: 12.02 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.918e-05/0.00972, allocations: 43.7 kB / 468.9 MB, free: 11.98 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001098/0.00983, allocations: 106.2 kB / 469 MB, free: 11.87 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.105e-05/0.009911, allocations: 330.7 kB / 469.4 MB, free: 11.54 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001484/0.01006, allocations: 164.4 kB / 469.5 MB, free: 11.36 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001493/0.01021, allocations: 206.5 kB / 469.7 MB, free: 11.13 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001851/0.01039, allocations: 255 kB / 470 MB, free: 10.85 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.0104, allocations: 1.906 kB / 470 MB, free: 10.85 MB / 426.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003489/0.01075, allocations: 432.5 kB / 470.4 MB, free: 10.4 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.645e-05/0.0108, allocations: 87.38 kB / 470.5 MB, free: 10.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.01081, allocations: 0.625 kB / 470.5 MB, free: 10.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.01082, allocations: 7.719 kB / 470.5 MB, free: 10.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001139/0.01093, allocations: 37.78 kB / 470.5 MB, free: 10.26 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.01094, allocations: 4 kB / 470.5 MB, free: 10.26 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001583/0.0111, allocations: 47.86 kB / 470.6 MB, free: 10.21 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.186e-05/0.01115, allocations: 55.91 kB / 470.6 MB, free: 10.16 MB / 426.7 MB 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.000111/0.01126, allocations: 141.8 kB / 470.8 MB, free: 10.01 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.795e-05/0.0113, allocations: 31.95 kB / 470.8 MB, free: 9.98 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.054e-05/0.01134, allocations: 31.69 kB / 470.8 MB, free: 9.949 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.01134, allocations: 1.25 kB / 470.8 MB, free: 9.949 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/0.01134, allocations: 1.406 kB / 470.8 MB, free: 9.949 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.01135, allocations: 0 / 470.8 MB, free: 9.949 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004886/0.01183, allocations: 383.9 kB / 471.2 MB, free: 9.555 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.01184, allocations: 1.438 kB / 471.2 MB, free: 9.555 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.535e-05/0.01186, allocations: 4.969 kB / 471.2 MB, free: 9.551 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-06/0.01187, allocations: 3.984 kB / 471.2 MB, free: 9.547 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.952e-05/0.01189, allocations: 11.98 kB / 471.2 MB, free: 9.535 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.01189, allocations: 5.688 kB / 471.2 MB, free: 9.531 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.01189, allocations: 0.75 kB / 471.2 MB, free: 9.531 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002263/0.01211, allocations: 242.9 kB / 471.5 MB, free: 9.289 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001304/0.01224, allocations: 124 kB / 471.6 MB, free: 9.172 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.467e-05/0.01229, allocations: 17.38 kB / 471.6 MB, free: 9.156 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001737/0.01246, allocations: 28.53 kB / 471.6 MB, free: 9.129 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.086e-05/0.0125, allocations: 15.92 kB / 471.7 MB, free: 9.113 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.259e-05/0.01255, allocations: 50.22 kB / 471.7 MB, free: 9.066 MB / 426.7 MB Notification: Performance of sorting global known variables: time 9.402e-05/0.01264, allocations: 136.7 kB / 471.8 MB, free: 8.93 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01264, allocations: 0 / 471.8 MB, free: 8.93 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001994/0.01284, allocations: 63.98 kB / 471.9 MB, free: 8.867 MB / 426.7 MB 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.0001035/0.01294, allocations: 107.9 kB / 472 MB, free: 8.762 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004052/0.01335, allocations: 401.8 kB / 472.4 MB, free: 8.336 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.01335, allocations: 5.5 kB / 472.4 MB, free: 8.332 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.918e-05/0.01344, allocations: 65.05 kB / 472.5 MB, free: 8.27 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002093/0.01365, allocations: 40.8 kB / 472.5 MB, free: 8.234 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007415/0.01439, allocations: 460.4 kB / 473 MB, free: 7.758 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.739e-05/0.01448, allocations: 88.64 kB / 473 MB, free: 7.652 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.907e-05/0.01454, allocations: 11.41 kB / 473.1 MB, free: 7.645 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002663/0.01481, allocations: 126.5 kB / 473.2 MB, free: 7.527 MB / 426.7 MB Notification: Performance of SimCode: time 1.011e-06/0.01481, allocations: 0 / 473.2 MB, free: 7.527 MB / 426.7 MB Notification: Performance of Templates: time 0.007104/0.02191, allocations: 5.428 MB / 478.6 MB, free: 2.348 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Time.Examples.CalendarTime.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Time.Examples.CalendarTime.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Time.Examples.CalendarTime.sim & ./BuildingSystems_BuildingSystems.Utilities.Time.Examples.CalendarTime -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Time.Examples.CalendarTime.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8106872872449458]