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.451/1.451, allocations: 252 MB / 267.3 MB, free: 10.84 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.001142/0.001142, allocations: 180.1 kB / 327 MB, free: 2.094 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.167/2.167, allocations: 205.4 MB / 0.578 GB, free: 20.13 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.0009219/0.0009218, allocations: 85.66 kB / 0.6826 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003598/0.0003599, allocations: 8.062 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2678/0.2682, allocations: 106.3 MB / 0.9009 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.004892/0.2731, allocations: 3.795 MB / 0.9046 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1987/0.4719, allocations: 146.3 MB / 1.047 GB, free: 8.707 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001072/0.473, allocations: 19.88 kB / 1.048 GB, free: 8.688 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0005991/0.4736, allocations: 131 kB / 1.048 GB, free: 8.559 MB / 0.698 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.001804/0.4754, allocations: 358.6 kB / 1.048 GB, free: 8.211 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002191/0.4776, allocations: 0.6814 MB / 1.049 GB, free: 7.535 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001759/0.4794, allocations: 1.117 MB / 1.05 GB, free: 6.41 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009193/0.4803, allocations: 0.5166 MB / 1.05 GB, free: 5.875 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007142/0.4811, allocations: 306.5 kB / 1.051 GB, free: 5.574 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005388/0.4816, allocations: 330.2 kB / 1.051 GB, free: 5.25 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 8.796e-05/0.4817, allocations: 27.94 kB / 1.051 GB, free: 5.223 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001677/0.4834, allocations: 0.6825 MB / 1.052 GB, free: 4.539 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002781/0.4837, allocations: 171.2 kB / 1.052 GB, free: 4.371 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0005453/0.4843, allocations: 407.2 kB / 1.052 GB, free: 3.965 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002242/0.4865, allocations: 1.452 MB / 1.054 GB, free: 2.508 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.4865, allocations: 0 / 1.054 GB, free: 2.508 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.384e-06/0.4865, allocations: 0 / 1.054 GB, free: 2.508 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.228e-05/0.4866, allocations: 0 / 1.054 GB, free: 2.508 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.002351/0.4889, allocations: 1.144 MB / 1.055 GB, free: 1.312 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.098e-05/0.489, allocations: 8.031 kB / 1.055 GB, free: 1.305 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001648/0.4892, allocations: 114.7 kB / 1.055 GB, free: 1.184 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001141/0.4903, allocations: 207.5 kB / 1.055 GB, free: 0.9805 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001137/0.4915, allocations: 0.6992 MB / 1.056 GB, free: 248 kB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.988e-05/0.4915, allocations: 50 kB / 1.056 GB, free: 196 kB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.814e-05/0.4916, allocations: 64 kB / 1.056 GB, free: 132 kB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6285/1.12, allocations: 0.8304 MB / 1.057 GB, free: 155.6 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.316e-05/1.12, allocations: 1.312 kB / 1.057 GB, free: 155.6 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.867e-05/1.12, allocations: 31.41 kB / 1.057 GB, free: 155.6 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.862e-05/1.12, allocations: 17.03 kB / 1.057 GB, free: 155.6 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00197/1.122, allocations: 1.09 MB / 1.058 GB, free: 155.5 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004776/1.127, allocations: 2.369 MB / 1.06 GB, free: 154.8 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001576/1.129, allocations: 0.7515 MB / 1.061 GB, free: 154.8 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007106/1.129, allocations: 314.4 kB / 1.061 GB, free: 154.8 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001117/1.13, allocations: 34.5 kB / 1.061 GB, free: 154.8 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001144/1.131, allocations: 472.2 kB / 1.061 GB, free: 154.7 MB / 0.698 GB Notification: Performance of pre-optimization done (n=73): time 4.028e-06/1.131, allocations: 0 / 1.061 GB, free: 154.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=73): time 0.004084/1.135, allocations: 1.192 MB / 1.063 GB, free: 154.5 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001091/1.135, allocations: 190.3 kB / 1.063 GB, free: 154.3 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001101/1.136, allocations: 0.5924 MB / 1.063 GB, free: 154.1 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.709e-05/1.136, allocations: 40.14 kB / 1.063 GB, free: 154.1 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004373/1.137, allocations: 351.1 kB / 1.064 GB, free: 154 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002856/1.137, allocations: 247.3 kB / 1.064 GB, free: 153.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.986e-05/1.137, allocations: 14.06 kB / 1.064 GB, free: 153.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001956/1.137, allocations: 383.7 kB / 1.064 GB, free: 153.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000635/1.138, allocations: 248.9 kB / 1.065 GB, free: 153.5 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007693/1.139, allocations: 365.1 kB / 1.065 GB, free: 153.4 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0014/1.14, allocations: 0.5992 MB / 1.066 GB, free: 153.3 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/1.14, allocations: 0.75 kB / 1.066 GB, free: 153.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.002508/1.143, allocations: 0.7992 MB / 1.066 GB, free: 153.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.297e-05/1.143, allocations: 9.797 kB / 1.066 GB, free: 153.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/1.143, allocations: 2 kB / 1.066 GB, free: 153.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000641/1.143, allocations: 94.84 kB / 1.066 GB, free: 153.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007952/1.144, allocations: 150.4 kB / 1.067 GB, free: 153.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002324/1.146, allocations: 1.533 MB / 1.068 GB, free: 151.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008372/1.147, allocations: 95.94 kB / 1.068 GB, free: 151.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.719e-05/1.147, allocations: 29.16 kB / 1.068 GB, free: 151.9 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 (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.0006085/1.148, allocations: 246.7 kB / 1.068 GB, free: 151.7 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001574/1.148, allocations: 76.81 kB / 1.069 GB, free: 151.7 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003707/1.152, allocations: 1.124 MB / 1.07 GB, free: 151.6 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.712e-05/1.152, allocations: 10.66 kB / 1.07 GB, free: 151.6 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.074e-05/1.152, allocations: 1.312 kB / 1.07 GB, free: 151.6 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.901e-05/1.152, allocations: 9.062 kB / 1.07 GB, free: 151.6 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001903/1.154, allocations: 0.838 MB / 1.07 GB, free: 151.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-05/1.154, allocations: 0.5312 kB / 1.07 GB, free: 151.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000882/1.155, allocations: 162 kB / 1.071 GB, free: 151.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005853/1.155, allocations: 83.86 kB / 1.071 GB, free: 151.3 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.759e-05/1.155, allocations: 25.25 kB / 1.071 GB, free: 151.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002223/1.158, allocations: 1.574 MB / 1.072 GB, free: 150 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/1.158, allocations: 0.7188 kB / 1.072 GB, free: 150 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003092/1.161, allocations: 0.9178 MB / 1.073 GB, free: 149.9 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006664/1.162, allocations: 274.2 kB / 1.073 GB, free: 149.7 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002155/1.162, allocations: 17.14 kB / 1.073 GB, free: 149.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008324/1.163, allocations: 78.72 kB / 1.074 GB, free: 149.7 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002721/1.163, allocations: 69.41 kB / 1.074 GB, free: 149.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001421/1.163, allocations: 32.45 kB / 1.074 GB, free: 149.7 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001169/1.164, allocations: 426.3 kB / 1.074 GB, free: 149.6 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.31e-07/1.164, allocations: 0.9688 kB / 1.074 GB, free: 149.6 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001663/1.166, allocations: 264.5 kB / 1.074 GB, free: 149.6 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 (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,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004986/1.171, allocations: 1.944 MB / 1.076 GB, free: 148.8 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002517/1.173, allocations: 0.7994 MB / 1.077 GB, free: 148.6 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.967e-06/1.173, allocations: 1.812 kB / 1.077 GB, free: 148.6 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001367/1.175, allocations: 0.5242 MB / 1.077 GB, free: 148.5 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001837/1.177, allocations: 271.3 kB / 1.078 GB, free: 148.5 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01803/1.195, allocations: 6.55 MB / 1.084 GB, free: 144.9 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007695/1.196, allocations: 0.9879 MB / 1.085 GB, free: 144.1 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001393/1.197, allocations: 271.2 kB / 1.085 GB, free: 143.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006998/1.198, allocations: 348.7 kB / 1.086 GB, free: 143.7 MB / 0.698 GB Notification: Performance of SimCode: time 1.323e-06/1.198, allocations: 0 / 1.086 GB, free: 143.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05957/1.257, allocations: 19.02 MB / 1.104 GB, free: 127.1 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003278/1.258, allocations: 318.2 kB / 1.105 GB, free: 126.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.028/4.285, allocations: 0 / 1.105 GB, free: 126.7 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)