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.0009516/0.0009516, allocations: 81.86 kB / 19.87 MB, free: 4.625 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.001012/0.001012, allocations: 173.7 kB / 23.28 MB, free: 1.223 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.9784/0.9784, allocations: 177.1 MB / 203.7 MB, free: 5.492 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.002384/0.002384, allocations: 245.4 kB / 260.5 MB, free: 12.64 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.8206/0.8206, allocations: 138.4 MB / 455.5 MB, free: 1.434 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.183e-06/1.183e-06, allocations: 0 / 0.5556 GB, free: 332 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.178e-05/1.297e-05, allocations: 2.312 kB / 0.5556 GB, free: 328 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Examples.CalendarTime): time 0.001667/0.00168, allocations: 1.552 MB / 0.5571 GB, free: 14.75 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009096/0.002589, allocations: 0.5303 MB / 0.5576 GB, free: 14.22 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.537e-05/0.002635, allocations: 0 / 0.5576 GB, free: 14.22 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 8.264e-05/0.002717, allocations: 15.86 kB / 0.5576 GB, free: 14.21 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 9.024e-05/0.002808, allocations: 31.84 kB / 0.5576 GB, free: 14.18 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004945/0.003302, allocations: 319.2 kB / 0.5579 GB, free: 13.86 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003333/0.003635, allocations: 491.3 kB / 0.5584 GB, free: 13.38 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.755e-05/0.003663, allocations: 4 kB / 0.5584 GB, free: 13.38 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002997/0.003963, allocations: 355.6 kB / 0.5588 GB, free: 13.03 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001792/0.004142, allocations: 135.7 kB / 0.5589 GB, free: 12.9 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 5.207e-05/0.004194, allocations: 31.94 kB / 0.5589 GB, free: 12.87 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.991e-05/0.004244, allocations: 28 kB / 0.5589 GB, free: 12.84 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 8.213e-05/0.004326, allocations: 119.7 kB / 0.5591 GB, free: 12.72 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 9.975e-05/0.004426, allocations: 123.8 kB / 0.5592 GB, free: 12.6 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000508/0.004934, allocations: 382.8 kB / 0.5595 GB, free: 12.23 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.663e-06/0.004935, allocations: 0 / 0.5595 GB, free: 12.23 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.004936, allocations: 4 kB / 0.5595 GB, free: 12.22 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.795e-06/0.004939, allocations: 0 / 0.5595 GB, free: 12.22 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.0007149/0.005654, allocations: 0.9027 MB / 0.5604 GB, free: 11.24 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.005687, allocations: 16.73 kB / 0.5604 GB, free: 11.23 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.862e-05/0.005766, allocations: 56.7 kB / 0.5605 GB, free: 11.17 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002166/0.005983, allocations: 266.7 kB / 0.5607 GB, free: 10.88 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.691e-05/0.006009, allocations: 12.38 kB / 0.5608 GB, free: 10.87 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.449e-05/0.006054, allocations: 32.36 kB / 0.5608 GB, free: 10.84 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002838/0.006338, allocations: 200 kB / 0.561 GB, free: 10.64 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.141e-06/0.006344, allocations: 192 / 0.561 GB, free: 10.64 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.973e-05/0.006364, allocations: 4.359 kB / 0.561 GB, free: 10.63 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/0.00637, allocations: 4.375 kB / 0.561 GB, free: 10.63 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.073e-05/0.006451, allocations: 55.84 kB / 0.561 GB, free: 10.57 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002099/0.00666, allocations: 257 kB / 0.5613 GB, free: 10.3 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001497/0.00681, allocations: 119.1 kB / 0.5614 GB, free: 10.17 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.742e-05/0.006888, allocations: 63.66 kB / 0.5615 GB, free: 10.1 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.893e-05/0.006906, allocations: 7.938 kB / 0.5615 GB, free: 10.09 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001503/0.007057, allocations: 172.9 kB / 0.5616 GB, free: 9.91 MB / 490.7 MB Notification: Performance of pre-optimization done (n=16): time 9.52e-07/0.007058, allocations: 0 / 0.5616 GB, free: 9.91 MB / 490.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004401/0.007498, allocations: 361.2 kB / 0.562 GB, free: 9.551 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.698e-05/0.007525, allocations: 59.39 kB / 0.562 GB, free: 9.48 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00021/0.007735, allocations: 418.5 kB / 0.5624 GB, free: 9.059 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.23e-05/0.007767, allocations: 45.69 kB / 0.5625 GB, free: 9.008 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.119e-05/0.007818, allocations: 136.2 kB / 0.5626 GB, free: 8.871 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.17e-05/0.00785, allocations: 47.66 kB / 0.5627 GB, free: 8.824 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001071/0.007957, allocations: 131.1 kB / 0.5628 GB, free: 8.688 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.00806, allocations: 0.5 MB / 0.5633 GB, free: 8.176 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001405/0.008201, allocations: 175.2 kB / 0.5634 GB, free: 7.992 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001589/0.00836, allocations: 229 kB / 0.5636 GB, free: 7.727 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001711/0.008531, allocations: 259.6 kB / 0.5639 GB, free: 7.434 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.008532, allocations: 0 / 0.5639 GB, free: 7.434 MB / 490.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004238/0.008956, allocations: 0.5313 MB / 0.5644 GB, free: 6.871 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.235e-05/0.008998, allocations: 79.38 kB / 0.5645 GB, free: 6.781 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.009003, allocations: 4 kB / 0.5645 GB, free: 6.777 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.617e-06/0.009012, allocations: 0 / 0.5645 GB, free: 6.777 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.376e-05/0.009106, allocations: 35.91 kB / 0.5645 GB, free: 6.742 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.077e-06/0.00911, allocations: 4 kB / 0.5645 GB, free: 6.738 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001523/0.009262, allocations: 55.73 kB / 0.5646 GB, free: 6.684 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.573e-05/0.009318, allocations: 64.17 kB / 0.5646 GB, free: 6.621 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 9.749e-05/0.009415, allocations: 184.5 kB / 0.5648 GB, free: 6.434 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.419e-05/0.009459, allocations: 51.7 kB / 0.5649 GB, free: 6.383 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.696e-05/0.009496, allocations: 31.69 kB / 0.5649 GB, free: 6.348 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-06/0.009497, allocations: 0 / 0.5649 GB, free: 6.348 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-06/0.009499, allocations: 0 / 0.5649 GB, free: 6.348 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.009501, allocations: 0 / 0.5649 GB, free: 6.348 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005141/0.01002, allocations: 0.6186 MB / 0.5655 GB, free: 5.695 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.01002, allocations: 11.98 kB / 0.5655 GB, free: 5.684 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.588e-05/0.01004, allocations: 0 / 0.5655 GB, free: 5.684 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.01004, allocations: 4 kB / 0.5655 GB, free: 5.68 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.845e-05/0.01006, allocations: 19.97 kB / 0.5655 GB, free: 5.66 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.01006, allocations: 0 / 0.5655 GB, free: 5.66 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.01006, allocations: 3.938 kB / 0.5655 GB, free: 5.656 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003247/0.01038, allocations: 452 kB / 0.566 GB, free: 5.195 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001304/0.01051, allocations: 125.6 kB / 0.5661 GB, free: 5.074 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.774e-05/0.01055, allocations: 12 kB / 0.5661 GB, free: 5.062 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001644/0.01072, allocations: 35.91 kB / 0.5661 GB, free: 5.027 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.883e-05/0.01073, allocations: 15.92 kB / 0.5662 GB, free: 5.012 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.821e-05/0.01077, allocations: 55.97 kB / 0.5662 GB, free: 4.957 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0003562/0.01113, allocations: 259 kB / 0.5665 GB, free: 4.707 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01113, allocations: 0 / 0.5665 GB, free: 4.707 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002081/0.01134, allocations: 67.92 kB / 0.5665 GB, free: 4.641 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.053e-05/0.01142, allocations: 128.2 kB / 0.5666 GB, free: 4.508 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003748/0.01179, allocations: 421.5 kB / 0.567 GB, free: 4.055 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.0118, allocations: 4 kB / 0.5671 GB, free: 4.051 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 8.747e-05/0.01188, allocations: 76.03 kB / 0.5671 GB, free: 3.973 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002103/0.01209, allocations: 47.84 kB / 0.5672 GB, free: 3.926 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005622/0.01266, allocations: 486.8 kB / 0.5676 GB, free: 3.422 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.288e-05/0.0127, allocations: 83.81 kB / 0.5677 GB, free: 3.316 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.43e-05/0.01273, allocations: 17.12 kB / 0.5677 GB, free: 3.297 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001546/0.01289, allocations: 138.2 kB / 0.5679 GB, free: 3.16 MB / 490.7 MB Notification: Performance of SimCode: time 7.51e-07/0.01289, allocations: 0 / 0.5679 GB, free: 3.16 MB / 490.7 MB Notification: Performance of Templates: time 0.006176/0.01906, allocations: 5.454 MB / 0.5732 GB, free: 13.65 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.809654740616679]