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.001373/0.001373, allocations: 80.88 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.00177/0.00177, 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 1.009/1.009, allocations: 177.2 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.002576/0.002576, allocations: 247.4 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.7503/0.7503, allocations: 138.4 MB / 402.2 MB, free: 0.5664 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.112e-06/1.112e-06, allocations: 0 / 462.3 MB, free: 0.9062 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.133e-05/1.244e-05, allocations: 6.875 kB / 462.3 MB, free: 0.8984 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Examples.CalendarTime): time 0.001945/0.001958, allocations: 1.558 MB / 463.8 MB, free: 15.89 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001033/0.002991, allocations: 0.5384 MB / 464.4 MB, free: 15.54 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.522e-05/0.003056, allocations: 1.25 kB / 464.4 MB, free: 15.54 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 9.373e-05/0.00315, allocations: 10.92 kB / 464.4 MB, free: 15.54 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001009/0.003251, allocations: 32.56 kB / 464.4 MB, free: 15.53 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007605/0.004011, allocations: 325.8 kB / 464.7 MB, free: 15.36 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004719/0.004483, allocations: 486.4 kB / 465.2 MB, free: 15.18 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.662e-05/0.00452, allocations: 12.03 kB / 465.2 MB, free: 15.17 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004146/0.004935, allocations: 358.2 kB / 465.6 MB, free: 15.04 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002736/0.005208, allocations: 135 kB / 465.7 MB, free: 15 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 6.14e-05/0.00527, allocations: 26.66 kB / 465.7 MB, free: 15 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.848e-05/0.005328, allocations: 28.09 kB / 465.8 MB, free: 15 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001172/0.005445, allocations: 119.5 kB / 465.9 MB, free: 14.95 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001286/0.005574, allocations: 130.4 kB / 466 MB, free: 14.89 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003599/0.005934, allocations: 383.7 kB / 466.4 MB, free: 14.62 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.265e-06/0.005936, allocations: 0 / 466.4 MB, free: 14.62 MB / 426.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.005937, allocations: 1.406 kB / 466.4 MB, free: 14.62 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.005941, allocations: 0 / 466.4 MB, free: 14.62 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.0007487/0.00669, allocations: 0.7391 MB / 467.1 MB, free: 13.82 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.827e-05/0.006718, allocations: 8.75 kB / 467.1 MB, free: 13.81 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.679e-05/0.006795, allocations: 50.81 kB / 467.2 MB, free: 13.77 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002326/0.007027, allocations: 237.6 kB / 467.4 MB, free: 13.52 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.291e-05/0.00706, allocations: 20.36 kB / 467.4 MB, free: 13.5 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.964e-05/0.00711, allocations: 28.36 kB / 467.4 MB, free: 13.47 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000307/0.007417, allocations: 187.2 kB / 467.6 MB, free: 13.29 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.007424, allocations: 5.031 kB / 467.6 MB, free: 13.29 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.693e-05/0.007441, allocations: 4.375 kB / 467.6 MB, free: 13.28 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.007446, allocations: 1.875 kB / 467.6 MB, free: 13.28 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.017e-05/0.007517, allocations: 39.55 kB / 467.7 MB, free: 13.25 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001775/0.007694, allocations: 117.8 kB / 467.8 MB, free: 13.12 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001426/0.007837, allocations: 86.41 kB / 467.9 MB, free: 13.03 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.951e-05/0.007906, allocations: 47.41 kB / 467.9 MB, free: 12.99 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.5e-05/0.007921, allocations: 8.453 kB / 467.9 MB, free: 12.98 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001513/0.008072, allocations: 152.5 kB / 468.1 MB, free: 12.82 MB / 426.7 MB Notification: Performance of pre-optimization done (n=16): time 1.112e-06/0.008074, allocations: 0 / 468.1 MB, free: 12.82 MB / 426.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003042/0.008378, allocations: 204.5 kB / 468.3 MB, free: 12.63 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.549e-05/0.008413, allocations: 59.84 kB / 468.3 MB, free: 12.56 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002072/0.008621, allocations: 332 kB / 468.7 MB, free: 12.23 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.637e-05/0.008657, allocations: 41.69 kB / 468.7 MB, free: 12.18 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.909e-05/0.008706, allocations: 103.3 kB / 468.8 MB, free: 12.08 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.322e-05/0.008739, allocations: 31.73 kB / 468.8 MB, free: 12.05 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001204/0.00886, allocations: 117.4 kB / 469 MB, free: 11.93 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.922e-05/0.008959, allocations: 334.7 kB / 469.3 MB, free: 11.59 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000156/0.009115, allocations: 151.3 kB / 469.4 MB, free: 11.43 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001729/0.009288, allocations: 211.8 kB / 469.6 MB, free: 11.19 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002097/0.009497, allocations: 251 kB / 469.9 MB, free: 10.92 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.0095, allocations: 0 / 469.9 MB, free: 10.92 MB / 426.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004017/0.009902, allocations: 430.8 kB / 470.3 MB, free: 10.47 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.127e-05/0.009963, allocations: 79.38 kB / 470.4 MB, free: 10.38 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.00997, allocations: 5.188 kB / 470.4 MB, free: 10.38 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.009985, allocations: 0.8438 kB / 470.4 MB, free: 10.38 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001153/0.0101, allocations: 39.91 kB / 470.4 MB, free: 10.34 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.01011, allocations: 5.281 kB / 470.4 MB, free: 10.33 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000169/0.01028, allocations: 43.86 kB / 470.5 MB, free: 10.29 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.354e-05/0.01033, allocations: 56.58 kB / 470.5 MB, free: 10.23 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.0001353/0.01046, allocations: 149.8 kB / 470.7 MB, free: 10.09 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.783e-05/0.01051, allocations: 23.97 kB / 470.7 MB, free: 10.06 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.956e-05/0.01056, allocations: 39.67 kB / 470.7 MB, free: 10.02 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.01056, allocations: 0 / 470.7 MB, free: 10.02 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.01057, allocations: 0.5 kB / 470.7 MB, free: 10.02 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.01057, allocations: 0.9062 kB / 470.7 MB, free: 10.02 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004702/0.01104, allocations: 387.9 kB / 471.1 MB, free: 9.629 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.01104, allocations: 3.938 kB / 471.1 MB, free: 9.625 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.461e-05/0.01107, allocations: 4 kB / 471.1 MB, free: 9.621 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.01107, allocations: 0 / 471.1 MB, free: 9.621 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.957e-05/0.01109, allocations: 11.97 kB / 471.1 MB, free: 9.609 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.01109, allocations: 0.8125 kB / 471.1 MB, free: 9.609 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.01109, allocations: 0.5 kB / 471.1 MB, free: 9.609 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002338/0.01133, allocations: 250.7 kB / 471.4 MB, free: 9.359 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001625/0.01149, allocations: 119.5 kB / 471.5 MB, free: 9.246 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.838e-05/0.01154, allocations: 8 kB / 471.5 MB, free: 9.238 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001788/0.01172, allocations: 39.31 kB / 471.5 MB, free: 9.203 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.482e-05/0.01174, allocations: 11.92 kB / 471.6 MB, free: 9.191 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.839e-05/0.01178, allocations: 44.72 kB / 471.6 MB, free: 9.148 MB / 426.7 MB Notification: Performance of sorting global known variables: time 9.553e-05/0.01188, allocations: 141.3 kB / 471.7 MB, free: 9.008 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01188, allocations: 0.9688 kB / 471.7 MB, free: 9.008 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002039/0.01208, allocations: 67.98 kB / 471.8 MB, free: 8.941 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.0001061/0.01219, allocations: 108.1 kB / 471.9 MB, free: 8.832 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003927/0.01258, allocations: 397.3 kB / 472.3 MB, free: 8.414 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.251e-06/0.01259, allocations: 4 kB / 472.3 MB, free: 8.41 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.595e-05/0.01267, allocations: 70.17 kB / 472.4 MB, free: 8.344 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001838/0.01286, allocations: 39.8 kB / 472.4 MB, free: 8.309 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005971/0.01345, allocations: 466.1 kB / 472.9 MB, free: 7.828 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.682e-05/0.0135, allocations: 83.81 kB / 472.9 MB, free: 7.727 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.704e-05/0.01354, allocations: 15.11 kB / 473 MB, free: 7.715 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001607/0.0137, allocations: 114.9 kB / 473.1 MB, free: 7.609 MB / 426.7 MB Notification: Performance of SimCode: time 1.172e-06/0.0137, allocations: 1.594 kB / 473.1 MB, free: 7.609 MB / 426.7 MB Notification: Performance of Templates: time 0.006109/0.01981, allocations: 5.433 MB / 478.5 MB, free: 2.426 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.7114517111331224]