Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.628/1.628, allocations: 252 MB / 267 MB, free: 10.96 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001118/0.001118, allocations: 181 kB / 326.6 MB, free: 2.215 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.114/2.114, allocations: 205.4 MB / 0.5777 GB, free: 20.23 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000869/0.0008689, allocations: 92.36 kB / 0.6822 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003921/0.0003923, allocations: 9.375 kB / 0.7964 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2863/0.2867, allocations: 106.3 MB / 0.9003 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.00423/0.291, allocations: 3.599 MB / 0.9038 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1695/0.4606, allocations: 136.5 MB / 1.037 GB, free: 3.348 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009319/0.4616, allocations: 11.94 kB / 1.037 GB, free: 3.336 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0005591/0.4622, allocations: 131 kB / 1.037 GB, free: 3.207 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3-maint.7.0.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 7.0.3-maint.7.0.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 7.0.3-maint.7.0.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.001391/0.4636, allocations: 345.5 kB / 1.038 GB, free: 2.871 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001915/0.4655, allocations: 0.5925 MB / 1.038 GB, free: 2.285 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001422/0.4669, allocations: 1.035 MB / 1.039 GB, free: 1.242 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007064/0.4677, allocations: 388.4 kB / 1.039 GB, free: 0.8516 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006057/0.4683, allocations: 302.6 kB / 1.04 GB, free: 0.5547 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004608/0.4687, allocations: 323.8 kB / 1.04 GB, free: 244 kB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 7.923e-05/0.4688, allocations: 24 kB / 1.04 GB, free: 220 kB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001446/0.4703, allocations: 0.6397 MB / 1.041 GB, free: 15.57 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001838/0.4705, allocations: 167.3 kB / 1.041 GB, free: 15.41 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001853/0.4707, allocations: 173.1 kB / 1.041 GB, free: 15.23 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001294/0.472, allocations: 1.134 MB / 1.042 GB, free: 14.1 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.472, allocations: 0 / 1.042 GB, free: 14.1 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.944e-06/0.472, allocations: 4 kB / 1.042 GB, free: 14.09 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.127e-05/0.472, allocations: 0 / 1.042 GB, free: 14.09 MB / 0.698 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.002142/0.4742, allocations: 1.143 MB / 1.043 GB, free: 12.9 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.051e-05/0.4742, allocations: 8.031 kB / 1.043 GB, free: 12.89 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001464/0.4744, allocations: 118.5 kB / 1.043 GB, free: 12.77 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001122/0.4755, allocations: 210.5 kB / 1.044 GB, free: 12.56 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001085/0.4766, allocations: 0.672 MB / 1.044 GB, free: 11.84 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.341e-05/0.4767, allocations: 50 kB / 1.044 GB, free: 11.8 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00011/0.4768, allocations: 68 kB / 1.044 GB, free: 11.73 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001657/0.4785, allocations: 0.8255 MB / 1.045 GB, free: 10.86 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.31e-05/0.4785, allocations: 0 / 1.045 GB, free: 10.86 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-05/0.4786, allocations: 32 kB / 1.045 GB, free: 10.83 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.804e-05/0.4786, allocations: 23.95 kB / 1.045 GB, free: 10.8 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001961/0.4806, allocations: 1.077 MB / 1.046 GB, free: 9.727 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003856/0.4845, allocations: 2.387 MB / 1.049 GB, free: 7.266 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001344/0.4858, allocations: 0.7375 MB / 1.049 GB, free: 6.52 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006622/0.4865, allocations: 314.7 kB / 1.05 GB, free: 6.211 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.817e-05/0.4866, allocations: 32.69 kB / 1.05 GB, free: 6.176 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001088/0.4877, allocations: 467.2 kB / 1.05 GB, free: 5.703 MB / 0.698 GB Notification: Performance of pre-optimization done (n=73): time 3.837e-06/0.4877, allocations: 0 / 1.05 GB, free: 5.703 MB / 0.698 GB Notification: Performance of matching and sorting (n=73): time 0.003718/0.4914, allocations: 1.187 MB / 1.051 GB, free: 4.488 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001251/0.4916, allocations: 192.6 kB / 1.051 GB, free: 4.258 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008027/0.4924, allocations: 0.5784 MB / 1.052 GB, free: 3.676 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.098e-05/0.4925, allocations: 37.7 kB / 1.052 GB, free: 3.633 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000311/0.4928, allocations: 364.4 kB / 1.052 GB, free: 3.27 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002535/0.4931, allocations: 236.6 kB / 1.053 GB, free: 3.035 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.802e-05/0.4931, allocations: 16 kB / 1.053 GB, free: 3.02 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002145/0.4933, allocations: 378.8 kB / 1.053 GB, free: 2.641 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006396/0.494, allocations: 253.1 kB / 1.053 GB, free: 2.395 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007458/0.4947, allocations: 359.6 kB / 1.054 GB, free: 2.012 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000704/0.4955, allocations: 291.1 kB / 1.054 GB, free: 1.73 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.4955, allocations: 3.938 kB / 1.054 GB, free: 1.727 MB / 0.698 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.002024/0.4975, allocations: 0.8017 MB / 1.055 GB, free: 0.9141 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/0.4975, allocations: 10.59 kB / 1.055 GB, free: 0.9062 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.4976, allocations: 4 kB / 1.055 GB, free: 0.9023 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006273/0.4982, allocations: 80.91 kB / 1.055 GB, free: 0.8203 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006927/0.4989, allocations: 151.8 kB / 1.055 GB, free: 0.6719 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6329/1.132, allocations: 1.523 MB / 1.056 GB, free: 153.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00102/1.133, allocations: 94.2 kB / 1.056 GB, free: 153.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.654e-05/1.133, allocations: 32.08 kB / 1.057 GB, free: 153.3 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTimMin.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0005417/1.134, allocations: 249.1 kB / 1.057 GB, free: 153.2 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001636/1.134, allocations: 77.03 kB / 1.057 GB, free: 153.2 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002914/1.137, allocations: 1.134 MB / 1.058 GB, free: 153.1 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.548e-06/1.137, allocations: 8.312 kB / 1.058 GB, free: 153.1 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/1.137, allocations: 0 / 1.058 GB, free: 153.1 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.022e-05/1.137, allocations: 3.234 kB / 1.058 GB, free: 153.1 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001003/1.138, allocations: 0.8407 MB / 1.059 GB, free: 152.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/1.138, allocations: 0 / 1.059 GB, free: 152.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006888/1.138, allocations: 169.3 kB / 1.059 GB, free: 152.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005442/1.139, allocations: 82.73 kB / 1.059 GB, free: 152.9 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.674e-05/1.139, allocations: 26.11 kB / 1.059 GB, free: 152.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001901/1.141, allocations: 1.556 MB / 1.061 GB, free: 151.6 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/1.141, allocations: 3.953 kB / 1.061 GB, free: 151.6 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002118/1.143, allocations: 0.9163 MB / 1.061 GB, free: 151.4 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004047/1.143, allocations: 273.2 kB / 1.062 GB, free: 151.3 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.988e-05/1.144, allocations: 20.66 kB / 1.062 GB, free: 151.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006147/1.144, allocations: 76.95 kB / 1.062 GB, free: 151.3 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001828/1.144, allocations: 65 kB / 1.062 GB, free: 151.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.193e-05/1.145, allocations: 29.48 kB / 1.062 GB, free: 151.3 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007049/1.145, allocations: 425.4 kB / 1.062 GB, free: 151.2 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.9e-07/1.145, allocations: 0 / 1.062 GB, free: 151.2 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000938/1.146, allocations: 269.7 kB / 1.063 GB, free: 151.2 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext) * Number of discrete states: 2 (weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 84 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.004074/1.15, allocations: 1.947 MB / 1.064 GB, free: 150.4 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0022/1.152, allocations: 0.7938 MB / 1.065 GB, free: 150.3 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/1.153, allocations: 0 / 1.065 GB, free: 150.3 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001111/1.154, allocations: 0.5149 MB / 1.066 GB, free: 150.1 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001723/1.155, allocations: 255 kB / 1.066 GB, free: 150.1 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01588/1.171, allocations: 4.78 MB / 1.071 GB, free: 148.7 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001323/1.173, allocations: 0.9891 MB / 1.072 GB, free: 148 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.00182/1.175, allocations: 257.8 kB / 1.072 GB, free: 147.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000952/1.176, allocations: 344.4 kB / 1.072 GB, free: 147.9 MB / 0.698 GB Notification: Performance of SimCode: time 2.084e-06/1.176, allocations: 0 / 1.072 GB, free: 147.9 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05294/1.228, allocations: 20.21 MB / 1.092 GB, free: 136.9 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001979/1.229, allocations: 287 kB / 1.092 GB, free: 136.6 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.922/4.15, allocations: 0 / 1.092 GB, free: 136.6 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor.fmu > Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe 2>&1)