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.0009538/0.0009538, allocations: 88.23 kB / 20.46 MB, free: 4.113 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.0009386/0.0009386, allocations: 161 kB / 23.82 MB, free: 0.7461 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.9654/0.9654, allocations: 177.1 MB / 204.2 MB, free: 5.605 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.6345/0.6345, allocations: 110.2 MB / 371 MB, free: 12.5 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 2.635e-06/2.635e-06, allocations: 3.938 kB / 475.1 MB, free: 15.19 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.651e-05/3.914e-05, allocations: 2.312 kB / 475.2 MB, free: 15.19 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime): time 0.00222/0.00226, allocations: 1.526 MB / 476.7 MB, free: 14.17 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007057/0.002965, allocations: 434.4 kB / 477.1 MB, free: 13.9 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.024e-05/0.003026, allocations: 0 / 477.1 MB, free: 13.9 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001046/0.00313, allocations: 7.172 kB / 477.1 MB, free: 13.89 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001146/0.003245, allocations: 24.78 kB / 477.1 MB, free: 13.88 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006287/0.003874, allocations: 255.7 kB / 477.4 MB, free: 13.75 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003032/0.004177, allocations: 314.9 kB / 477.7 MB, free: 13.62 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.113e-05/0.004218, allocations: 7.234 kB / 477.7 MB, free: 13.62 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002532/0.004471, allocations: 244.2 kB / 477.9 MB, free: 13.54 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001806/0.004652, allocations: 109 kB / 478 MB, free: 13.51 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.818e-05/0.0047, allocations: 19.53 kB / 478.1 MB, free: 13.51 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.965e-05/0.00474, allocations: 20.97 kB / 478.1 MB, free: 13.51 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.857e-05/0.004818, allocations: 89.48 kB / 478.2 MB, free: 13.46 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.671e-05/0.004905, allocations: 85.33 kB / 478.3 MB, free: 13.43 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002489/0.005154, allocations: 265.8 kB / 478.5 MB, free: 13.32 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.005156, allocations: 0 / 478.5 MB, free: 13.32 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.005158, allocations: 1.25 kB / 478.5 MB, free: 13.32 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.216e-06/0.005166, allocations: 0 / 478.5 MB, free: 13.32 MB / 410.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.0007258/0.005892, allocations: 0.7821 MB / 479.3 MB, free: 12.63 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.005931, allocations: 11.94 kB / 479.3 MB, free: 12.63 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001087/0.00604, allocations: 34.52 kB / 479.3 MB, free: 12.62 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002054/0.006245, allocations: 222.5 kB / 479.6 MB, free: 12.43 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.151e-05/0.006277, allocations: 9.5 kB / 479.6 MB, free: 12.43 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.658e-05/0.006313, allocations: 24.36 kB / 479.6 MB, free: 12.43 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003271/0.00664, allocations: 189.7 kB / 479.8 MB, free: 12.37 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.006648, allocations: 0 / 479.8 MB, free: 12.37 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.935e-05/0.006667, allocations: 6.047 kB / 479.8 MB, free: 12.37 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.006674, allocations: 0 / 479.8 MB, free: 12.37 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.509e-05/0.00676, allocations: 50.78 kB / 479.8 MB, free: 12.36 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002267/0.006986, allocations: 239.3 kB / 480.1 MB, free: 12.18 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001782/0.007165, allocations: 117.9 kB / 480.2 MB, free: 12.12 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.901e-05/0.007244, allocations: 59.19 kB / 480.2 MB, free: 12.11 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.966e-05/0.007263, allocations: 3.031 kB / 480.2 MB, free: 12.11 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001709/0.007434, allocations: 173.4 kB / 480.4 MB, free: 12.04 MB / 410.7 MB Notification: Performance of pre-optimization done (n=16): time 1.262e-06/0.007435, allocations: 0 / 480.4 MB, free: 12.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004506/0.007886, allocations: 324.7 kB / 480.7 MB, free: 11.95 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.177e-05/0.007918, allocations: 60.36 kB / 480.8 MB, free: 11.89 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001735/0.008091, allocations: 326.1 kB / 481.1 MB, free: 11.67 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.476e-05/0.008116, allocations: 36.83 kB / 481.1 MB, free: 11.63 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.207e-05/0.008158, allocations: 136.7 kB / 481.3 MB, free: 11.5 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.284e-05/0.008191, allocations: 49.3 kB / 481.3 MB, free: 11.46 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.325e-05/0.008284, allocations: 103.7 kB / 481.4 MB, free: 11.41 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002709/0.008555, allocations: 0.4905 MB / 481.9 MB, free: 26.91 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001559/0.008711, allocations: 137.2 kB / 482 MB, free: 26.84 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001446/0.008855, allocations: 207.1 kB / 482.2 MB, free: 26.68 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000183/0.009038, allocations: 229.4 kB / 482.5 MB, free: 26.5 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.009042, allocations: 3.75 kB / 482.5 MB, free: 26.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004169/0.009459, allocations: 452.8 kB / 482.9 MB, free: 26.27 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.542e-05/0.009504, allocations: 78.64 kB / 483 MB, free: 26.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.00951, allocations: 1.188 kB / 483 MB, free: 26.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.009524, allocations: 3.812 kB / 483 MB, free: 26.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001355/0.009659, allocations: 35 kB / 483 MB, free: 26.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.009666, allocations: 2.469 kB / 483 MB, free: 26.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001631/0.009829, allocations: 49.91 kB / 483.1 MB, free: 26.18 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.603e-05/0.009875, allocations: 43.45 kB / 483.1 MB, free: 26.18 MB / 426.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.0001185/0.009993, allocations: 185 kB / 483.3 MB, free: 26 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.419e-05/0.01004, allocations: 32.12 kB / 483.3 MB, free: 25.99 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.653e-05/0.01007, allocations: 26.31 kB / 483.4 MB, free: 25.97 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.01008, allocations: 1.219 kB / 483.4 MB, free: 25.97 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.349e-06/0.01008, allocations: 1.656 kB / 483.4 MB, free: 25.97 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.01008, allocations: 1.125 kB / 483.4 MB, free: 25.97 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005987/0.01068, allocations: 0.6104 MB / 484 MB, free: 25.59 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.01069, allocations: 4.062 kB / 484 MB, free: 25.59 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.942e-05/0.01071, allocations: 4.25 kB / 484 MB, free: 25.59 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.01072, allocations: 4.406 kB / 484 MB, free: 25.59 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.163e-05/0.01074, allocations: 19.78 kB / 484 MB, free: 25.59 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/0.01074, allocations: 5.391 kB / 484 MB, free: 25.59 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.01074, allocations: 4 kB / 484 MB, free: 25.58 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003665/0.01111, allocations: 429.4 kB / 484.4 MB, free: 25.34 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001031/0.01121, allocations: 83.17 kB / 484.5 MB, free: 25.31 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.313e-05/0.01126, allocations: 9.219 kB / 484.5 MB, free: 25.31 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001407/0.0114, allocations: 23.31 kB / 484.6 MB, free: 25.31 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.039e-05/0.01143, allocations: 11.09 kB / 484.6 MB, free: 25.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.966e-05/0.01147, allocations: 42.06 kB / 484.6 MB, free: 25.3 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001134/0.01158, allocations: 216 kB / 484.8 MB, free: 25.16 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01158, allocations: 0 / 484.8 MB, free: 25.16 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000216/0.0118, allocations: 49.3 kB / 484.9 MB, free: 25.16 MB / 426.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.0001065/0.0119, allocations: 120.4 kB / 485 MB, free: 25.06 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003545/0.01226, allocations: 369.9 kB / 485.3 MB, free: 24.83 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.01226, allocations: 0 / 485.3 MB, free: 24.83 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.537e-05/0.01235, allocations: 74.27 kB / 485.4 MB, free: 24.81 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002496/0.0126, allocations: 53.28 kB / 485.5 MB, free: 24.79 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006393/0.01324, allocations: 363.6 kB / 485.8 MB, free: 24.56 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.347e-05/0.01329, allocations: 76.03 kB / 485.9 MB, free: 24.49 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.704e-05/0.01332, allocations: 14.25 kB / 485.9 MB, free: 24.49 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.564e-05/0.01336, allocations: 18.34 kB / 485.9 MB, free: 24.48 MB / 426.7 MB Notification: Performance of SimCode: time 9.81e-07/0.01336, allocations: 0 / 485.9 MB, free: 24.48 MB / 426.7 MB Notification: Performance of Templates: time 0.006708/0.02007, allocations: 4.711 MB / 490.6 MB, free: 23.78 MB / 426.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=240 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5547970198094845]