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.001457/0.001457, allocations: 92.22 kB / 19.65 MB, free: 276 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.001097/0.001097, allocations: 169 kB / 23.02 MB, free: 1.551 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.002/1.002, allocations: 177.1 MB / 203.4 MB, free: 5.645 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.002327/0.002327, allocations: 241.9 kB / 260.2 MB, free: 12.82 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.7875/0.7875, allocations: 138.4 MB / 455.2 MB, free: 1.496 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.703e-06/1.703e-06, allocations: 0 / 0.5551 GB, free: 0.5195 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.979e-05/2.149e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.5156 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Examples.CalendarTime): time 0.001941/0.001963, allocations: 1.557 MB / 0.5566 GB, free: 14.94 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009595/0.002922, allocations: 0.5343 MB / 0.5571 GB, free: 14.41 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.662e-05/0.002979, allocations: 0 / 0.5571 GB, free: 14.41 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 9.527e-05/0.003074, allocations: 7.875 kB / 0.5571 GB, free: 14.4 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001025/0.003177, allocations: 35.78 kB / 0.5572 GB, free: 14.36 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005737/0.00375, allocations: 323.2 kB / 0.5575 GB, free: 14.05 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003585/0.004109, allocations: 483.4 kB / 0.5579 GB, free: 13.57 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.472e-05/0.004144, allocations: 3.938 kB / 0.5579 GB, free: 13.57 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003222/0.004466, allocations: 355.6 kB / 0.5583 GB, free: 13.22 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001867/0.004652, allocations: 123.7 kB / 0.5584 GB, free: 13.1 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 5.672e-05/0.004709, allocations: 28 kB / 0.5584 GB, free: 13.07 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.133e-05/0.004761, allocations: 24 kB / 0.5584 GB, free: 13.05 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 9.859e-05/0.004859, allocations: 123.7 kB / 0.5586 GB, free: 12.93 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001119/0.004971, allocations: 127.7 kB / 0.5587 GB, free: 12.8 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003004/0.005271, allocations: 390.8 kB / 0.559 GB, free: 12.42 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.873e-06/0.005273, allocations: 0 / 0.559 GB, free: 12.42 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.005274, allocations: 0 / 0.559 GB, free: 12.42 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.005279, allocations: 0 / 0.559 GB, free: 12.42 MB / 490.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.0008525/0.006131, allocations: 0.9027 MB / 0.5599 GB, free: 11.44 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.006168, allocations: 8.75 kB / 0.5599 GB, free: 11.43 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.922e-05/0.006267, allocations: 56.7 kB / 0.56 GB, free: 11.38 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002576/0.006525, allocations: 262.8 kB / 0.5602 GB, free: 11.09 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.517e-05/0.00656, allocations: 20.36 kB / 0.5603 GB, free: 11.07 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.08e-05/0.006611, allocations: 24.38 kB / 0.5603 GB, free: 11.05 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00036/0.006971, allocations: 206.7 kB / 0.5605 GB, free: 10.84 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.006981, allocations: 4.125 kB / 0.5605 GB, free: 10.84 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.016e-05/0.007001, allocations: 8.359 kB / 0.5605 GB, free: 10.83 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.00701, allocations: 4.375 kB / 0.5605 GB, free: 10.82 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.962e-05/0.007109, allocations: 55.91 kB / 0.5606 GB, free: 10.77 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002716/0.007381, allocations: 308.4 kB / 0.5608 GB, free: 10.43 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001951/0.007576, allocations: 135.1 kB / 0.561 GB, free: 10.29 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001002/0.007676, allocations: 63.66 kB / 0.561 GB, free: 10.22 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.16e-05/0.007698, allocations: 0 / 0.561 GB, free: 10.22 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001985/0.007896, allocations: 192.8 kB / 0.5612 GB, free: 10.02 MB / 490.7 MB Notification: Performance of pre-optimization done (n=16): time 1.092e-06/0.007897, allocations: 4 kB / 0.5612 GB, free: 10.02 MB / 490.7 MB Notification: Performance of matching and sorting (n=16): time 0.000523/0.00842, allocations: 369 kB / 0.5616 GB, free: 9.652 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.515e-05/0.008456, allocations: 63.39 kB / 0.5616 GB, free: 9.578 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000256/0.008712, allocations: 430.6 kB / 0.562 GB, free: 9.145 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.302e-05/0.008745, allocations: 37.7 kB / 0.5621 GB, free: 9.102 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.797e-05/0.008803, allocations: 144.2 kB / 0.5622 GB, free: 8.957 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.544e-05/0.008838, allocations: 35.69 kB / 0.5623 GB, free: 8.922 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000121/0.008959, allocations: 139.1 kB / 0.5624 GB, free: 8.777 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001052/0.009064, allocations: 0.4884 MB / 0.5629 GB, free: 8.277 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002025/0.009267, allocations: 191.2 kB / 0.563 GB, free: 8.078 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001999/0.009467, allocations: 249 kB / 0.5633 GB, free: 7.793 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002269/0.009694, allocations: 267.4 kB / 0.5635 GB, free: 7.492 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.009696, allocations: 8 kB / 0.5635 GB, free: 7.484 MB / 490.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005594/0.01026, allocations: 0.5509 MB / 0.5641 GB, free: 6.902 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.175e-05/0.01031, allocations: 83.36 kB / 0.5642 GB, free: 6.809 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.01031, allocations: 0 / 0.5642 GB, free: 6.809 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.01033, allocations: 4 kB / 0.5642 GB, free: 6.805 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001245/0.01045, allocations: 35.92 kB / 0.5642 GB, free: 6.77 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.01046, allocations: 11.92 kB / 0.5642 GB, free: 6.758 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001712/0.01064, allocations: 52.03 kB / 0.5643 GB, free: 6.707 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.538e-05/0.01069, allocations: 59.98 kB / 0.5643 GB, free: 6.648 MB / 490.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.0001144/0.0108, allocations: 188.5 kB / 0.5645 GB, free: 6.457 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.823e-05/0.01085, allocations: 43.72 kB / 0.5645 GB, free: 6.414 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.486e-05/0.0109, allocations: 39.67 kB / 0.5646 GB, free: 6.371 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.0109, allocations: 0 / 0.5646 GB, free: 6.371 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.0109, allocations: 0 / 0.5646 GB, free: 6.371 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.01091, allocations: 3.938 kB / 0.5646 GB, free: 6.367 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006605/0.01157, allocations: 0.6809 MB / 0.5652 GB, free: 5.641 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.01157, allocations: 0 / 0.5652 GB, free: 5.641 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.576e-05/0.0116, allocations: 4 kB / 0.5653 GB, free: 5.637 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.0116, allocations: 3.938 kB / 0.5653 GB, free: 5.633 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.471e-05/0.01162, allocations: 27.91 kB / 0.5653 GB, free: 5.605 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.01163, allocations: 0 / 0.5653 GB, free: 5.605 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.01163, allocations: 0 / 0.5653 GB, free: 5.605 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004088/0.01203, allocations: 463.9 kB / 0.5657 GB, free: 5.133 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001445/0.01218, allocations: 125.6 kB / 0.5658 GB, free: 5.012 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.44e-05/0.01222, allocations: 15.94 kB / 0.5659 GB, free: 4.996 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001505/0.01237, allocations: 15.98 kB / 0.5659 GB, free: 4.98 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.472e-05/0.0124, allocations: 11.97 kB / 0.5659 GB, free: 4.969 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.413e-05/0.01244, allocations: 59.98 kB / 0.5659 GB, free: 4.91 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001531/0.0126, allocations: 271.1 kB / 0.5662 GB, free: 4.648 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.0126, allocations: 0 / 0.5662 GB, free: 4.648 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002243/0.01282, allocations: 67.98 kB / 0.5663 GB, free: 4.582 MB / 490.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.948e-05/0.01292, allocations: 121.2 kB / 0.5664 GB, free: 4.453 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004555/0.01338, allocations: 433 kB / 0.5668 GB, free: 3.992 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.01338, allocations: 0 / 0.5668 GB, free: 3.992 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000111/0.01349, allocations: 91.95 kB / 0.5669 GB, free: 3.898 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002643/0.01375, allocations: 41.62 kB / 0.5669 GB, free: 3.855 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000732/0.01448, allocations: 482.9 kB / 0.5674 GB, free: 3.355 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.948e-05/0.01453, allocations: 87.81 kB / 0.5675 GB, free: 3.246 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.811e-05/0.01457, allocations: 17.12 kB / 0.5675 GB, free: 3.227 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.484e-05/0.01461, allocations: 16.5 kB / 0.5675 GB, free: 3.211 MB / 490.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01461, allocations: 0 / 0.5675 GB, free: 3.211 MB / 490.7 MB Notification: Performance of Templates: time 0.01024/0.02485, allocations: 6.014 MB / 0.5734 GB, free: 13.14 MB / 0.4948 GB " [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.993164378218353]