Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001328/0.001328, allocations: 118.9 kB / 17.8 MB, free: 5.121 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001324/0.001324, allocations: 187.8 kB / 20.75 MB, free: 2.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.401/1.401, allocations: 225.6 MB / 249.1 MB, free: 3.66 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8295/0.8295, allocations: 128.4 MB / 432.4 MB, free: 13.19 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime") translateModel(IBPSA.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001968/0.001968, allocations: 63.84 kB / 0.5987 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4085/0.4105, allocations: 83.25 MB / 0.68 GB, free: 7.055 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Examples.CalendarTime): time 0.002359/0.4129, allocations: 1.517 MB / 0.6815 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0011/0.414, allocations: 0.5467 MB / 0.682 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.03e-05/0.414, allocations: 0 / 0.682 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 8.443e-05/0.4141, allocations: 8.891 kB / 0.682 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001007/0.4142, allocations: 38.98 kB / 0.682 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006191/0.4148, allocations: 308.2 kB / 0.6823 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004096/0.4152, allocations: 491.8 kB / 0.6828 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.791e-05/0.4153, allocations: 2.438 kB / 0.6828 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000299/0.4156, allocations: 277.4 kB / 0.6831 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002583/0.4158, allocations: 144.7 kB / 0.6832 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.235e-05/0.4159, allocations: 30.41 kB / 0.6832 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.752e-05/0.416, allocations: 27.03 kB / 0.6833 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001074/0.4161, allocations: 115.4 kB / 0.6834 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001613/0.4163, allocations: 186.4 kB / 0.6836 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000348/0.4166, allocations: 422.5 kB / 0.684 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.4166, allocations: 0 / 0.684 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.182e-06/0.4166, allocations: 1.062 kB / 0.684 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.258e-05/0.4166, allocations: 0 / 0.684 GB, free: 4.191 MB / 0.4981 GB 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.001033/0.4177, allocations: 0.8708 MB / 0.6848 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.416e-05/0.4177, allocations: 13.41 kB / 0.6848 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001086/0.4178, allocations: 54.25 kB / 0.6849 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002907/0.4181, allocations: 321.8 kB / 0.6852 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.692e-05/0.4181, allocations: 18.8 kB / 0.6852 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.495e-05/0.4182, allocations: 29.77 kB / 0.6852 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009593/0.4192, allocations: 207.1 kB / 0.6854 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.4192, allocations: 192 / 0.6854 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.641e-05/0.4192, allocations: 9.406 kB / 0.6854 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.106e-05/0.4192, allocations: 5.484 kB / 0.6854 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007806/0.42, allocations: 99.27 kB / 0.6855 GB, free: 2.875 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003327/0.4203, allocations: 379.4 kB / 0.6859 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001035/0.4214, allocations: 169.8 kB / 0.6861 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007311/0.4221, allocations: 99.84 kB / 0.6862 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.692e-05/0.4221, allocations: 9.109 kB / 0.6862 GB, free: 2.395 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009316/0.4231, allocations: 227.4 kB / 0.6864 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 1.323e-06/0.4231, allocations: 0 / 0.6864 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.002629/0.4257, allocations: 493.5 kB / 0.6868 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.787e-05/0.4257, allocations: 55.88 kB / 0.6869 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000348/0.4261, allocations: 418.1 kB / 0.6873 GB, free: 1.727 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.873e-05/0.4261, allocations: 41.06 kB / 0.6873 GB, free: 1.688 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.804e-05/0.4262, allocations: 108 kB / 0.6874 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.428e-05/0.4262, allocations: 30.36 kB / 0.6875 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001875/0.4264, allocations: 131.5 kB / 0.6876 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.604e-05/0.4264, allocations: 321.2 kB / 0.6879 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002462/0.4267, allocations: 120.7 kB / 0.688 GB, free: 1.113 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002477/0.4269, allocations: 177.8 kB / 0.6882 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003085/0.4273, allocations: 275.7 kB / 0.6885 GB, free: 0.7812 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.4273, allocations: 4 kB / 0.6885 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007423/0.428, allocations: 487.5 kB / 0.6889 GB, free: 0.5234 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.168e-05/0.4281, allocations: 91.38 kB / 0.689 GB, free: 448 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.4281, allocations: 6.219 kB / 0.689 GB, free: 444 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.4281, allocations: 2.188 kB / 0.689 GB, free: 444 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001592/0.4282, allocations: 22.77 kB / 0.689 GB, free: 436 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.4283, allocations: 6.359 kB / 0.689 GB, free: 432 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004986/0.4287, allocations: 66.72 kB / 0.6891 GB, free: 400 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.077e-05/0.4288, allocations: 60.67 kB / 0.6892 GB, free: 392 kB / 0.4981 GB 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.0001791/0.429, allocations: 191.3 kB / 0.6893 GB, free: 236 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.445e-05/0.4291, allocations: 41.89 kB / 0.6894 GB, free: 212 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.693e-05/0.4291, allocations: 43.48 kB / 0.6894 GB, free: 180 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.4291, allocations: 1.281 kB / 0.6894 GB, free: 180 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.4291, allocations: 5.031 kB / 0.6894 GB, free: 176 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.4291, allocations: 3.984 kB / 0.6894 GB, free: 172 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002299/0.4314, allocations: 0.7428 MB / 0.6902 GB, free: 15.64 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.4314, allocations: 0 / 0.6902 GB, free: 15.64 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.493e-05/0.4315, allocations: 8.594 kB / 0.6902 GB, free: 15.64 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.4315, allocations: 1.031 kB / 0.6902 GB, free: 15.64 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.4e-05/0.4315, allocations: 23.34 kB / 0.6902 GB, free: 15.63 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.4315, allocations: 1.156 kB / 0.6902 GB, free: 15.63 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.4315, allocations: 0 / 0.6902 GB, free: 15.63 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001865/0.4334, allocations: 483.8 kB / 0.6907 GB, free: 15.36 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002563/0.4336, allocations: 200.5 kB / 0.6908 GB, free: 15.19 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.068e-05/0.4337, allocations: 13.56 kB / 0.6909 GB, free: 15.18 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004885/0.4342, allocations: 26.62 kB / 0.6909 GB, free: 15.17 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.862e-05/0.4342, allocations: 8.391 kB / 0.6909 GB, free: 15.17 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-05/0.4343, allocations: 61.56 kB / 0.691 GB, free: 15.16 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.0003117/0.4346, allocations: 298.6 kB / 0.6912 GB, free: 14.98 MB / 0.5138 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4346, allocations: 0 / 0.6912 GB, free: 14.98 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.0003783/0.435, allocations: 70.27 kB / 0.6913 GB, free: 14.96 MB / 0.5138 GB 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.0001605/0.4352, allocations: 126.2 kB / 0.6914 GB, free: 14.86 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.001345/0.4365, allocations: 407.4 kB / 0.6918 GB, free: 14.61 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.4365, allocations: 1.031 kB / 0.6918 GB, free: 14.61 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.0008117/0.4373, allocations: 116 kB / 0.6919 GB, free: 14.57 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003567/0.4377, allocations: 33.97 kB / 0.692 GB, free: 14.54 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001596/0.4393, allocations: 0.5988 MB / 0.6925 GB, free: 14.14 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004211/0.4397, allocations: 0.7793 MB / 0.6933 GB, free: 13.39 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.599e-05/0.4397, allocations: 14.03 kB / 0.6933 GB, free: 13.39 MB / 0.5138 GB Notification: Performance of SimCode: time 5.81e-07/0.4397, allocations: 0 / 0.6933 GB, free: 13.39 MB / 0.5138 GB Notification: Performance of Templates: time 0.00613/0.4459, allocations: 3.719 MB / 0.697 GB, free: 11.35 MB / 0.5138 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime.sim & ./IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.871859472012147] Failed to read output from testmodel.py, exit status != 0: 0.4536861488595605 0.466808673 0.047369520000000005 Calling exit ...