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.00155/0.00155, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001979/0.001979, allocations: 192.3 kB / 16.13 MB, free: 6.699 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.431/1.431, allocations: 205.1 MB / 222 MB, free: 4.773 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.718/1.718, allocations: 292.2 MB / 0.5484 GB, free: 13.67 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.001551/0.00155, allocations: 62.91 kB / 0.6708 GB, free: 26.52 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2637/0.2652, allocations: 114.5 MB / 0.7827 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData): time 0.007342/0.2726, allocations: 4.036 MB / 0.7866 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.6047/0.8773, allocations: 147.9 MB / 0.931 GB, free: 5.219 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001129/0.8785, allocations: 16.94 kB / 0.931 GB, free: 5.219 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.000884/0.8794, allocations: 131.1 kB / 0.9311 GB, free: 5.219 MB / 0.7325 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.001799/0.8813, allocations: 331 kB / 0.9314 GB, free: 5.215 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.00197/0.8833, allocations: 0.5992 MB / 0.932 GB, free: 5.207 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001604/0.8849, allocations: 0.9896 MB / 0.933 GB, free: 5.199 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001002/0.8859, allocations: 491.1 kB / 0.9335 GB, free: 5.105 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007471/0.8866, allocations: 294.9 kB / 0.9337 GB, free: 5.105 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00078/0.8874, allocations: 338.5 kB / 0.9341 GB, free: 5.105 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0002302/0.8877, allocations: 38.69 kB / 0.9341 GB, free: 5.105 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008102/0.8885, allocations: 243.8 kB / 0.9343 GB, free: 5.105 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003271/0.8888, allocations: 180.5 kB / 0.9345 GB, free: 5.105 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0008817/0.8897, allocations: 378 kB / 0.9349 GB, free: 5.105 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002042/0.8918, allocations: 1.124 MB / 0.936 GB, free: 5.035 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.8918, allocations: 1.781 kB / 0.936 GB, free: 5.035 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.663e-06/0.8918, allocations: 4 kB / 0.936 GB, free: 5.031 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.773e-05/0.8919, allocations: 3.75 kB / 0.936 GB, free: 5.031 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.00325/0.8951, allocations: 1.147 MB / 0.9371 GB, free: 20.37 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.8952, allocations: 8.938 kB / 0.9371 GB, free: 20.37 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004332/0.8956, allocations: 106.5 kB / 0.9372 GB, free: 20.32 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001345/0.897, allocations: 0.66 MB / 0.9379 GB, free: 20.02 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.523e-05/0.897, allocations: 46.64 kB / 0.9379 GB, free: 20.02 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001035/0.8971, allocations: 56.88 kB / 0.938 GB, free: 20.02 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001502/0.8986, allocations: 0.6929 MB / 0.9386 GB, free: 19.84 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.75e-05/0.8987, allocations: 3.219 kB / 0.9386 GB, free: 19.84 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.754e-05/0.8988, allocations: 27.42 kB / 0.9387 GB, free: 19.84 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.005e-05/0.8988, allocations: 14.84 kB / 0.9387 GB, free: 19.84 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001511/0.9003, allocations: 0.9181 MB / 0.9396 GB, free: 19.84 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003541/0.9039, allocations: 2.319 MB / 0.9418 GB, free: 18.79 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000918/0.9048, allocations: 0.6004 MB / 0.9424 GB, free: 18.72 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003047/0.9051, allocations: 224.3 kB / 0.9426 GB, free: 18.7 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 6.699e-05/0.9052, allocations: 28.28 kB / 0.9427 GB, free: 18.7 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006243/0.9058, allocations: 353.2 kB / 0.943 GB, free: 18.62 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=61): time 2.535e-06/0.9059, allocations: 3.828 kB / 0.943 GB, free: 18.62 MB / 0.7481 GB Notification: Performance of matching and sorting (n=61): time 0.001229/0.9071, allocations: 0.7066 MB / 0.9437 GB, free: 18.54 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001315/0.9072, allocations: 239.8 kB / 0.9439 GB, free: 18.25 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007483/0.908, allocations: 0.5768 MB / 0.9445 GB, free: 18.13 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 7.219e-05/0.9081, allocations: 36.67 kB / 0.9445 GB, free: 18.1 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.000242/0.9083, allocations: 327.9 kB / 0.9448 GB, free: 17.94 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001333/0.9085, allocations: 210.5 kB / 0.945 GB, free: 17.81 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001953/0.9087, allocations: 139.8 kB / 0.9452 GB, free: 17.79 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001609/0.9088, allocations: 376.3 kB / 0.9455 GB, free: 17.48 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003176/0.9092, allocations: 187.8 kB / 0.9457 GB, free: 17.48 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004066/0.9096, allocations: 292 kB / 0.946 GB, free: 17.41 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008576/0.9104, allocations: 480 kB / 0.9464 GB, free: 17.34 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.469e-06/0.9104, allocations: 0 / 0.9464 GB, free: 17.34 MB / 0.7481 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001299/0.9118, allocations: 0.6084 MB / 0.947 GB, free: 17.26 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.443e-05/0.9118, allocations: 6.531 kB / 0.947 GB, free: 17.26 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/0.9118, allocations: 4.297 kB / 0.947 GB, free: 17.26 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.56e-05/0.9118, allocations: 3.719 kB / 0.947 GB, free: 17.26 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005898/0.9124, allocations: 125.8 kB / 0.9472 GB, free: 17.26 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.784e-05/0.9125, allocations: 6.094 kB / 0.9472 GB, free: 17.26 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006016/0.9131, allocations: 69.45 kB / 0.9472 GB, free: 17.23 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.659e-05/0.9132, allocations: 32.78 kB / 0.9473 GB, free: 17.23 MB / 0.7481 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.0003944/0.9136, allocations: 251.2 kB / 0.9475 GB, free: 17.11 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001845/0.9138, allocations: 69.59 kB / 0.9476 GB, free: 17.08 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001504/0.9153, allocations: 0.7501 MB / 0.9483 GB, free: 16.99 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.236e-05/0.9153, allocations: 10.52 kB / 0.9483 GB, free: 16.99 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.9153, allocations: 0 / 0.9483 GB, free: 16.99 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.9153, allocations: 3.312 kB / 0.9483 GB, free: 16.99 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001141/0.9165, allocations: 0.8797 MB / 0.9492 GB, free: 16.67 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.9165, allocations: 0.7188 kB / 0.9492 GB, free: 16.67 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004401/0.9169, allocations: 117.8 kB / 0.9493 GB, free: 16.67 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.308e-06/0.9169, allocations: 6.094 kB / 0.9493 GB, free: 16.67 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.449e-05/0.917, allocations: 24.97 kB / 0.9493 GB, free: 16.66 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.29e-06/0.917, allocations: 3.5 kB / 0.9493 GB, free: 16.66 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.917, allocations: 1.438 kB / 0.9493 GB, free: 16.66 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001357/0.9184, allocations: 0.6325 MB / 0.9499 GB, free: 16.53 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004069/0.9188, allocations: 241 kB / 0.9502 GB, free: 16.39 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001677/0.919, allocations: 19.19 kB / 0.9502 GB, free: 16.38 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004915/0.9195, allocations: 52.47 kB / 0.9502 GB, free: 16.38 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001421/0.9196, allocations: 47.08 kB / 0.9503 GB, free: 16.38 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.831e-05/0.9197, allocations: 25.69 kB / 0.9503 GB, free: 16.38 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0007387/0.9204, allocations: 426.7 kB / 0.9507 GB, free: 16.28 MB / 0.7481 GB Notification: Performance of sort global known variables: time 8.02e-07/0.9204, allocations: 0 / 0.9507 GB, free: 16.28 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0009306/0.9214, allocations: 221.4 kB / 0.9509 GB, free: 16.24 MB / 0.7481 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.001469/0.9229, allocations: 0.5509 MB / 0.9515 GB, free: 16.04 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0009398/0.9238, allocations: 0.4955 MB / 0.952 GB, free: 16.03 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/0.9238, allocations: 5.156 kB / 0.952 GB, free: 16.03 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0004622/0.9243, allocations: 282.8 kB / 0.9522 GB, free: 16.02 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001108/0.9254, allocations: 238 kB / 0.9525 GB, free: 16.01 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00224/0.9277, allocations: 1.614 MB / 0.954 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005793/0.9283, allocations: 0.95 MB / 0.955 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0007604/0.929, allocations: 236.2 kB / 0.9552 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002269/0.9293, allocations: 88.91 kB / 0.9553 GB, free: 14.38 MB / 0.7481 GB Notification: Performance of SimCode: time 5.01e-07/0.9293, allocations: 0 / 0.9553 GB, free: 14.38 MB / 0.7481 GB Notification: Performance of Templates: time 0.02092/0.9502, allocations: 10.55 MB / 0.9656 GB, free: 13.56 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.makefile (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)