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.0009518/0.0009518, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001324/0.002276, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001022/0.001022, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001263/0.002286, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9772/0.9772, allocations: 177.1 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08697/1.064, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001662/0.001662, allocations: 241.3 kB / 244.2 MB, free: 14.64 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001282/0.002943, allocations: 470.9 kB / 244.7 MB, free: 14.18 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7147/0.7147, allocations: 138.7 MB / 384.1 MB, free: 500 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06824/0.783, allocations: 42.4 MB / 426.5 MB, free: 5.945 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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.153e-06/1.153e-06, allocations: 0 / 427.7 MB, free: 4.672 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.122e-05/1.238e-05, allocations: 2.312 kB / 427.8 MB, free: 4.668 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Examples.CalendarTime): time 0.002123/0.002136, allocations: 1.608 MB / 429.4 MB, free: 3.047 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009469/0.003083, allocations: 0.5575 MB / 429.9 MB, free: 2.488 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.568e-05/0.003128, allocations: 0 / 429.9 MB, free: 2.488 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.269e-05/0.003181, allocations: 15.86 kB / 429.9 MB, free: 2.473 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005101/0.008282, allocations: 23.86 kB / 430 MB, free: 2.449 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006508/0.008932, allocations: 331.1 kB / 430.3 MB, free: 2.125 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004903/0.009423, allocations: 491.5 kB / 430.8 MB, free: 1.645 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.115e-05/0.009454, allocations: 4 kB / 430.8 MB, free: 1.641 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004198/0.009874, allocations: 383.6 kB / 431.1 MB, free: 1.266 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002275/0.0101, allocations: 131.8 kB / 431.3 MB, free: 1.137 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.967e-05/0.01016, allocations: 24 kB / 431.3 MB, free: 1.113 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.8e-05/0.01022, allocations: 28 kB / 431.3 MB, free: 1.086 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.852e-05/0.01032, allocations: 107.7 kB / 431.4 MB, free: 0.9805 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001228/0.01044, allocations: 99.8 kB / 431.5 MB, free: 0.8828 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000316/0.01076, allocations: 334.9 kB / 431.8 MB, free: 0.5547 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.288e-05/0.01077, allocations: 0 / 431.8 MB, free: 0.5547 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.01077, allocations: 0 / 431.8 MB, free: 0.5547 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.606e-05/0.01079, allocations: 0 / 431.8 MB, free: 0.5547 MB / 410.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.186/0.1968, allocations: 0.8203 MB / 432.7 MB, free: 3.102 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.1969, allocations: 9.938 kB / 432.7 MB, free: 3.102 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.41e-05/0.197, allocations: 46.17 kB / 432.7 MB, free: 3.102 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002451/0.1972, allocations: 232.3 kB / 432.9 MB, free: 2.941 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.748e-05/0.1972, allocations: 17.48 kB / 433 MB, free: 2.941 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.958e-05/0.1973, allocations: 27.69 kB / 433 MB, free: 2.941 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003525/0.1976, allocations: 183.3 kB / 433.2 MB, free: 2.895 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.557e-06/0.1976, allocations: 3 kB / 433.2 MB, free: 2.895 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.83e-05/0.1977, allocations: 5.375 kB / 433.2 MB, free: 2.895 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.1977, allocations: 3.656 kB / 433.2 MB, free: 2.895 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.997e-05/0.1977, allocations: 40.03 kB / 433.2 MB, free: 2.891 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001706/0.1979, allocations: 113.9 kB / 433.3 MB, free: 2.82 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001551/0.1981, allocations: 90.97 kB / 433.4 MB, free: 2.797 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.658e-05/0.1981, allocations: 48.23 kB / 433.5 MB, free: 2.789 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.239e-05/0.1982, allocations: 4.156 kB / 433.5 MB, free: 2.789 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001951/0.1984, allocations: 148.3 kB / 433.6 MB, free: 2.742 MB / 410.7 MB Notification: Performance of pre-optimization done (n=16): time 1.372e-06/0.1984, allocations: 1.688 kB / 433.6 MB, free: 2.742 MB / 410.7 MB Notification: Performance of matching and sorting (n=16): time 0.000343/0.1987, allocations: 206 kB / 433.8 MB, free: 2.711 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.873e-05/0.1987, allocations: 59.56 kB / 433.9 MB, free: 2.648 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001868/0.1989, allocations: 329.6 kB / 434.2 MB, free: 2.535 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.41e-05/0.199, allocations: 44.3 kB / 434.2 MB, free: 2.504 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.276e-05/0.199, allocations: 91.06 kB / 434.3 MB, free: 2.422 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.329e-05/0.199, allocations: 44.75 kB / 434.4 MB, free: 2.402 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001086/0.1991, allocations: 111.6 kB / 434.5 MB, free: 2.367 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.969e-05/0.1992, allocations: 327.1 kB / 434.8 MB, free: 2.051 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001508/0.1993, allocations: 157 kB / 435 MB, free: 1.988 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000135/0.1995, allocations: 201.6 kB / 435.2 MB, free: 1.871 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001808/0.1996, allocations: 247.8 kB / 435.4 MB, free: 1.754 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.1996, allocations: 0.5938 kB / 435.4 MB, free: 1.754 MB / 410.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003519/0.2, allocations: 431.8 kB / 435.8 MB, free: 1.598 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.312e-05/0.2, allocations: 78.03 kB / 435.9 MB, free: 1.535 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.2001, allocations: 2.094 kB / 435.9 MB, free: 1.535 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.2001, allocations: 3.594 kB / 435.9 MB, free: 1.535 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001426/0.2002, allocations: 47.02 kB / 435.9 MB, free: 1.535 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.2002, allocations: 2.438 kB / 436 MB, free: 1.535 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001767/0.2004, allocations: 47.47 kB / 436 MB, free: 1.527 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.778e-05/0.2005, allocations: 53.95 kB / 436 MB, free: 1.523 MB / 410.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.0001096/0.2006, allocations: 143.5 kB / 436.2 MB, free: 1.402 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.459e-05/0.2006, allocations: 25.34 kB / 436.2 MB, free: 1.402 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.984e-05/0.2007, allocations: 36.89 kB / 436.3 MB, free: 1.391 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.2007, allocations: 3.281 kB / 436.3 MB, free: 1.391 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.2007, allocations: 0.5625 kB / 436.3 MB, free: 1.391 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.2007, allocations: 2.812 kB / 436.3 MB, free: 1.391 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004494/0.2011, allocations: 378.8 kB / 436.6 MB, free: 1.195 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.2011, allocations: 1.438 kB / 436.6 MB, free: 1.195 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.758e-05/0.2011, allocations: 9.672 kB / 436.6 MB, free: 1.195 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001505/0.2013, allocations: 119.1 kB / 436.8 MB, free: 1.168 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.2013, allocations: 1.859 kB / 436.8 MB, free: 1.168 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.681e-05/0.2013, allocations: 11.11 kB / 436.8 MB, free: 1.168 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.2013, allocations: 6.328 kB / 436.8 MB, free: 1.164 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.2013, allocations: 0 / 436.8 MB, free: 1.164 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002352/0.2016, allocations: 245.9 kB / 437 MB, free: 1.031 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.738e-05/0.2016, allocations: 13.16 kB / 437 MB, free: 1.031 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001745/0.2018, allocations: 34 kB / 437.1 MB, free: 1.031 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.346e-05/0.2018, allocations: 15.05 kB / 437.1 MB, free: 1.027 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.497e-05/0.2019, allocations: 49.52 kB / 437.1 MB, free: 1.027 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000108/0.202, allocations: 135.5 kB / 437.3 MB, free: 1.008 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.202, allocations: 0 / 437.3 MB, free: 1.008 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002071/0.2022, allocations: 66.78 kB / 437.3 MB, free: 1.008 MB / 410.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 9.68e-05/0.2023, allocations: 98.39 kB / 437.4 MB, free: 0.9414 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003751/0.2026, allocations: 396.2 kB / 437.8 MB, free: 0.7461 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.847e-06/0.2027, allocations: 5.906 kB / 437.8 MB, free: 0.7461 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.46e-05/0.2027, allocations: 66.02 kB / 437.9 MB, free: 0.7383 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002093/0.2029, allocations: 67.62 kB / 437.9 MB, free: 0.7383 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008916/0.2038, allocations: 463.9 kB / 438.4 MB, free: 472 kB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.876e-05/0.2039, allocations: 85.83 kB / 438.5 MB, free: 400 kB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.969e-05/0.2039, allocations: 13.42 kB / 438.5 MB, free: 400 kB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001812/0.2041, allocations: 121.1 kB / 438.6 MB, free: 356 kB / 410.7 MB Notification: Performance of SimCode: time 6.81e-07/0.2041, allocations: 0 / 438.6 MB, free: 356 kB / 410.7 MB Notification: Performance of Templates: time 0.007074/0.2112, allocations: 5.5 MB / 444.1 MB, free: 14.77 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Time.Examples.CalendarTime.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.500824992544949]