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.0006773/0.0006773, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009639/0.001641, allocations: 440 kB / 10.41 MB, free: 284 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.001476/0.001476, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001695/0.003171, allocations: 475.6 kB / 11.79 MB, free: 2.375 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 1.006/1.006, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07732/1.084, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.001415/0.001415, allocations: 238.1 kB / 244.4 MB, free: 14.54 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001293/0.002708, allocations: 471.6 kB / 244.8 MB, free: 14.07 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.758/0.758, allocations: 138.7 MB / 384.3 MB, free: 360 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.071/0.829, allocations: 42.4 MB / 426.7 MB, free: 5.832 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.473e-06/1.473e-06, allocations: 0 / 428 MB, free: 4.523 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.564e-05/1.711e-05, allocations: 2.312 kB / 428 MB, free: 4.52 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Examples.CalendarTime): time 0.001764/0.001781, allocations: 1.608 MB / 429.6 MB, free: 2.895 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008122/0.002593, allocations: 0.5613 MB / 430.2 MB, free: 2.332 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.8e-05/0.002641, allocations: 4 kB / 430.2 MB, free: 2.328 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.695e-05/0.002688, allocations: 7.922 kB / 430.2 MB, free: 2.32 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 8.473e-05/0.002773, allocations: 27.86 kB / 430.2 MB, free: 2.293 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005008/0.003274, allocations: 339.1 kB / 430.6 MB, free: 1.961 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003796/0.003653, allocations: 495.5 kB / 431 MB, free: 1.477 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.406e-05/0.003687, allocations: 7.984 kB / 431.1 MB, free: 1.469 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003322/0.00402, allocations: 371.6 kB / 431.4 MB, free: 1.105 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000194/0.004214, allocations: 135.7 kB / 431.5 MB, free: 0.9727 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.396e-05/0.004267, allocations: 28 kB / 431.6 MB, free: 0.9453 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.884e-05/0.004316, allocations: 24 kB / 431.6 MB, free: 0.9219 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.152e-05/0.004398, allocations: 111.7 kB / 431.7 MB, free: 0.8125 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.735e-05/0.004485, allocations: 95.81 kB / 431.8 MB, free: 0.7188 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002583/0.004743, allocations: 331 kB / 432.1 MB, free: 404 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.788e-06/0.004753, allocations: 0 / 432.1 MB, free: 404 kB / 410.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.004754, allocations: 4 kB / 432.1 MB, free: 400 kB / 410.7 MB Notification: Performance of Transformations before backend: time 1.148e-05/0.004766, allocations: 0 / 432.1 MB, free: 400 kB / 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.1938/0.1986, allocations: 0.8148 MB / 432.9 MB, free: 2.805 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.1986, allocations: 10.31 kB / 433 MB, free: 2.805 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001024/0.1987, allocations: 48.27 kB / 433 MB, free: 2.805 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002298/0.1989, allocations: 231.5 kB / 433.2 MB, free: 2.645 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.749e-05/0.199, allocations: 18.52 kB / 433.2 MB, free: 2.645 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.347e-05/0.199, allocations: 27.55 kB / 433.3 MB, free: 2.645 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000344/0.1994, allocations: 185.1 kB / 433.5 MB, free: 2.598 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.1994, allocations: 1.281 kB / 433.5 MB, free: 2.598 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.838e-05/0.1994, allocations: 5.625 kB / 433.5 MB, free: 2.598 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.1994, allocations: 2.062 kB / 433.5 MB, free: 2.598 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.741e-05/0.1995, allocations: 42.36 kB / 433.5 MB, free: 2.594 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001812/0.1997, allocations: 113.1 kB / 433.6 MB, free: 2.523 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001466/0.1998, allocations: 94.08 kB / 433.7 MB, free: 2.5 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.785e-05/0.1999, allocations: 46.8 kB / 433.7 MB, free: 2.492 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.008e-05/0.1999, allocations: 3.688 kB / 433.8 MB, free: 2.492 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001798/0.2001, allocations: 152.1 kB / 433.9 MB, free: 2.445 MB / 410.7 MB Notification: Performance of pre-optimization done (n=16): time 1.122e-06/0.2001, allocations: 0.6562 kB / 433.9 MB, free: 2.445 MB / 410.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003188/0.2004, allocations: 204.2 kB / 434.1 MB, free: 2.414 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.341e-05/0.2004, allocations: 58.77 kB / 434.2 MB, free: 2.352 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001932/0.2006, allocations: 330.7 kB / 434.5 MB, free: 2.238 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.252e-05/0.2006, allocations: 42.97 kB / 434.5 MB, free: 2.207 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.482e-05/0.2007, allocations: 93.09 kB / 434.6 MB, free: 2.125 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.179e-05/0.2007, allocations: 44.03 kB / 434.7 MB, free: 2.109 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001022/0.2008, allocations: 109.7 kB / 434.8 MB, free: 2.074 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.346e-05/0.2008, allocations: 330 kB / 435.1 MB, free: 1.758 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001431/0.201, allocations: 150.4 kB / 435.2 MB, free: 1.695 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001425/0.2011, allocations: 202.9 kB / 435.4 MB, free: 1.578 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001896/0.2013, allocations: 245.2 kB / 435.7 MB, free: 1.461 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.2013, allocations: 3.531 kB / 435.7 MB, free: 1.461 MB / 410.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000355/0.2017, allocations: 431.3 kB / 436.1 MB, free: 1.305 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.101e-05/0.2017, allocations: 78.84 kB / 436.2 MB, free: 1.242 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.2017, allocations: 1.281 kB / 436.2 MB, free: 1.242 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.2017, allocations: 4.938 kB / 436.2 MB, free: 1.242 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001306/0.2019, allocations: 45.69 kB / 436.2 MB, free: 1.242 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.2019, allocations: 6.672 kB / 436.2 MB, free: 1.242 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001698/0.2021, allocations: 44.84 kB / 436.3 MB, free: 1.238 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.495e-05/0.2021, allocations: 52.12 kB / 436.3 MB, free: 1.234 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.0001029/0.2022, allocations: 144 kB / 436.5 MB, free: 1.113 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.346e-05/0.2023, allocations: 25.48 kB / 436.5 MB, free: 1.113 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.343e-05/0.2023, allocations: 37.28 kB / 436.5 MB, free: 1.102 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.2023, allocations: 2.75 kB / 436.5 MB, free: 1.102 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-06/0.2023, allocations: 1.219 kB / 436.5 MB, free: 1.102 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.157e-06/0.2023, allocations: 3.594 kB / 436.5 MB, free: 1.102 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004376/0.2027, allocations: 379 kB / 436.9 MB, free: 0.9102 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.2027, allocations: 0.6094 kB / 436.9 MB, free: 0.9102 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.992e-05/0.2028, allocations: 10.61 kB / 436.9 MB, free: 0.9102 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001408/0.2029, allocations: 120.6 kB / 437 MB, free: 0.8828 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.2029, allocations: 1.844 kB / 437 MB, free: 0.8828 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.115e-05/0.2029, allocations: 14.97 kB / 437 MB, free: 0.8828 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.2029, allocations: 5.625 kB / 437.1 MB, free: 0.8789 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.2029, allocations: 2.234 kB / 437.1 MB, free: 0.8789 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002143/0.2032, allocations: 239.1 kB / 437.3 MB, free: 0.75 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.17e-05/0.2032, allocations: 10.83 kB / 437.3 MB, free: 0.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000173/0.2034, allocations: 28.55 kB / 437.3 MB, free: 0.75 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.333e-05/0.2034, allocations: 15.62 kB / 437.3 MB, free: 0.7461 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.49e-05/0.2034, allocations: 46.67 kB / 437.4 MB, free: 0.7461 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001174/0.2036, allocations: 142.6 kB / 437.5 MB, free: 0.7266 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2036, allocations: 0 / 437.5 MB, free: 0.7266 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002035/0.2038, allocations: 66.12 kB / 437.6 MB, free: 0.7266 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.989e-05/0.2039, allocations: 101 kB / 437.7 MB, free: 0.6602 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004218/0.2043, allocations: 405.3 kB / 438.1 MB, free: 16.46 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.749e-06/0.2043, allocations: 4.375 kB / 438.1 MB, free: 16.46 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.232e-05/0.2044, allocations: 70.59 kB / 438.2 MB, free: 16.46 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002401/0.2046, allocations: 121.5 kB / 438.3 MB, free: 16.39 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008717/0.2055, allocations: 461.2 kB / 438.7 MB, free: 16.12 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.303e-05/0.2056, allocations: 86.97 kB / 438.8 MB, free: 16.05 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.822e-05/0.2056, allocations: 14 kB / 438.8 MB, free: 16.05 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001726/0.2058, allocations: 115.8 kB / 438.9 MB, free: 16.01 MB / 426.7 MB Notification: Performance of SimCode: time 9.42e-07/0.2058, allocations: 4.219 kB / 438.9 MB, free: 16.01 MB / 426.7 MB Notification: Performance of Templates: time 0.007486/0.2133, allocations: 5.451 MB / 444.4 MB, free: 14.35 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.559941136278212]