Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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.0008772/0.0008772, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0009345/0.0009345, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8441/0.8441, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.5003/0.5003, allocations: 110.2 MB / 370.2 MB, free: 12.63 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:44:3-56:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:58:3-65:19:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:67:3-72:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:74:3-79:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/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(BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime") translateModel(BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 0.5485 GB, free: 8.316 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.871e-05/1.992e-05, allocations: 2.281 kB / 0.5485 GB, free: 8.312 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime): time 0.001948/0.001968, allocations: 1.471 MB / 0.5499 GB, free: 6.824 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006216/0.00259, allocations: 427 kB / 0.5503 GB, free: 6.402 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.067e-05/0.002641, allocations: 0 / 0.5503 GB, free: 6.402 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 7.685e-05/0.002717, allocations: 7.922 kB / 0.5503 GB, free: 6.395 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 8.736e-05/0.002805, allocations: 24.23 kB / 0.5503 GB, free: 6.371 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005274/0.003332, allocations: 266.9 kB / 0.5506 GB, free: 6.113 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002695/0.003602, allocations: 323.5 kB / 0.5509 GB, free: 5.797 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.41e-05/0.003636, allocations: 4 kB / 0.5509 GB, free: 5.793 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002333/0.003869, allocations: 259.6 kB / 0.5512 GB, free: 5.539 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001565/0.004026, allocations: 96.17 kB / 0.5512 GB, free: 5.445 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 3.755e-05/0.004063, allocations: 20 kB / 0.5513 GB, free: 5.426 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.405e-05/0.004097, allocations: 20 kB / 0.5513 GB, free: 5.406 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 7.96e-05/0.004177, allocations: 87.77 kB / 0.5514 GB, free: 5.32 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 7.07e-05/0.004247, allocations: 87.75 kB / 0.5514 GB, free: 5.234 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002576/0.004505, allocations: 339 kB / 0.5518 GB, free: 4.902 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.004507, allocations: 0 / 0.5518 GB, free: 4.902 MB / 474.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.004508, allocations: 0 / 0.5518 GB, free: 4.902 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.388e-06/0.004513, allocations: 4 kB / 0.5518 GB, free: 4.898 MB / 474.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.000691/0.005204, allocations: 0.667 MB / 0.5524 GB, free: 4.164 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.137e-05/0.005235, allocations: 12.03 kB / 0.5524 GB, free: 4.152 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.588e-05/0.005301, allocations: 32.8 kB / 0.5525 GB, free: 4.121 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002085/0.005509, allocations: 217.8 kB / 0.5527 GB, free: 3.887 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.809e-05/0.005537, allocations: 8.375 kB / 0.5527 GB, free: 3.879 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.542e-05/0.005573, allocations: 24.36 kB / 0.5527 GB, free: 3.855 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000472/0.006045, allocations: 217.8 kB / 0.5529 GB, free: 3.637 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.006052, allocations: 0 / 0.5529 GB, free: 3.637 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.64e-05/0.006069, allocations: 4 kB / 0.5529 GB, free: 3.633 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.006073, allocations: 0 / 0.5529 GB, free: 3.633 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003286/0.006402, allocations: 115.9 kB / 0.553 GB, free: 3.52 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002015/0.006603, allocations: 217.1 kB / 0.5532 GB, free: 3.277 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004577/0.007061, allocations: 182.4 kB / 0.5534 GB, free: 3.09 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003169/0.007378, allocations: 116.8 kB / 0.5535 GB, free: 2.973 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.907e-05/0.007397, allocations: 0 / 0.5535 GB, free: 2.973 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004347/0.007832, allocations: 229.7 kB / 0.5537 GB, free: 2.738 MB / 474.7 MB Notification: Performance of pre-optimization done (n=16): time 1.122e-06/0.007833, allocations: 0 / 0.5537 GB, free: 2.738 MB / 474.7 MB Notification: Performance of matching and sorting (n=16): time 0.001139/0.008972, allocations: 0.4932 MB / 0.5542 GB, free: 2.238 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.241e-05/0.009004, allocations: 63.39 kB / 0.5543 GB, free: 2.164 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001777/0.009182, allocations: 288.2 kB / 0.5546 GB, free: 1.875 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.799e-05/0.00921, allocations: 37.7 kB / 0.5546 GB, free: 1.832 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.536e-05/0.009255, allocations: 93.12 kB / 0.5547 GB, free: 1.734 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.555e-05/0.009291, allocations: 43.62 kB / 0.5547 GB, free: 1.691 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.373e-05/0.009384, allocations: 97.53 kB / 0.5548 GB, free: 1.59 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.366e-05/0.009458, allocations: 330.8 kB / 0.5551 GB, free: 1.258 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001483/0.009606, allocations: 151.3 kB / 0.5553 GB, free: 1.098 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001513/0.009758, allocations: 198.3 kB / 0.5555 GB, free: 0.8711 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000193/0.009951, allocations: 235.5 kB / 0.5557 GB, free: 0.6094 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.009953, allocations: 0 / 0.5557 GB, free: 0.6094 MB / 474.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006378/0.01059, allocations: 468.1 kB / 0.5561 GB, free: 124 kB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.566e-05/0.01064, allocations: 83.31 kB / 0.5562 GB, free: 28 kB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.01064, allocations: 0 / 0.5562 GB, free: 28 kB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.01065, allocations: 4 kB / 0.5562 GB, free: 24 kB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.055e-05/0.01075, allocations: 19.92 kB / 0.5562 GB, free: 4 kB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.01075, allocations: 4 kB / 0.5562 GB, free: 0 / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002179/0.01097, allocations: 68.22 kB / 0.5563 GB, free: 15.93 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.023e-05/0.01101, allocations: 39.98 kB / 0.5563 GB, free: 15.89 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.0001207/0.01113, allocations: 173.7 kB / 0.5565 GB, free: 15.71 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.496e-05/0.01115, allocations: 23.86 kB / 0.5565 GB, free: 15.69 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.51e-05/0.01119, allocations: 37.92 kB / 0.5566 GB, free: 15.66 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.01119, allocations: 4 kB / 0.5566 GB, free: 15.65 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.0112, allocations: 0 / 0.5566 GB, free: 15.65 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.319e-06/0.0112, allocations: 4 kB / 0.5566 GB, free: 15.65 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00101/0.01221, allocations: 0.6641 MB / 0.5572 GB, free: 14.95 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.01221, allocations: 3.984 kB / 0.5572 GB, free: 14.94 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.867e-05/0.01223, allocations: 4 kB / 0.5572 GB, free: 14.94 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.01223, allocations: 0 / 0.5572 GB, free: 14.94 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.793e-05/0.01225, allocations: 15.97 kB / 0.5573 GB, free: 14.92 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.01225, allocations: 0 / 0.5573 GB, free: 14.92 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.01226, allocations: 8 kB / 0.5573 GB, free: 14.91 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007561/0.01301, allocations: 487.4 kB / 0.5577 GB, free: 14.42 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001149/0.01313, allocations: 90.08 kB / 0.5578 GB, free: 14.34 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.018e-05/0.01317, allocations: 11.98 kB / 0.5578 GB, free: 14.32 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001974/0.01336, allocations: 39.97 kB / 0.5579 GB, free: 14.29 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.312e-05/0.01339, allocations: 7.984 kB / 0.5579 GB, free: 14.28 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.188e-05/0.01342, allocations: 43.97 kB / 0.5579 GB, free: 14.23 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001164/0.01354, allocations: 207.1 kB / 0.5581 GB, free: 14.03 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01354, allocations: 0 / 0.5581 GB, free: 14.03 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002053/0.01374, allocations: 55.98 kB / 0.5582 GB, free: 13.98 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.0001011/0.01384, allocations: 117.2 kB / 0.5583 GB, free: 13.86 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0005971/0.01444, allocations: 436.7 kB / 0.5587 GB, free: 13.39 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.01444, allocations: 0 / 0.5587 GB, free: 13.39 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003245/0.01476, allocations: 123.9 kB / 0.5588 GB, free: 13.27 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002228/0.01499, allocations: 30.83 kB / 0.5588 GB, free: 13.25 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007042/0.01569, allocations: 480.4 kB / 0.5593 GB, free: 12.75 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.421e-05/0.01578, allocations: 136.7 kB / 0.5594 GB, free: 12.59 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.433e-05/0.01581, allocations: 16.5 kB / 0.5594 GB, free: 12.58 MB / 490.7 MB Notification: Performance of SimCode: time 4.91e-07/0.01581, allocations: 3.938 kB / 0.5594 GB, free: 12.57 MB / 490.7 MB Notification: Performance of Templates: time 0.003176/0.01899, allocations: 2.884 MB / 0.5623 GB, free: 9.695 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.706719069741666] Failed to read output from testmodel.py, exit status != 0: 0.024321728385984898 0.031600187 0.025576864 Calling exit ...