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.001307/0.001307, allocations: 92.72 kB / 19.44 MB, free: 472 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.001485/0.001485, allocations: 161.7 kB / 22.75 MB, free: 1.801 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.466/1.466, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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.003566/0.003566, allocations: 233.1 kB / 259.8 MB, free: 12.84 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 1.085/1.085, allocations: 138.4 MB / 454.7 MB, free: 1.492 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.413e-06/1.413e-06, allocations: 0 / 0.5543 GB, free: 0.8984 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.991e-05/3.132e-05, allocations: 6.25 kB / 0.5543 GB, free: 0.8906 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Examples.CalendarTime): time 0.00288/0.002911, allocations: 1.515 MB / 0.5558 GB, free: 15.36 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00169/0.004601, allocations: 0.5264 MB / 0.5563 GB, free: 14.83 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.498e-05/0.004646, allocations: 4 kB / 0.5563 GB, free: 14.83 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 9.612e-05/0.004743, allocations: 7.875 kB / 0.5563 GB, free: 14.82 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001148/0.004857, allocations: 27.84 kB / 0.5563 GB, free: 14.79 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008117/0.005669, allocations: 315.3 kB / 0.5566 GB, free: 14.48 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.00059/0.006259, allocations: 487.4 kB / 0.5571 GB, free: 14.01 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.89e-05/0.006298, allocations: 7.984 kB / 0.5571 GB, free: 14 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005522/0.00685, allocations: 359.6 kB / 0.5574 GB, free: 13.65 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002769/0.007127, allocations: 123.8 kB / 0.5576 GB, free: 13.53 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 8.504e-05/0.007212, allocations: 28 kB / 0.5576 GB, free: 13.5 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.965e-05/0.007292, allocations: 24 kB / 0.5576 GB, free: 13.48 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001646/0.007456, allocations: 123.7 kB / 0.5577 GB, free: 13.36 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001815/0.007638, allocations: 127.7 kB / 0.5578 GB, free: 13.23 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005819/0.00822, allocations: 474.5 kB / 0.5583 GB, free: 12.77 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.008223, allocations: 0 / 0.5583 GB, free: 12.77 MB / 490.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.008224, allocations: 0 / 0.5583 GB, free: 12.77 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.008229, allocations: 0 / 0.5583 GB, free: 12.77 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.001376/0.009605, allocations: 0.7912 MB / 0.5591 GB, free: 11.9 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.009645, allocations: 12.75 kB / 0.5591 GB, free: 11.89 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001661/0.009811, allocations: 56.7 kB / 0.5591 GB, free: 11.84 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004281/0.01024, allocations: 260 kB / 0.5594 GB, free: 11.55 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.026e-05/0.0103, allocations: 16.36 kB / 0.5594 GB, free: 11.54 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.747e-05/0.01039, allocations: 28.38 kB / 0.5594 GB, free: 11.51 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001113/0.0115, allocations: 229.9 kB / 0.5597 GB, free: 11.28 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.01151, allocations: 4.188 kB / 0.5597 GB, free: 11.28 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.227e-05/0.01154, allocations: 4.375 kB / 0.5597 GB, free: 11.27 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.01154, allocations: 384 / 0.5597 GB, free: 11.27 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008749/0.01242, allocations: 115.9 kB / 0.5598 GB, free: 11.16 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004428/0.01286, allocations: 289 kB / 0.56 GB, free: 10.85 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001198/0.01406, allocations: 186.3 kB / 0.5602 GB, free: 10.66 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008587/0.01492, allocations: 120.7 kB / 0.5603 GB, free: 10.54 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.28e-05/0.01495, allocations: 7.984 kB / 0.5603 GB, free: 10.53 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001092/0.01604, allocations: 242.8 kB / 0.5606 GB, free: 10.29 MB / 490.7 MB Notification: Performance of pre-optimization done (n=16): time 1.432e-06/0.01605, allocations: 0 / 0.5606 GB, free: 10.29 MB / 490.7 MB Notification: Performance of matching and sorting (n=16): time 0.002971/0.01902, allocations: 0.5323 MB / 0.5611 GB, free: 9.746 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.84e-05/0.01908, allocations: 55.41 kB / 0.5612 GB, free: 9.68 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005098/0.01959, allocations: 425.7 kB / 0.5616 GB, free: 9.258 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.334e-05/0.01966, allocations: 41.69 kB / 0.5616 GB, free: 9.211 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001007/0.01976, allocations: 93.45 kB / 0.5617 GB, free: 9.117 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.261e-05/0.01981, allocations: 35.69 kB / 0.5617 GB, free: 9.082 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002317/0.02004, allocations: 133.4 kB / 0.5618 GB, free: 8.945 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001921/0.02024, allocations: 322.8 kB / 0.5622 GB, free: 8.621 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003768/0.02061, allocations: 207.3 kB / 0.5624 GB, free: 8.406 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004007/0.02101, allocations: 237.3 kB / 0.5626 GB, free: 8.141 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004576/0.02147, allocations: 276 kB / 0.5628 GB, free: 7.84 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.02147, allocations: 0 / 0.5628 GB, free: 7.84 MB / 490.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001294/0.02277, allocations: 0.5821 MB / 0.5634 GB, free: 7.227 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.851e-05/0.02287, allocations: 79.38 kB / 0.5635 GB, free: 7.137 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.02287, allocations: 0 / 0.5635 GB, free: 7.137 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.067e-05/0.02289, allocations: 4 kB / 0.5635 GB, free: 7.133 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001755/0.02307, allocations: 31.91 kB / 0.5635 GB, free: 7.102 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.106e-05/0.02308, allocations: 3.938 kB / 0.5635 GB, free: 7.098 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005521/0.02363, allocations: 67.94 kB / 0.5636 GB, free: 7.031 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000101/0.02373, allocations: 63.98 kB / 0.5636 GB, free: 6.969 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.0002568/0.02399, allocations: 197.7 kB / 0.5638 GB, free: 6.77 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001063/0.02409, allocations: 47.72 kB / 0.5639 GB, free: 6.723 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.03e-05/0.02416, allocations: 35.69 kB / 0.5639 GB, free: 6.684 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.406e-06/0.02417, allocations: 4 kB / 0.5639 GB, free: 6.68 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.277e-06/0.02418, allocations: 3.984 kB / 0.5639 GB, free: 6.676 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.02419, allocations: 3.938 kB / 0.5639 GB, free: 6.672 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002504/0.02669, allocations: 0.709 MB / 0.5646 GB, free: 5.922 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.02669, allocations: 0 / 0.5646 GB, free: 5.922 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.198e-05/0.02673, allocations: 4 kB / 0.5646 GB, free: 5.918 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.02673, allocations: 4 kB / 0.5646 GB, free: 5.914 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.056e-05/0.02678, allocations: 27.91 kB / 0.5647 GB, free: 5.887 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.02678, allocations: 0 / 0.5647 GB, free: 5.887 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.02678, allocations: 0 / 0.5647 GB, free: 5.887 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002049/0.02883, allocations: 0.5185 MB / 0.5652 GB, free: 5.355 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002834/0.02912, allocations: 133.6 kB / 0.5653 GB, free: 5.223 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.076e-05/0.0292, allocations: 11.94 kB / 0.5653 GB, free: 5.211 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005291/0.02973, allocations: 43.97 kB / 0.5653 GB, free: 5.168 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.93e-05/0.02977, allocations: 11.97 kB / 0.5654 GB, free: 5.156 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.815e-05/0.02984, allocations: 51.98 kB / 0.5654 GB, free: 5.105 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0003631/0.03021, allocations: 295.1 kB / 0.5657 GB, free: 4.82 MB / 490.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.03021, allocations: 3.938 kB / 0.5657 GB, free: 4.816 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003615/0.03057, allocations: 71.98 kB / 0.5658 GB, free: 4.746 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.000164/0.03073, allocations: 109.2 kB / 0.5659 GB, free: 4.633 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001492/0.03222, allocations: 497.8 kB / 0.5663 GB, free: 4.109 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.03223, allocations: 4 kB / 0.5663 GB, free: 4.105 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008726/0.0331, allocations: 123.8 kB / 0.5665 GB, free: 3.984 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004002/0.0335, allocations: 53.61 kB / 0.5665 GB, free: 3.93 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001659/0.03516, allocations: 0.5757 MB / 0.5671 GB, free: 3.324 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002074/0.03537, allocations: 163 kB / 0.5672 GB, free: 3.141 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 5.829e-05/0.03542, allocations: 13.14 kB / 0.5672 GB, free: 3.129 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.663e-05/0.03548, allocations: 24.48 kB / 0.5673 GB, free: 3.105 MB / 490.7 MB Notification: Performance of SimCode: time 4.81e-07/0.03548, allocations: 4 kB / 0.5673 GB, free: 3.102 MB / 490.7 MB Notification: Performance of Templates: time 0.01134/0.04682, allocations: 5.989 MB / 0.5731 GB, free: 13.05 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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Time.Examples.CalendarTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.683848591987044]