Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.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.ReaderTMY3HDirNor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor") translateModel(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001266/0.001266, allocations: 106.5 kB / 16.36 MB, free: 6.258 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.001314/0.001314, allocations: 189.7 kB / 17.3 MB, free: 5.848 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.395/1.395, allocations: 205.1 MB / 223.2 MB, free: 12.2 MB / 190.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.862/1.862, allocations: 292.3 MB / 0.5496 GB, free: 17.46 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.00149/0.00149, allocations: 67.89 kB / 0.6729 GB, free: 5.836 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2439/0.2454, allocations: 114.6 MB / 0.7848 GB, free: 3.164 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.4612/0.7067, allocations: 4.178 MB / 0.7889 GB, free: 46.44 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.1948/0.9016, allocations: 150.2 MB / 0.9356 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009573/0.9026, allocations: 11.94 kB / 0.9356 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0006426/0.9033, allocations: 174.4 kB / 0.9357 GB, free: 15.42 MB / 0.7325 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:216:3-259:11:writable] Warning: Pure function 'Modelica.Utilities.Strings.find' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/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'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.001847/0.9052, allocations: 418.3 kB / 0.9361 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002093/0.9073, allocations: 0.7678 MB / 0.9369 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001277/0.9086, allocations: 1.206 MB / 0.9381 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008075/0.9094, allocations: 0.5466 MB / 0.9386 GB, free: 12.49 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000613/0.91, allocations: 424.3 kB / 0.939 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005152/0.9105, allocations: 426.1 kB / 0.9394 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001228/0.9107, allocations: 96 kB / 0.9395 GB, free: 11.56 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001368/0.9121, allocations: 0.7724 MB / 0.9403 GB, free: 10.79 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002407/0.9123, allocations: 251.2 kB / 0.9405 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0004084/0.9127, allocations: 481.4 kB / 0.941 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001822/0.9146, allocations: 1.573 MB / 0.9425 GB, free: 8.496 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.9146, allocations: 8 kB / 0.9425 GB, free: 8.488 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.194e-06/0.9146, allocations: 0 / 0.9425 GB, free: 8.488 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.342e-05/0.9146, allocations: 0 / 0.9425 GB, free: 8.488 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: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.002171/0.9168, allocations: 1.31 MB / 0.9438 GB, free: 7.129 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/0.9168, allocations: 12.03 kB / 0.9438 GB, free: 7.117 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001166/0.918, allocations: 195.6 kB / 0.944 GB, free: 6.926 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001057/0.9191, allocations: 0.7227 MB / 0.9447 GB, free: 6.16 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.757e-05/0.9191, allocations: 50 kB / 0.9447 GB, free: 6.109 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.449e-05/0.9192, allocations: 68 kB / 0.9448 GB, free: 6.043 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001455/0.9207, allocations: 0.8268 MB / 0.9456 GB, free: 5.176 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.851e-05/0.9207, allocations: 0 / 0.9456 GB, free: 5.176 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.63e-05/0.9208, allocations: 28 kB / 0.9456 GB, free: 5.148 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.771e-05/0.9208, allocations: 20 kB / 0.9456 GB, free: 5.129 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001889/0.9227, allocations: 1.069 MB / 0.9467 GB, free: 4.059 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003527/0.9263, allocations: 2.327 MB / 0.949 GB, free: 1.66 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001381/0.9277, allocations: 0.7421 MB / 0.9497 GB, free: 0.9102 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006252/0.9283, allocations: 306.7 kB / 0.95 GB, free: 0.6094 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 7.208e-05/0.9284, allocations: 28.69 kB / 0.95 GB, free: 0.582 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009117/0.9293, allocations: 461.3 kB / 0.9504 GB, free: 116 kB / 0.7325 GB Notification: Performance of pre-optimization done (n=73): time 2.545e-06/0.9293, allocations: 0 / 0.9504 GB, free: 116 kB / 0.7325 GB Notification: Performance of matching and sorting (n=73): time 0.003421/0.9327, allocations: 1.167 MB / 0.9516 GB, free: 14.92 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.597e-05/0.9329, allocations: 192.6 kB / 0.9518 GB, free: 14.69 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006968/0.9336, allocations: 0.5823 MB / 0.9523 GB, free: 14.09 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 5.958e-05/0.9336, allocations: 37.7 kB / 0.9524 GB, free: 14.05 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002714/0.9339, allocations: 352.4 kB / 0.9527 GB, free: 13.7 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.000185/0.9341, allocations: 252.3 kB / 0.953 GB, free: 13.45 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002404/0.9344, allocations: 158.5 kB / 0.9531 GB, free: 13.29 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001597/0.9345, allocations: 378.8 kB / 0.9535 GB, free: 12.91 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006217/0.9351, allocations: 265.8 kB / 0.9537 GB, free: 12.65 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007224/0.9359, allocations: 364 kB / 0.9541 GB, free: 12.27 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001302/0.9372, allocations: 0.6158 MB / 0.9547 GB, free: 11.64 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.9372, allocations: 1.688 kB / 0.9547 GB, free: 11.64 MB / 0.7481 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002151/0.9394, allocations: 0.8449 MB / 0.9555 GB, free: 10.79 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.302e-05/0.9394, allocations: 7.984 kB / 0.9555 GB, free: 10.78 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/0.9394, allocations: 2.75 kB / 0.9555 GB, free: 10.78 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005938/0.94, allocations: 80.81 kB / 0.9556 GB, free: 10.7 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006963/0.9407, allocations: 163.8 kB / 0.9557 GB, free: 10.54 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002084/0.9428, allocations: 1.643 MB / 0.9573 GB, free: 8.75 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007346/0.9436, allocations: 84.2 kB / 0.9574 GB, free: 8.668 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.546e-05/0.9437, allocations: 35.97 kB / 0.9575 GB, free: 8.633 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 8 (weaDatInpCon.conTim.canRepeatWeatherFile,weaDatInpCon.conTimMin.canRepeatWeatherFile,weaDatInpCon.conTim.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTimMin.tNext,$PRE.weaDatInpCon.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004347/0.9441, allocations: 249.7 kB / 0.9577 GB, free: 8.379 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001566/0.9443, allocations: 83.06 kB / 0.9578 GB, free: 8.297 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002471/0.9467, allocations: 1.043 MB / 0.9588 GB, free: 7.25 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.224e-05/0.9468, allocations: 7.922 kB / 0.9588 GB, free: 7.242 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.9468, allocations: 0 / 0.9588 GB, free: 7.242 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003419/0.9471, allocations: 263.8 kB / 0.9591 GB, free: 6.965 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001033/0.9472, allocations: 16 kB / 0.9591 GB, free: 6.949 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005612/0.9478, allocations: 64.16 kB / 0.9591 GB, free: 6.891 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001323/0.9479, allocations: 64.91 kB / 0.9592 GB, free: 6.828 MB / 0.7481 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002062/0.95, allocations: 0.9396 MB / 0.9601 GB, free: 5.875 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002343/0.9524, allocations: 1.371 MB / 0.9614 GB, free: 4.488 MB / 0.7481 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006337/0.953, allocations: 355.8 kB / 0.9618 GB, free: 4.141 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.000534/0.9536, allocations: 427 kB / 0.9622 GB, free: 3.73 MB / 0.7481 GB Notification: Performance of Backend: time 4.41e-07/0.9536, allocations: 0 / 0.9622 GB, free: 3.73 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.003346/0.9569, allocations: 1.227 MB / 0.9634 GB, free: 2.762 MB / 0.7481 GB Notification: Performance of SimCode: time 0.002775/0.9597, allocations: 1.904 MB / 0.9653 GB, free: 0.8359 MB / 0.7481 GB Notification: Performance of Templates: time 0.02725/0.987, allocations: 16.08 MB / 0.981 GB, free: 0.9961 MB / 0.7637 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.makefile (rm -f Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.sim & ./Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe 2>&1)