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.002739/0.002739, allocations: 87.67 kB / 20.24 MB, free: 4.188 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.003295/0.003295, allocations: 161.3 kB / 23.55 MB, free: 0.875 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 1.787/1.787, allocations: 177.1 MB / 203.9 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] 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 1.012/1.012, allocations: 110.3 MB / 370.6 MB, free: 12.48 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 178] 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.793e-06/1.793e-06, allocations: 0 / 474.4 MB, free: 15.32 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.853e-05/4.033e-05, allocations: 4.844 kB / 474.4 MB, free: 15.32 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime): time 0.002953/0.002993, allocations: 1.495 MB / 475.9 MB, free: 14.31 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009835/0.003977, allocations: 427.9 kB / 476.3 MB, free: 14.04 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.317e-05/0.00404, allocations: 0 / 476.3 MB, free: 14.04 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001319/0.004172, allocations: 16.05 kB / 476.3 MB, free: 14.03 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001259/0.004298, allocations: 23.44 kB / 476.4 MB, free: 14.02 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007014/0.004999, allocations: 252.1 kB / 476.6 MB, free: 13.89 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003539/0.005353, allocations: 318.2 kB / 476.9 MB, free: 13.76 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.922e-05/0.005402, allocations: 7.391 kB / 476.9 MB, free: 13.76 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000358/0.00576, allocations: 251.3 kB / 477.2 MB, free: 13.67 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002375/0.005998, allocations: 101.9 kB / 477.3 MB, free: 13.64 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.845e-05/0.006086, allocations: 18.75 kB / 477.3 MB, free: 13.64 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.248e-05/0.006158, allocations: 22.69 kB / 477.3 MB, free: 13.64 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000121/0.006279, allocations: 82.52 kB / 477.4 MB, free: 13.61 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001285/0.006408, allocations: 89.59 kB / 477.5 MB, free: 13.57 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003983/0.006806, allocations: 335.2 kB / 477.8 MB, free: 13.45 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.00681, allocations: 3.938 kB / 477.8 MB, free: 13.44 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.02e-07/0.00681, allocations: 3.938 kB / 477.8 MB, free: 13.44 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.723e-06/0.006817, allocations: 2.938 kB / 477.8 MB, free: 13.44 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.001083/0.0079, allocations: 0.7844 MB / 478.6 MB, free: 12.75 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.007943, allocations: 10.28 kB / 478.6 MB, free: 12.75 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001205/0.008063, allocations: 38.66 kB / 478.6 MB, free: 12.73 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003316/0.008395, allocations: 214.2 kB / 478.9 MB, free: 12.55 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.179e-05/0.008437, allocations: 13.62 kB / 478.9 MB, free: 12.55 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.469e-05/0.008492, allocations: 23.73 kB / 478.9 MB, free: 12.54 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005628/0.009054, allocations: 187.6 kB / 479.1 MB, free: 12.49 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.009069, allocations: 0 / 479.1 MB, free: 12.49 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.556e-05/0.009094, allocations: 2.938 kB / 479.1 MB, free: 12.49 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.009101, allocations: 1 kB / 479.1 MB, free: 12.49 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003546/0.009455, allocations: 76.97 kB / 479.2 MB, free: 12.48 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003627/0.009818, allocations: 257.4 kB / 479.4 MB, free: 12.29 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005479/0.01037, allocations: 147.3 kB / 479.6 MB, free: 12.23 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003631/0.01073, allocations: 92.03 kB / 479.6 MB, free: 12.2 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.716e-05/0.01077, allocations: 2.875 kB / 479.6 MB, free: 12.2 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004744/0.01124, allocations: 205.9 kB / 479.8 MB, free: 12.12 MB / 410.7 MB Notification: Performance of pre-optimization done (n=16): time 1.503e-06/0.01124, allocations: 0 / 479.8 MB, free: 12.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=16): time 0.001333/0.01258, allocations: 401.6 kB / 480.2 MB, free: 12.02 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.98e-05/0.01261, allocations: 64.69 kB / 480.3 MB, free: 11.95 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002643/0.01288, allocations: 352.1 kB / 480.6 MB, free: 11.72 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.618e-05/0.01292, allocations: 43.3 kB / 480.7 MB, free: 11.68 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.603e-05/0.01298, allocations: 141.2 kB / 480.8 MB, free: 11.55 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.261e-05/0.01302, allocations: 45.12 kB / 480.9 MB, free: 11.51 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001476/0.01317, allocations: 112.6 kB / 481 MB, free: 11.46 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0005388/0.01371, allocations: 0.4969 MB / 481.5 MB, free: 26.96 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002519/0.01396, allocations: 155.9 kB / 481.6 MB, free: 26.87 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002836/0.01425, allocations: 234.3 kB / 481.9 MB, free: 26.7 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003484/0.01459, allocations: 270.1 kB / 482.1 MB, free: 26.49 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.0146, allocations: 0.8125 kB / 482.1 MB, free: 26.49 MB / 426.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007562/0.01535, allocations: 494.9 kB / 482.6 MB, free: 26.25 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000103/0.01546, allocations: 80.81 kB / 482.7 MB, free: 26.17 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.01547, allocations: 3 kB / 482.7 MB, free: 26.17 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.314e-05/0.01549, allocations: 6.719 kB / 482.7 MB, free: 26.17 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002084/0.0157, allocations: 36.48 kB / 482.7 MB, free: 26.16 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.151e-05/0.01571, allocations: 3.5 kB / 482.7 MB, free: 26.16 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003016/0.01601, allocations: 48.91 kB / 482.8 MB, free: 26.15 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.298e-05/0.01609, allocations: 42.59 kB / 482.8 MB, free: 26.14 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.0002315/0.01632, allocations: 192.8 kB / 483 MB, free: 25.97 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.605e-05/0.0164, allocations: 26.7 kB / 483 MB, free: 25.96 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.275e-05/0.01646, allocations: 29.38 kB / 483.1 MB, free: 25.94 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.01647, allocations: 7.203 kB / 483.1 MB, free: 25.93 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.01647, allocations: 1.656 kB / 483.1 MB, free: 25.93 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.301e-06/0.01648, allocations: 3.375 kB / 483.1 MB, free: 25.93 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001491/0.01797, allocations: 0.6746 MB / 483.8 MB, free: 25.54 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.01797, allocations: 0 / 483.8 MB, free: 25.54 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.435e-05/0.01801, allocations: 7.781 kB / 483.8 MB, free: 25.54 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.01801, allocations: 2.688 kB / 483.8 MB, free: 25.54 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.826e-05/0.01805, allocations: 20.52 kB / 483.8 MB, free: 25.54 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.01805, allocations: 0 / 483.8 MB, free: 25.54 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.01805, allocations: 5.25 kB / 483.8 MB, free: 25.53 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001057/0.01911, allocations: 480.6 kB / 484.3 MB, free: 25.29 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000208/0.01932, allocations: 78.3 kB / 484.3 MB, free: 25.26 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.511e-05/0.01938, allocations: 14.39 kB / 484.3 MB, free: 25.25 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002542/0.01964, allocations: 20.89 kB / 484.4 MB, free: 25.25 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.684e-05/0.01968, allocations: 7.375 kB / 484.4 MB, free: 25.25 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-05/0.01975, allocations: 46.69 kB / 484.4 MB, free: 25.25 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002323/0.01999, allocations: 224.5 kB / 484.6 MB, free: 25.1 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01999, allocations: 1.219 kB / 484.6 MB, free: 25.1 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003292/0.02032, allocations: 47.41 kB / 484.7 MB, free: 25.1 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.0001855/0.0205, allocations: 122.6 kB / 484.8 MB, free: 25 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0009112/0.02141, allocations: 446.6 kB / 485.2 MB, free: 24.74 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.02141, allocations: 1.031 kB / 485.2 MB, free: 24.74 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004003/0.02181, allocations: 106.5 kB / 485.3 MB, free: 24.71 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004051/0.02222, allocations: 48.64 kB / 485.4 MB, free: 24.7 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00102/0.02324, allocations: 391 kB / 485.8 MB, free: 24.45 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001501/0.02339, allocations: 127.9 kB / 485.9 MB, free: 24.37 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.129e-05/0.02345, allocations: 12.73 kB / 485.9 MB, free: 24.37 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.059e-05/0.0235, allocations: 16.44 kB / 485.9 MB, free: 24.36 MB / 426.7 MB Notification: Performance of SimCode: time 4.61e-07/0.0235, allocations: 1.344 kB / 485.9 MB, free: 24.36 MB / 426.7 MB Notification: Performance of Templates: time 0.009569/0.03307, allocations: 4.287 MB / 490.2 MB, free: 23.81 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: 6.594018784002401]