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.001871/0.001871, allocations: 73.97 kB / 20.65 MB, free: 3.844 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.00207/0.00207, allocations: 169 kB / 24.06 MB, free: 452 kB / 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.9776/0.9776, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.002077/0.002077, allocations: 244.9 kB / 261.3 MB, free: 12.66 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.807/0.807, allocations: 138.4 MB / 456.3 MB, free: 30.04 MB / 410.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.543e-06/1.543e-06, allocations: 0 / 0.5563 GB, free: 15.92 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.742e-05/3.896e-05, allocations: 10.11 kB / 0.5563 GB, free: 15.91 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Examples.CalendarTime): time 0.002201/0.00224, allocations: 1.55 MB / 0.5578 GB, free: 14.34 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008831/0.003124, allocations: 0.5418 MB / 0.5583 GB, free: 13.8 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.476e-05/0.003168, allocations: 0 / 0.5583 GB, free: 13.8 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 7.616e-05/0.003244, allocations: 7.922 kB / 0.5583 GB, free: 13.79 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 8.491e-05/0.003329, allocations: 27.84 kB / 0.5584 GB, free: 13.77 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004756/0.003805, allocations: 323.2 kB / 0.5587 GB, free: 13.45 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003487/0.004154, allocations: 487.4 kB / 0.5591 GB, free: 12.97 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.993e-05/0.004184, allocations: 7.938 kB / 0.5592 GB, free: 12.96 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003002/0.004484, allocations: 359.6 kB / 0.5595 GB, free: 12.61 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001825/0.004666, allocations: 134.4 kB / 0.5596 GB, free: 12.48 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 4.433e-05/0.004711, allocations: 28 kB / 0.5597 GB, free: 12.46 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.772e-05/0.004748, allocations: 24 kB / 0.5597 GB, free: 12.43 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 8.632e-05/0.004835, allocations: 111.7 kB / 0.5598 GB, free: 12.32 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 9.487e-05/0.00493, allocations: 135.7 kB / 0.5599 GB, free: 12.19 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000257/0.005187, allocations: 378.9 kB / 0.5603 GB, free: 11.82 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.834e-06/0.005188, allocations: 0 / 0.5603 GB, free: 11.82 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.005189, allocations: 0 / 0.5603 GB, free: 11.82 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.636e-06/0.005193, allocations: 4 kB / 0.5603 GB, free: 11.82 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.000694/0.005887, allocations: 0.9105 MB / 0.5612 GB, free: 10.83 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.901e-05/0.005916, allocations: 13.94 kB / 0.5612 GB, free: 10.82 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.556e-05/0.006001, allocations: 60.64 kB / 0.5612 GB, free: 10.76 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000207/0.006208, allocations: 258.8 kB / 0.5615 GB, free: 10.48 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.905e-05/0.006237, allocations: 16.36 kB / 0.5615 GB, free: 10.46 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.521e-05/0.006283, allocations: 32.36 kB / 0.5615 GB, free: 10.43 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002697/0.006552, allocations: 194.7 kB / 0.5617 GB, free: 10.23 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.491e-06/0.006558, allocations: 192 / 0.5617 GB, free: 10.23 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.764e-05/0.006575, allocations: 4.375 kB / 0.5617 GB, free: 10.23 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.00658, allocations: 4.375 kB / 0.5617 GB, free: 10.23 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.821e-05/0.006658, allocations: 55.91 kB / 0.5618 GB, free: 10.17 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002072/0.006865, allocations: 248.9 kB / 0.562 GB, free: 9.902 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001657/0.007031, allocations: 119 kB / 0.5621 GB, free: 9.773 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.529e-05/0.007106, allocations: 59.66 kB / 0.5622 GB, free: 9.711 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.205e-05/0.007118, allocations: 0 / 0.5622 GB, free: 9.711 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001547/0.007273, allocations: 172.8 kB / 0.5623 GB, free: 9.527 MB / 490.7 MB Notification: Performance of pre-optimization done (n=16): time 8.01e-07/0.007274, allocations: 0 / 0.5623 GB, free: 9.527 MB / 490.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004326/0.007706, allocations: 365.2 kB / 0.5627 GB, free: 9.164 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.786e-05/0.007734, allocations: 63.41 kB / 0.5628 GB, free: 9.09 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002331/0.007967, allocations: 418.5 kB / 0.5632 GB, free: 8.664 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.128e-05/0.007999, allocations: 37.7 kB / 0.5632 GB, free: 8.621 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.247e-05/0.008051, allocations: 144.2 kB / 0.5633 GB, free: 8.477 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.567e-05/0.008097, allocations: 35.72 kB / 0.5634 GB, free: 8.441 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001185/0.008215, allocations: 143 kB / 0.5635 GB, free: 8.293 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.008345, allocations: 0.4922 MB / 0.564 GB, free: 7.789 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001471/0.008493, allocations: 167.3 kB / 0.5641 GB, free: 7.613 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001597/0.008652, allocations: 237.5 kB / 0.5644 GB, free: 7.34 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001791/0.008831, allocations: 256.3 kB / 0.5646 GB, free: 7.051 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.008833, allocations: 0 / 0.5646 GB, free: 7.051 MB / 490.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005235/0.009357, allocations: 0.5352 MB / 0.5651 GB, free: 6.484 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.479e-05/0.009402, allocations: 81.72 kB / 0.5652 GB, free: 6.395 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.009405, allocations: 0 / 0.5652 GB, free: 6.395 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.944e-06/0.009412, allocations: 4 kB / 0.5652 GB, free: 6.391 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.009513, allocations: 43.84 kB / 0.5653 GB, free: 6.348 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.487e-06/0.009516, allocations: 4 kB / 0.5653 GB, free: 6.344 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001611/0.009677, allocations: 47.8 kB / 0.5653 GB, free: 6.297 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.931e-05/0.009727, allocations: 60.17 kB / 0.5654 GB, free: 6.238 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.0001064/0.009833, allocations: 192.5 kB / 0.5655 GB, free: 6.043 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.05e-05/0.009884, allocations: 47.75 kB / 0.5656 GB, free: 5.996 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.517e-05/0.009919, allocations: 31.69 kB / 0.5656 GB, free: 5.965 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.009921, allocations: 4 kB / 0.5656 GB, free: 5.961 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-06/0.009922, allocations: 0 / 0.5656 GB, free: 5.961 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.009926, allocations: 0 / 0.5656 GB, free: 5.961 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005339/0.01046, allocations: 0.6146 MB / 0.5662 GB, free: 5.312 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.01046, allocations: 7.984 kB / 0.5662 GB, free: 5.305 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.812e-05/0.01048, allocations: 4 kB / 0.5662 GB, free: 5.301 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.01048, allocations: 0 / 0.5662 GB, free: 5.301 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.255e-05/0.0105, allocations: 27.97 kB / 0.5663 GB, free: 5.273 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.81e-07/0.0105, allocations: 0 / 0.5663 GB, free: 5.273 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.01051, allocations: 3.938 kB / 0.5663 GB, free: 5.27 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004659/0.01097, allocations: 451.9 kB / 0.5667 GB, free: 4.809 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001342/0.01111, allocations: 121.6 kB / 0.5668 GB, free: 4.691 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.08e-05/0.01115, allocations: 8 kB / 0.5668 GB, free: 4.684 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001378/0.01129, allocations: 31.05 kB / 0.5669 GB, free: 4.656 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.858e-05/0.0113, allocations: 15.86 kB / 0.5669 GB, free: 4.641 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.906e-05/0.01134, allocations: 55.97 kB / 0.5669 GB, free: 4.586 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001235/0.01147, allocations: 271 kB / 0.5672 GB, free: 4.32 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01147, allocations: 0 / 0.5672 GB, free: 4.32 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002087/0.01168, allocations: 67.98 kB / 0.5672 GB, free: 4.254 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 8.638e-05/0.01176, allocations: 110 kB / 0.5674 GB, free: 4.137 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003602/0.01212, allocations: 418.3 kB / 0.5678 GB, free: 3.688 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.01212, allocations: 4 kB / 0.5678 GB, free: 3.684 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 9.004e-05/0.01221, allocations: 76 kB / 0.5678 GB, free: 3.605 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002247/0.01244, allocations: 46.94 kB / 0.5679 GB, free: 3.562 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005846/0.01302, allocations: 486.3 kB / 0.5683 GB, free: 3.062 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.517e-05/0.01307, allocations: 87.67 kB / 0.5684 GB, free: 2.957 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.821e-05/0.01311, allocations: 17.14 kB / 0.5684 GB, free: 2.938 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001635/0.01327, allocations: 146.2 kB / 0.5686 GB, free: 2.793 MB / 490.7 MB Notification: Performance of SimCode: time 7.92e-07/0.01327, allocations: 0 / 0.5686 GB, free: 2.793 MB / 490.7 MB Notification: Performance of Templates: time 0.006246/0.01952, allocations: 5.598 MB / 0.574 GB, free: 13.15 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.840630019083619]