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.0008738/0.0008738, allocations: 97.33 kB / 15.36 MB, free: 0.7344 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.005716/0.005716, allocations: 169.5 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.548/1.548, allocations: 205.4 MB / 222.4 MB, free: 5.551 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.775/1.775, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.0006279/0.0006284, allocations: 13.16 kB / 0.6743 GB, free: 25.92 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2577/0.2584, allocations: 116.3 MB / 0.7879 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData): time 0.005274/0.2637, allocations: 3.636 MB / 0.7914 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.7098/0.9736, allocations: 146.3 MB / 0.9342 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006068/0.9742, allocations: 18.06 kB / 0.9343 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004798/0.9747, allocations: 127.7 kB / 0.9344 GB, free: 1.527 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.001228/0.976, allocations: 335.2 kB / 0.9347 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001752/0.9777, allocations: 0.6104 MB / 0.9353 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001084/0.9788, allocations: 0.9865 MB / 0.9363 GB, free: 1.254 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007228/0.9795, allocations: 484.6 kB / 0.9367 GB, free: 1.156 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003927/0.9799, allocations: 248.1 kB / 0.937 GB, free: 1.145 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004246/0.9804, allocations: 282.6 kB / 0.9372 GB, free: 1.133 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.367e-05/0.9805, allocations: 20.97 kB / 0.9372 GB, free: 1.133 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000575/0.981, allocations: 224.9 kB / 0.9375 GB, free: 1.121 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001681/0.9812, allocations: 149.5 kB / 0.9376 GB, free: 1.113 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004213/0.9816, allocations: 360.9 kB / 0.938 GB, free: 17.08 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001105/0.9828, allocations: 1.09 MB / 0.939 GB, free: 17 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.9828, allocations: 0 / 0.939 GB, free: 17 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.765e-06/0.9828, allocations: 0 / 0.939 GB, free: 17 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.191e-05/0.9828, allocations: 0 / 0.939 GB, free: 17 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.001637/0.9845, allocations: 0.978 MB / 0.94 GB, free: 16.35 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.9845, allocations: 14.06 kB / 0.94 GB, free: 16.35 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002901/0.9848, allocations: 97.89 kB / 0.9401 GB, free: 16.3 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009166/0.9857, allocations: 0.6549 MB / 0.9407 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.555e-05/0.9858, allocations: 44.31 kB / 0.9408 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.607e-05/0.9859, allocations: 65.83 kB / 0.9408 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001202/0.9871, allocations: 0.6957 MB / 0.9415 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.857e-05/0.9871, allocations: 0 / 0.9415 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.228e-05/0.9872, allocations: 29.53 kB / 0.9415 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.876e-05/0.9872, allocations: 15.22 kB / 0.9415 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001664/0.9889, allocations: 0.914 MB / 0.9424 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003497/0.9924, allocations: 2.342 MB / 0.9447 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001035/0.9935, allocations: 0.604 MB / 0.9453 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003828/0.9939, allocations: 217.3 kB / 0.9455 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001032/0.994, allocations: 30.61 kB / 0.9456 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008043/0.9948, allocations: 355.1 kB / 0.9459 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=61): time 3.045e-06/0.9948, allocations: 0 / 0.9459 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of matching and sorting (n=61): time 0.001719/0.9965, allocations: 0.7035 MB / 0.9466 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001689/0.9967, allocations: 241.7 kB / 0.9468 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009799/0.9977, allocations: 0.5836 MB / 0.9474 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.684e-05/0.9978, allocations: 35.95 kB / 0.9474 GB, free: 14 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003077/0.9981, allocations: 324 kB / 0.9477 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001926/0.9983, allocations: 203.5 kB / 0.9479 GB, free: 13.72 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001001/0.9984, allocations: 60.78 kB / 0.948 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002213/0.9986, allocations: 373.8 kB / 0.9483 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000344/0.999, allocations: 190.9 kB / 0.9485 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004557/0.9994, allocations: 293.1 kB / 0.9488 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007938/1, allocations: 472.9 kB / 0.9492 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/1, allocations: 5.094 kB / 0.9492 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001123/1.001, allocations: 0.6034 MB / 0.9498 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.549e-05/1.001, allocations: 5.094 kB / 0.9498 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/1.001, allocations: 2.25 kB / 0.9498 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.096e-05/1.001, allocations: 3.688 kB / 0.9498 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005387/1.002, allocations: 131.6 kB / 0.95 GB, free: 13.15 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.442e-05/1.002, allocations: 11.42 kB / 0.95 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005389/1.003, allocations: 79.22 kB / 0.9501 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.087e-05/1.003, allocations: 32.83 kB / 0.9501 GB, free: 13.12 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 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003975/1.003, allocations: 240.4 kB / 0.9503 GB, free: 12.99 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001164/1.003, allocations: 71.33 kB / 0.9504 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001501/1.005, allocations: 0.7503 MB / 0.9511 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-05/1.005, allocations: 7.312 kB / 0.9511 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.361e-06/1.005, allocations: 2.891 kB / 0.9511 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.12e-05/1.005, allocations: 5.688 kB / 0.9511 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001071/1.006, allocations: 0.8946 MB / 0.952 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/1.006, allocations: 1.062 kB / 0.952 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004066/1.006, allocations: 123.4 kB / 0.9521 GB, free: 12.51 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.665e-06/1.006, allocations: 3.375 kB / 0.9521 GB, free: 12.51 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.563e-05/1.006, allocations: 17 kB / 0.9521 GB, free: 12.51 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.479e-06/1.006, allocations: 2 kB / 0.9521 GB, free: 12.51 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/1.006, allocations: 1.25 kB / 0.9521 GB, free: 12.51 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009375/1.007, allocations: 0.6367 MB / 0.9528 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002909/1.008, allocations: 253.7 kB / 0.953 GB, free: 12.24 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.535e-05/1.008, allocations: 14.53 kB / 0.953 GB, free: 12.24 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004159/1.008, allocations: 50.69 kB / 0.9531 GB, free: 12.24 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001147/1.008, allocations: 56.88 kB / 0.9531 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.369e-05/1.008, allocations: 30.77 kB / 0.9532 GB, free: 12.22 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0005617/1.009, allocations: 420.4 kB / 0.9536 GB, free: 12.13 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9.21e-07/1.009, allocations: 0 / 0.9536 GB, free: 12.13 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0008045/1.01, allocations: 224.5 kB / 0.9538 GB, free: 12.09 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 (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.001277/1.011, allocations: 0.5522 MB / 0.9543 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0008832/1.012, allocations: 0.5023 MB / 0.9548 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/1.012, allocations: 0 / 0.9548 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0004336/1.012, allocations: 279.2 kB / 0.9551 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001149/1.013, allocations: 235 kB / 0.9553 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002847/1.016, allocations: 1.629 MB / 0.9569 GB, free: 10.97 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006842/1.017, allocations: 0.9509 MB / 0.9578 GB, free: 10.26 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000852/1.018, allocations: 235.4 kB / 0.958 GB, free: 10.2 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002311/1.018, allocations: 92.11 kB / 0.9581 GB, free: 10.19 MB / 0.7325 GB Notification: Performance of SimCode: time 1.183e-06/1.018, allocations: 0 / 0.9581 GB, free: 10.19 MB / 0.7325 GB Notification: Performance of Templates: time 0.02006/1.038, allocations: 10.5 MB / 0.9684 GB, free: 5.98 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: