Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData") translateModel(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007981/0.000798, allocations: 87.03 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008274/0.0008275, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.408/1.408, allocations: 205.4 MB / 222.1 MB, free: 5.621 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.675/1.675, allocations: 292.7 MB / 0.5499 GB, free: 14.57 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004887/0.0004887, allocations: 11.41 kB / 0.6737 GB, free: 26.06 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2338/0.2343, allocations: 116.3 MB / 0.7873 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData): time 0.004462/0.2389, allocations: 3.452 MB / 0.7906 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.6141/0.853, allocations: 136.4 MB / 0.9238 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005229/0.8536, allocations: 20.25 kB / 0.9239 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004624/0.8541, allocations: 126.3 kB / 0.924 GB, free: 5.422 MB / 0.7169 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/BoundaryConditions/WeatherData/BaseClasses/getHeaderElementTMY3.mo:2:1-105:25:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘ contains a call to impure function ‘Modelica.Utilities.Streams.readLine‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/BoundaryConditions/WeatherData/BaseClasses/getLongitudeTMY3.mo:2:1-48:21:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getLongitudeTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/BoundaryConditions/WeatherData/BaseClasses/getLatitudeTMY3.mo:2:1-48:20:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getLatitudeTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/BoundaryConditions/WeatherData/BaseClasses/getTimeZoneTMY3.mo:2:1-47:20:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getTimeZoneTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. Notification: Performance of NFTyping.typeBindings: time 0.0009508/0.8551, allocations: 329.4 kB / 0.9243 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00139/0.8565, allocations: 0.5273 MB / 0.9248 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0009057/0.8574, allocations: 0.9044 MB / 0.9257 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005161/0.8579, allocations: 352.6 kB / 0.926 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002949/0.8582, allocations: 242 kB / 0.9263 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000374/0.8586, allocations: 265 kB / 0.9265 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.476e-05/0.8586, allocations: 20.28 kB / 0.9265 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004135/0.8591, allocations: 204.8 kB / 0.9267 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001717/0.8592, allocations: 146.2 kB / 0.9269 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003597/0.8596, allocations: 154.2 kB / 0.927 GB, free: 21.19 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001057/0.8607, allocations: 0.8632 MB / 0.9279 GB, free: 21.12 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.8607, allocations: 0 / 0.9279 GB, free: 21.12 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.243e-06/0.8607, allocations: 0 / 0.9279 GB, free: 21.12 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.032e-05/0.8607, allocations: 0 / 0.9279 GB, free: 21.12 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.001461/0.8622, allocations: 0.9918 MB / 0.9288 GB, free: 20.46 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.8622, allocations: 8.531 kB / 0.9288 GB, free: 20.46 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002471/0.8625, allocations: 102.3 kB / 0.9289 GB, free: 20.41 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000806/0.8633, allocations: 0.6276 MB / 0.9295 GB, free: 20.12 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.153e-05/0.8633, allocations: 44.39 kB / 0.9296 GB, free: 20.12 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.13e-05/0.8634, allocations: 61.75 kB / 0.9296 GB, free: 20.11 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009829/0.8644, allocations: 0.6879 MB / 0.9303 GB, free: 19.93 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.717e-05/0.8644, allocations: 6.625 kB / 0.9303 GB, free: 19.93 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.751e-05/0.8645, allocations: 27.52 kB / 0.9304 GB, free: 19.93 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.476e-05/0.8645, allocations: 14.28 kB / 0.9304 GB, free: 19.93 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001199/0.8657, allocations: 0.9247 MB / 0.9313 GB, free: 19.91 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002671/0.8684, allocations: 2.334 MB / 0.9335 GB, free: 18.83 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008031/0.8692, allocations: 0.5889 MB / 0.9341 GB, free: 18.77 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002816/0.8695, allocations: 217.4 kB / 0.9343 GB, free: 18.75 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 6.661e-05/0.8696, allocations: 28.95 kB / 0.9344 GB, free: 18.75 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005121/0.8701, allocations: 357.9 kB / 0.9347 GB, free: 18.67 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=61): time 1.683e-06/0.8701, allocations: 0 / 0.9347 GB, free: 18.67 MB / 0.7325 GB Notification: Performance of matching and sorting (n=61): time 0.001163/0.8713, allocations: 0.6985 MB / 0.9354 GB, free: 18.58 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001233/0.8714, allocations: 239.6 kB / 0.9356 GB, free: 18.3 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007739/0.8722, allocations: 0.5721 MB / 0.9362 GB, free: 18.17 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.775e-05/0.8722, allocations: 44.17 kB / 0.9362 GB, free: 18.14 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002132/0.8725, allocations: 325.3 kB / 0.9365 GB, free: 17.99 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001308/0.8726, allocations: 200.9 kB / 0.9367 GB, free: 17.86 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.845e-05/0.8726, allocations: 12.94 kB / 0.9367 GB, free: 17.86 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001648/0.8728, allocations: 374.7 kB / 0.9371 GB, free: 17.55 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003055/0.8731, allocations: 184.9 kB / 0.9373 GB, free: 17.55 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003979/0.8735, allocations: 293.7 kB / 0.9375 GB, free: 17.48 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003526/0.8739, allocations: 229.6 kB / 0.9378 GB, free: 17.46 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.8739, allocations: 0.5 kB / 0.9378 GB, free: 17.46 MB / 0.7325 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0009303/0.8748, allocations: 0.6008 MB / 0.9383 GB, free: 17.38 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/0.8749, allocations: 5.031 kB / 0.9383 GB, free: 17.38 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.218e-06/0.8749, allocations: 5.484 kB / 0.9384 GB, free: 17.38 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.8749, allocations: 4.719 kB / 0.9384 GB, free: 17.38 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004853/0.8754, allocations: 128.4 kB / 0.9385 GB, free: 17.37 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.588e-05/0.8754, allocations: 4.438 kB / 0.9385 GB, free: 17.37 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004302/0.8758, allocations: 87.31 kB / 0.9386 GB, free: 17.34 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.013e-05/0.8759, allocations: 29.59 kB / 0.9386 GB, free: 17.34 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003128/0.8762, allocations: 241 kB / 0.9388 GB, free: 17.21 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.803e-05/0.8763, allocations: 72.88 kB / 0.9389 GB, free: 17.18 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001383/0.8777, allocations: 0.7547 MB / 0.9396 GB, free: 17.06 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.41e-05/0.8778, allocations: 11.73 kB / 0.9396 GB, free: 17.06 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.8778, allocations: 4.438 kB / 0.9396 GB, free: 17.05 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.286e-06/0.8778, allocations: 5.141 kB / 0.9397 GB, free: 17.05 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001028/0.8788, allocations: 0.8737 MB / 0.9405 GB, free: 16.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.8788, allocations: 4.562 kB / 0.9405 GB, free: 16.73 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004501/0.8793, allocations: 116.9 kB / 0.9406 GB, free: 16.72 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.248e-06/0.8793, allocations: 10.12 kB / 0.9406 GB, free: 16.72 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.057e-05/0.8794, allocations: 20.86 kB / 0.9407 GB, free: 16.72 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.913e-06/0.8794, allocations: 9.188 kB / 0.9407 GB, free: 16.71 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.8794, allocations: 1.125 kB / 0.9407 GB, free: 16.71 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009542/0.8803, allocations: 0.6262 MB / 0.9413 GB, free: 16.59 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002554/0.8806, allocations: 254.8 kB / 0.9415 GB, free: 16.45 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.925e-05/0.8807, allocations: 18.23 kB / 0.9415 GB, free: 16.44 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003563/0.8811, allocations: 56.81 kB / 0.9416 GB, free: 16.44 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.865e-05/0.8812, allocations: 49.75 kB / 0.9416 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.569e-05/0.8812, allocations: 28.38 kB / 0.9417 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004498/0.8817, allocations: 416 kB / 0.9421 GB, free: 16.34 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.71e-07/0.8817, allocations: 1.625 kB / 0.9421 GB, free: 16.34 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006769/0.8824, allocations: 222.3 kB / 0.9423 GB, free: 16.3 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001158/0.8835, allocations: 0.5542 MB / 0.9428 GB, free: 16.09 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0007679/0.8843, allocations: 0.4905 MB / 0.9433 GB, free: 16.07 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.8843, allocations: 1.188 kB / 0.9433 GB, free: 16.07 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003759/0.8847, allocations: 276.4 kB / 0.9436 GB, free: 16.05 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008757/0.8856, allocations: 229.7 kB / 0.9438 GB, free: 16.02 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001982/0.8876, allocations: 1.579 MB / 0.9453 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005524/0.8881, allocations: 0.9511 MB / 0.9462 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0006627/0.8888, allocations: 242.1 kB / 0.9465 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001925/0.889, allocations: 89.08 kB / 0.9466 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of SimCode: time 2.6e-07/0.889, allocations: 0 / 0.9466 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of Templates: time 0.01906/0.9081, allocations: 10.18 MB / 0.9565 GB, free: 12.42 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.sim & ./Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe 2>&1) Environment - environmentSimulation: