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.001043/0.001043, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001162/0.001162, allocations: 173 kB / 23.49 MB, free: 1.055 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 0.9921/0.9921, allocations: 177.1 MB / 203.8 MB, free: 5.617 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.001718/0.001718, allocations: 233.5 kB / 260.5 MB, free: 12.88 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.7855/0.7855, allocations: 138.4 MB / 455.4 MB, free: 1.574 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.343e-06/1.343e-06, allocations: 0 / 0.555 GB, free: 0.9609 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.229e-05/2.363e-05, allocations: 4.984 kB / 0.555 GB, free: 0.957 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Examples.CalendarTime): time 0.002413/0.002436, allocations: 1.561 MB / 0.5565 GB, free: 15.38 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00118/0.003616, allocations: 0.537 MB / 0.557 GB, free: 14.84 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.524e-05/0.003691, allocations: 4 kB / 0.557 GB, free: 14.84 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 9.737e-05/0.003789, allocations: 11.86 kB / 0.557 GB, free: 14.83 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001145/0.003903, allocations: 27.86 kB / 0.5571 GB, free: 14.8 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007476/0.004651, allocations: 315.2 kB / 0.5574 GB, free: 14.49 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004481/0.005099, allocations: 487.4 kB / 0.5578 GB, free: 14.02 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.235e-05/0.005141, allocations: 4 kB / 0.5578 GB, free: 14.01 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004205/0.005562, allocations: 363.5 kB / 0.5582 GB, free: 13.66 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002376/0.005799, allocations: 130.5 kB / 0.5583 GB, free: 13.53 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 6.063e-05/0.00586, allocations: 28 kB / 0.5583 GB, free: 13.5 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.185e-05/0.005912, allocations: 24 kB / 0.5584 GB, free: 13.48 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001114/0.006023, allocations: 115.7 kB / 0.5585 GB, free: 13.37 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001371/0.00616, allocations: 131.7 kB / 0.5586 GB, free: 13.24 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003802/0.006541, allocations: 382.9 kB / 0.559 GB, free: 12.86 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.524e-06/0.006543, allocations: 0 / 0.559 GB, free: 12.86 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.006544, allocations: 0 / 0.559 GB, free: 12.86 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.006549, allocations: 0 / 0.559 GB, free: 12.86 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.001155/0.007704, allocations: 0.9066 MB / 0.5599 GB, free: 11.88 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.007746, allocations: 12.75 kB / 0.5599 GB, free: 11.87 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001365/0.007882, allocations: 56.69 kB / 0.5599 GB, free: 11.81 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003144/0.008197, allocations: 258.8 kB / 0.5602 GB, free: 11.53 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.063e-05/0.008247, allocations: 20.36 kB / 0.5602 GB, free: 11.51 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.007e-05/0.008317, allocations: 28.36 kB / 0.5602 GB, free: 11.48 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004719/0.008789, allocations: 209.6 kB / 0.5604 GB, free: 11.27 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.008798, allocations: 192 / 0.5604 GB, free: 11.27 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.38e-05/0.008821, allocations: 384 / 0.5604 GB, free: 11.27 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.287e-06/0.008831, allocations: 4.375 kB / 0.5604 GB, free: 11.27 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001353/0.008966, allocations: 59.91 kB / 0.5605 GB, free: 11.21 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000364/0.00933, allocations: 312.3 kB / 0.5608 GB, free: 10.87 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002499/0.00958, allocations: 135.1 kB / 0.5609 GB, free: 10.73 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001304/0.00971, allocations: 63.67 kB / 0.561 GB, free: 10.66 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.288e-05/0.009733, allocations: 7.984 kB / 0.561 GB, free: 10.65 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002537/0.009987, allocations: 176.9 kB / 0.5611 GB, free: 10.46 MB / 490.7 MB Notification: Performance of pre-optimization done (n=16): time 1.423e-06/0.009988, allocations: 0 / 0.5611 GB, free: 10.46 MB / 490.7 MB Notification: Performance of matching and sorting (n=16): time 0.0007089/0.0107, allocations: 384.8 kB / 0.5615 GB, free: 10.09 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.942e-05/0.01074, allocations: 55.41 kB / 0.5616 GB, free: 10.02 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000335/0.01107, allocations: 426.6 kB / 0.562 GB, free: 9.59 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.412e-05/0.01112, allocations: 41.69 kB / 0.562 GB, free: 9.543 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.933e-05/0.0112, allocations: 144.2 kB / 0.5621 GB, free: 9.398 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.247e-05/0.01125, allocations: 47.67 kB / 0.5622 GB, free: 9.352 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001749/0.01142, allocations: 127.1 kB / 0.5623 GB, free: 9.219 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.01155, allocations: 0.4923 MB / 0.5628 GB, free: 8.715 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002688/0.01182, allocations: 183.2 kB / 0.563 GB, free: 8.523 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002747/0.0121, allocations: 245.1 kB / 0.5632 GB, free: 8.242 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003118/0.01241, allocations: 275.5 kB / 0.5635 GB, free: 7.934 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.01241, allocations: 0 / 0.5635 GB, free: 7.934 MB / 490.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000741/0.01315, allocations: 0.5548 MB / 0.564 GB, free: 7.348 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.551e-05/0.01322, allocations: 83.41 kB / 0.5641 GB, free: 7.254 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.01322, allocations: 0 / 0.5641 GB, free: 7.254 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.01324, allocations: 7.984 kB / 0.5641 GB, free: 7.246 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001624/0.0134, allocations: 39.91 kB / 0.5641 GB, free: 7.207 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.01341, allocations: 11.88 kB / 0.5641 GB, free: 7.195 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002402/0.01365, allocations: 43.86 kB / 0.5642 GB, free: 7.152 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.323e-05/0.01373, allocations: 59.98 kB / 0.5642 GB, free: 7.094 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.0001542/0.01388, allocations: 188.6 kB / 0.5644 GB, free: 6.902 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.688e-05/0.01396, allocations: 55.64 kB / 0.5645 GB, free: 6.848 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.31e-05/0.01401, allocations: 35.69 kB / 0.5645 GB, free: 6.809 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.01401, allocations: 0 / 0.5645 GB, free: 6.809 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.01402, allocations: 0 / 0.5645 GB, free: 6.809 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.01402, allocations: 3.938 kB / 0.5645 GB, free: 6.805 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008533/0.01487, allocations: 0.6693 MB / 0.5652 GB, free: 6.09 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.01488, allocations: 0 / 0.5652 GB, free: 6.09 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.722e-05/0.01491, allocations: 7.938 kB / 0.5652 GB, free: 6.082 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.01492, allocations: 8 kB / 0.5652 GB, free: 6.074 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.188e-05/0.01495, allocations: 23.91 kB / 0.5652 GB, free: 6.051 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.255e-06/0.01495, allocations: 0 / 0.5652 GB, free: 6.051 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.01496, allocations: 0 / 0.5652 GB, free: 6.051 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005146/0.01547, allocations: 464 kB / 0.5656 GB, free: 5.578 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001889/0.01566, allocations: 117.6 kB / 0.5658 GB, free: 5.465 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.597e-05/0.01572, allocations: 19.92 kB / 0.5658 GB, free: 5.445 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000213/0.01594, allocations: 23.92 kB / 0.5658 GB, free: 5.422 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.227e-05/0.01597, allocations: 11.98 kB / 0.5658 GB, free: 5.41 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.549e-05/0.01604, allocations: 59.97 kB / 0.5659 GB, free: 5.352 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0003144/0.01635, allocations: 271.1 kB / 0.5661 GB, free: 5.09 MB / 490.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.01635, allocations: 0 / 0.5661 GB, free: 5.09 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003298/0.01668, allocations: 63.98 kB / 0.5662 GB, free: 5.027 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.000127/0.01681, allocations: 125.2 kB / 0.5663 GB, free: 4.895 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0005741/0.01738, allocations: 429.9 kB / 0.5667 GB, free: 4.434 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.01738, allocations: 12 kB / 0.5667 GB, free: 4.422 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001481/0.01753, allocations: 79.03 kB / 0.5668 GB, free: 4.344 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003486/0.01788, allocations: 53.55 kB / 0.5669 GB, free: 4.289 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008793/0.01876, allocations: 478.9 kB / 0.5673 GB, free: 3.793 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.466e-05/0.01882, allocations: 87.75 kB / 0.5674 GB, free: 3.684 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 4.736e-05/0.01887, allocations: 17.14 kB / 0.5674 GB, free: 3.664 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.927e-05/0.01891, allocations: 20.48 kB / 0.5674 GB, free: 3.645 MB / 490.7 MB Notification: Performance of SimCode: time 8.01e-07/0.01891, allocations: 0 / 0.5674 GB, free: 3.645 MB / 490.7 MB Notification: Performance of Templates: time 0.01109/0.03, allocations: 5.995 MB / 0.5733 GB, free: 13.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.8565185780171305]