Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.00202/0.00202, allocations: 104.3 kB / 19.72 MB, free: 420 kB / 13.93 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.001977/0.001977, allocations: 216 kB / 23.02 MB, free: 2.957 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.709/1.709, allocations: 230.6 MB / 256.8 MB, free: 9.57 MB / 202.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 3.304/3.304, allocations: 0.5045 GB / 0.8104 GB, free: 2.77 MB / 0.6511 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Time.Examples.CalendarTime") translateModel(Buildings.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Time.Examples.CalendarTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.007759/0.007759, allocations: 71.88 kB / 1.177 GB, free: 11.49 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8838/0.8915, allocations: 180 MB / 1.353 GB, free: 1.641 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.002929/0.8944, allocations: 1.534 MB / 1.354 GB, free: 96 kB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.001343/0.8958, allocations: 0.5227 MB / 1.355 GB, free: 15.57 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.135e-05/0.8958, allocations: 0 / 1.355 GB, free: 15.57 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 9.149e-05/0.8959, allocations: 11.86 kB / 1.355 GB, free: 15.56 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001098/0.896, allocations: 31.84 kB / 1.355 GB, free: 15.53 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009804/0.897, allocations: 313 kB / 1.355 GB, free: 15.22 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0005917/0.8976, allocations: 487.4 kB / 1.356 GB, free: 14.75 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.316e-05/0.8976, allocations: 4 kB / 1.356 GB, free: 14.74 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004254/0.8981, allocations: 283.6 kB / 1.356 GB, free: 14.46 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003043/0.8984, allocations: 135.6 kB / 1.356 GB, free: 14.33 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001174/0.8985, allocations: 28 kB / 1.356 GB, free: 14.3 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001033/0.8986, allocations: 24 kB / 1.356 GB, free: 14.28 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001364/0.8987, allocations: 115.6 kB / 1.356 GB, free: 14.17 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001959/0.8989, allocations: 159.3 kB / 1.356 GB, free: 14.01 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0005125/0.8994, allocations: 433.2 kB / 1.357 GB, free: 13.59 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/0.8994, allocations: 4 kB / 1.357 GB, free: 13.59 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.052e-06/0.8994, allocations: 0 / 1.357 GB, free: 13.59 MB / 1.042 GB Notification: Performance of Transformations before backend: time 7.084e-06/0.8995, allocations: 0 / 1.357 GB, free: 13.59 MB / 1.042 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.001332/0.9008, allocations: 0.7872 MB / 1.358 GB, free: 12.73 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/0.9008, allocations: 8.922 kB / 1.358 GB, free: 12.72 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001289/0.901, allocations: 52.7 kB / 1.358 GB, free: 12.67 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000428/0.9014, allocations: 272.7 kB / 1.358 GB, free: 12.38 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.125e-05/0.9014, allocations: 12.38 kB / 1.358 GB, free: 12.37 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.138e-05/0.9015, allocations: 28.36 kB / 1.358 GB, free: 12.34 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001011/0.9025, allocations: 218.4 kB / 1.358 GB, free: 12.12 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.9025, allocations: 192 / 1.358 GB, free: 12.12 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.686e-05/0.9026, allocations: 3.938 kB / 1.358 GB, free: 12.12 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.9026, allocations: 4 kB / 1.358 GB, free: 12.12 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007659/0.9033, allocations: 97.05 kB / 1.358 GB, free: 12.02 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004373/0.9038, allocations: 289.1 kB / 1.359 GB, free: 11.71 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001083/0.9049, allocations: 158.5 kB / 1.359 GB, free: 11.55 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007645/0.9056, allocations: 108.7 kB / 1.359 GB, free: 11.44 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.917e-05/0.9056, allocations: 4 kB / 1.359 GB, free: 11.43 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009535/0.9066, allocations: 225.3 kB / 1.359 GB, free: 11.2 MB / 1.042 GB Notification: Performance of pre-optimization done (n=16): time 1.703e-06/0.9066, allocations: 0 / 1.359 GB, free: 11.2 MB / 1.042 GB Notification: Performance of matching and sorting (n=16): time 0.002659/0.9093, allocations: 493 kB / 1.359 GB, free: 10.71 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.663e-05/0.9093, allocations: 59.41 kB / 1.36 GB, free: 10.64 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005081/0.9098, allocations: 409.9 kB / 1.36 GB, free: 10.23 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 6.804e-05/0.9099, allocations: 41.69 kB / 1.36 GB, free: 10.18 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 9.355e-05/0.91, allocations: 101.4 kB / 1.36 GB, free: 10.08 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 5.809e-05/0.9101, allocations: 47.66 kB / 1.36 GB, free: 10.03 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002204/0.9103, allocations: 129.4 kB / 1.36 GB, free: 9.898 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0001792/0.9105, allocations: 322.8 kB / 1.361 GB, free: 9.574 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003411/0.9108, allocations: 187.3 kB / 1.361 GB, free: 9.379 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000377/0.9112, allocations: 245.8 kB / 1.361 GB, free: 9.105 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004181/0.9116, allocations: 267 kB / 1.361 GB, free: 8.812 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.9116, allocations: 3.938 kB / 1.361 GB, free: 8.809 MB / 1.042 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009705/0.9126, allocations: 0.5483 MB / 1.362 GB, free: 8.23 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 9.66e-05/0.9127, allocations: 85.72 kB / 1.362 GB, free: 8.137 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.9127, allocations: 0 / 1.362 GB, free: 8.137 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.63e-05/0.9127, allocations: 16.11 kB / 1.362 GB, free: 8.121 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000177/0.9129, allocations: 19.92 kB / 1.362 GB, free: 8.102 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.139e-05/0.9129, allocations: 4 kB / 1.362 GB, free: 8.098 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004945/0.9134, allocations: 59.84 kB / 1.362 GB, free: 8.039 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003436/0.9137, allocations: 59.98 kB / 1.362 GB, free: 7.98 MB / 1.042 GB 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.0002594/0.914, allocations: 198.2 kB / 1.362 GB, free: 7.781 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.673e-05/0.914, allocations: 39.77 kB / 1.362 GB, free: 7.742 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.505e-05/0.9141, allocations: 47.62 kB / 1.362 GB, free: 7.699 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.9141, allocations: 0 / 1.362 GB, free: 7.699 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.9141, allocations: 0 / 1.362 GB, free: 7.699 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.9141, allocations: 7.922 kB / 1.362 GB, free: 7.691 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00226/0.9164, allocations: 0.6805 MB / 1.363 GB, free: 6.973 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.644e-06/0.9164, allocations: 7.938 kB / 1.363 GB, free: 6.965 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.544e-05/0.9164, allocations: 4 kB / 1.363 GB, free: 6.961 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.9164, allocations: 0 / 1.363 GB, free: 6.961 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.891e-05/0.9165, allocations: 19.97 kB / 1.363 GB, free: 6.941 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.9165, allocations: 0 / 1.363 GB, free: 6.941 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.9165, allocations: 0 / 1.363 GB, free: 6.941 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001774/0.9183, allocations: 483.5 kB / 1.363 GB, free: 6.453 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002804/0.9185, allocations: 137.8 kB / 1.364 GB, free: 6.32 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.39e-05/0.9186, allocations: 12 kB / 1.364 GB, free: 6.309 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004537/0.9191, allocations: 27.97 kB / 1.364 GB, free: 6.281 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.618e-05/0.9191, allocations: 15.92 kB / 1.364 GB, free: 6.266 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.407e-05/0.9192, allocations: 59.91 kB / 1.364 GB, free: 6.207 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.0003905/0.9196, allocations: 295.1 kB / 1.364 GB, free: 5.918 MB / 1.042 GB Notification: Performance of sort global known variables: time 1e-07/0.9196, allocations: 4 kB / 1.364 GB, free: 5.914 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0003885/0.92, allocations: 63.98 kB / 1.364 GB, free: 5.852 MB / 1.042 GB 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.0001986/0.9202, allocations: 125 kB / 1.364 GB, free: 5.719 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.001412/0.9216, allocations: 473.8 kB / 1.365 GB, free: 5.219 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.9216, allocations: 384 / 1.365 GB, free: 5.219 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.0007826/0.9224, allocations: 111.9 kB / 1.365 GB, free: 5.109 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003979/0.9228, allocations: 28.25 kB / 1.365 GB, free: 5.082 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001813/0.9246, allocations: 0.5548 MB / 1.365 GB, free: 4.5 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002267/0.9248, allocations: 163 kB / 1.365 GB, free: 4.32 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 8.436e-05/0.9249, allocations: 13.09 kB / 1.365 GB, free: 4.309 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.281e-05/0.925, allocations: 19.42 kB / 1.365 GB, free: 4.289 MB / 1.042 GB Notification: Performance of SimCode: time 1.223e-06/0.925, allocations: 0 / 1.365 GB, free: 4.289 MB / 1.042 GB Notification: Performance of Templates: time 0.01232/0.9373, allocations: 6.153 MB / 1.371 GB, free: 14.07 MB / 1.057 GB " [Timeout remaining time 299] make -j1 -f Buildings_13_Buildings.Utilities.Time.Examples.CalendarTime.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo Buildings_13_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Time.Examples.CalendarTime.pipe >> ../files/Buildings_13_Buildings.Utilities.Time.Examples.CalendarTime.sim & ./Buildings_13_Buildings.Utilities.Time.Examples.CalendarTime -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Utilities.Time.Examples.CalendarTime.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 10.174646571278572]