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.0008951/0.0008951, allocations: 92.22 kB / 19.65 MB, free: 280 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.00103/0.00103, allocations: 169 kB / 23.02 MB, free: 1.547 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.003/1.003, allocations: 177.1 MB / 203.4 MB, free: 5.523 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.001649/0.001649, allocations: 237.4 kB / 260.2 MB, free: 12.81 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.7403/0.7403, allocations: 138.4 MB / 455.2 MB, free: 1.535 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.984e-06/1.984e-06, allocations: 0 / 0.5551 GB, free: 0.5781 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.965e-05/3.163e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.5742 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Examples.CalendarTime): time 0.003219/0.003251, allocations: 1.561 MB / 0.5566 GB, free: 15 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001547/0.004798, allocations: 0.5343 MB / 0.5571 GB, free: 14.46 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.658e-05/0.004874, allocations: 0 / 0.5571 GB, free: 14.46 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001666/0.005041, allocations: 11.86 kB / 0.5571 GB, free: 14.45 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002189/0.00526, allocations: 31.78 kB / 0.5572 GB, free: 14.42 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00146/0.00672, allocations: 319.2 kB / 0.5575 GB, free: 14.11 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008265/0.007547, allocations: 487.4 kB / 0.5579 GB, free: 13.63 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.392e-05/0.007611, allocations: 7.984 kB / 0.5579 GB, free: 13.62 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006438/0.008255, allocations: 351.6 kB / 0.5583 GB, free: 13.28 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004326/0.008687, allocations: 126.5 kB / 0.5584 GB, free: 13.16 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001168/0.008804, allocations: 28 kB / 0.5584 GB, free: 13.13 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.687e-05/0.008881, allocations: 28 kB / 0.5584 GB, free: 13.1 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001486/0.009029, allocations: 123.6 kB / 0.5586 GB, free: 12.98 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001797/0.009209, allocations: 123.7 kB / 0.5587 GB, free: 12.86 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005593/0.009768, allocations: 386.8 kB / 0.559 GB, free: 12.48 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.009773, allocations: 0 / 0.559 GB, free: 12.48 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.794e-06/0.009775, allocations: 0 / 0.559 GB, free: 12.48 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.248e-05/0.009787, allocations: 0 / 0.559 GB, free: 12.48 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.001391/0.01118, allocations: 0.9066 MB / 0.5599 GB, free: 11.5 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.167e-05/0.01123, allocations: 8.75 kB / 0.5599 GB, free: 11.49 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001886/0.01142, allocations: 60.69 kB / 0.56 GB, free: 11.43 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003705/0.01179, allocations: 258.8 kB / 0.5602 GB, free: 11.15 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.581e-05/0.01184, allocations: 16.36 kB / 0.5603 GB, free: 11.13 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.143e-05/0.01192, allocations: 32.36 kB / 0.5603 GB, free: 11.1 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005117/0.01243, allocations: 210.5 kB / 0.5605 GB, free: 10.89 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.01244, allocations: 4.188 kB / 0.5605 GB, free: 10.89 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.038e-05/0.01247, allocations: 4.375 kB / 0.5605 GB, free: 10.88 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/0.01248, allocations: 384 / 0.5605 GB, free: 10.88 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001603/0.01264, allocations: 59.91 kB / 0.5606 GB, free: 10.82 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004488/0.01309, allocations: 312.4 kB / 0.5609 GB, free: 10.48 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003171/0.0134, allocations: 131.1 kB / 0.561 GB, free: 10.34 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001575/0.01356, allocations: 63.66 kB / 0.561 GB, free: 10.28 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.642e-05/0.01359, allocations: 4 kB / 0.561 GB, free: 10.27 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003061/0.01389, allocations: 188.8 kB / 0.5612 GB, free: 10.07 MB / 490.7 MB Notification: Performance of pre-optimization done (n=16): time 2.715e-06/0.0139, allocations: 0 / 0.5612 GB, free: 10.07 MB / 490.7 MB Notification: Performance of matching and sorting (n=16): time 0.0008465/0.01474, allocations: 372.9 kB / 0.5616 GB, free: 9.707 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.11e-05/0.0148, allocations: 63.34 kB / 0.5616 GB, free: 9.633 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004273/0.01523, allocations: 426.6 kB / 0.562 GB, free: 9.203 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.965e-05/0.01529, allocations: 41.69 kB / 0.5621 GB, free: 9.156 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.493e-05/0.01539, allocations: 144.2 kB / 0.5622 GB, free: 9.012 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.581e-05/0.01544, allocations: 47.62 kB / 0.5623 GB, free: 8.965 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001997/0.01564, allocations: 131.1 kB / 0.5624 GB, free: 8.828 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001613/0.0158, allocations: 0.4923 MB / 0.5629 GB, free: 8.324 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003471/0.01615, allocations: 179.2 kB / 0.563 GB, free: 8.137 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003431/0.01649, allocations: 249.1 kB / 0.5633 GB, free: 7.852 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003802/0.01687, allocations: 276 kB / 0.5635 GB, free: 7.543 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.01688, allocations: 0 / 0.5635 GB, free: 7.543 MB / 490.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009408/0.01782, allocations: 0.5509 MB / 0.5641 GB, free: 6.961 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.06e-05/0.0179, allocations: 79.38 kB / 0.5642 GB, free: 6.871 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.01791, allocations: 4 kB / 0.5642 GB, free: 6.867 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.01793, allocations: 0 / 0.5642 GB, free: 6.867 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002068/0.01813, allocations: 35.91 kB / 0.5642 GB, free: 6.832 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.16e-05/0.01815, allocations: 8.125 kB / 0.5642 GB, free: 6.824 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000311/0.01846, allocations: 51.86 kB / 0.5643 GB, free: 6.773 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.233e-05/0.01855, allocations: 59.98 kB / 0.5643 GB, free: 6.715 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.0002006/0.01875, allocations: 192.5 kB / 0.5645 GB, free: 6.52 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.754e-05/0.01884, allocations: 47.7 kB / 0.5645 GB, free: 6.473 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.705e-05/0.0189, allocations: 35.69 kB / 0.5646 GB, free: 6.434 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.01891, allocations: 0 / 0.5646 GB, free: 6.434 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.01891, allocations: 4 kB / 0.5646 GB, free: 6.43 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.01892, allocations: 3.938 kB / 0.5646 GB, free: 6.426 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001071/0.01999, allocations: 0.677 MB / 0.5652 GB, free: 5.703 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.01999, allocations: 4 kB / 0.5653 GB, free: 5.699 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.117e-05/0.02005, allocations: 0 / 0.5653 GB, free: 5.699 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.236e-06/0.02005, allocations: 7.984 kB / 0.5653 GB, free: 5.691 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.265e-05/0.0201, allocations: 19.92 kB / 0.5653 GB, free: 5.672 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.0201, allocations: 0 / 0.5653 GB, free: 5.672 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.0201, allocations: 0 / 0.5653 GB, free: 5.672 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006137/0.02072, allocations: 471.9 kB / 0.5657 GB, free: 5.191 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002326/0.02095, allocations: 117.6 kB / 0.5658 GB, free: 5.078 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.915e-05/0.02104, allocations: 23.92 kB / 0.5659 GB, free: 5.055 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002715/0.02131, allocations: 15.98 kB / 0.5659 GB, free: 5.039 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.266e-05/0.02135, allocations: 7.984 kB / 0.5659 GB, free: 5.031 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.542e-05/0.02143, allocations: 59.97 kB / 0.5659 GB, free: 4.973 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0002449/0.02167, allocations: 271.1 kB / 0.5662 GB, free: 4.711 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.02167, allocations: 0 / 0.5662 GB, free: 4.711 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0004253/0.0221, allocations: 63.98 kB / 0.5663 GB, free: 4.648 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 0.000176/0.02227, allocations: 133.1 kB / 0.5664 GB, free: 4.508 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0007483/0.02302, allocations: 433.6 kB / 0.5668 GB, free: 4.043 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.02303, allocations: 0 / 0.5668 GB, free: 4.043 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001854/0.02321, allocations: 87.48 kB / 0.5669 GB, free: 3.957 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004428/0.02365, allocations: 49.55 kB / 0.5669 GB, free: 3.906 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001132/0.02479, allocations: 486.9 kB / 0.5674 GB, free: 3.402 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.535e-05/0.02486, allocations: 87.81 kB / 0.5675 GB, free: 3.293 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 6.765e-05/0.02493, allocations: 9.141 kB / 0.5675 GB, free: 3.281 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.046e-05/0.02498, allocations: 16.5 kB / 0.5675 GB, free: 3.266 MB / 490.7 MB Notification: Performance of SimCode: time 1.223e-06/0.02498, allocations: 0 / 0.5675 GB, free: 3.266 MB / 490.7 MB Notification: Performance of Templates: time 0.01241/0.03739, allocations: 6.616 MB / 0.574 GB, free: 12.58 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.692381624132395]