Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.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.DecemberToJanuary,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_WeatherData_Validation_DecemberToJanuary",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_WeatherData_Validation_DecemberToJanuary",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.215/1.215, allocations: 251.5 MB / 266.7 MB, free: 11.04 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.0009089/0.0009091, allocations: 171.8 kB / 325.8 MB, free: 2.703 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.252/1.252, allocations: 205 MB / 0.576 GB, free: 20.98 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.0006766/0.0006767, allocations: 97.98 kB / 0.6797 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002559/0.0002559, allocations: 11.56 kB / 0.7933 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1311, allocations: 105.4 MB / 0.8962 GB, free: 68.09 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary): time 0.003147/0.1343, allocations: 3.722 MB / 0.8998 GB, free: 64.35 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.118/0.2523, allocations: 147.9 MB / 1.044 GB, free: 11.92 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005368/0.2529, allocations: 19.88 kB / 1.044 GB, free: 11.9 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0004634/0.2534, allocations: 127 kB / 1.044 GB, free: 11.78 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.00108/0.2545, allocations: 337.5 kB / 1.045 GB, free: 11.45 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001262/0.2557, allocations: 0.6004 MB / 1.045 GB, free: 10.86 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0009062/0.2566, allocations: 0.9887 MB / 1.046 GB, free: 9.859 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006017/0.2573, allocations: 478.1 kB / 1.047 GB, free: 9.383 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003561/0.2576, allocations: 250.8 kB / 1.047 GB, free: 9.137 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1459/0.4035, allocations: 283.7 kB / 1.047 GB, free: 8.859 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001257/0.4037, allocations: 20 kB / 1.047 GB, free: 8.84 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005481/0.4043, allocations: 223.7 kB / 1.047 GB, free: 8.621 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001513/0.4044, allocations: 147.3 kB / 1.048 GB, free: 8.477 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002773/0.4047, allocations: 341.7 kB / 1.048 GB, free: 8.141 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001008/0.4057, allocations: 1.086 MB / 1.049 GB, free: 7.051 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.4057, allocations: 0 / 1.049 GB, free: 7.051 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.597e-06/0.4057, allocations: 4 kB / 1.049 GB, free: 7.047 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.829e-05/0.4058, allocations: 4 kB / 1.049 GB, free: 7.043 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.001435/0.4072, allocations: 0.9824 MB / 1.05 GB, free: 6.008 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.301e-05/0.4072, allocations: 8.031 kB / 1.05 GB, free: 6 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001247/0.4074, allocations: 114.7 kB / 1.05 GB, free: 5.879 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002344/0.4076, allocations: 95.81 kB / 1.05 GB, free: 5.785 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007815/0.4084, allocations: 0.6557 MB / 1.051 GB, free: 5.086 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.086e-05/0.4085, allocations: 45.31 kB / 1.051 GB, free: 5.043 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.992e-05/0.4085, allocations: 60 kB / 1.051 GB, free: 4.984 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008933/0.4094, allocations: 0.6931 MB / 1.052 GB, free: 4.238 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.4094, allocations: 0 / 1.052 GB, free: 4.238 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.848e-05/0.4095, allocations: 28 kB / 1.052 GB, free: 4.211 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.244e-05/0.4095, allocations: 20 kB / 1.052 GB, free: 4.191 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001084/0.4106, allocations: 0.9142 MB / 1.052 GB, free: 3.277 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002619/0.4132, allocations: 2.344 MB / 1.055 GB, free: 0.8516 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008034/0.4141, allocations: 0.597 MB / 1.055 GB, free: 244 kB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002811/0.4143, allocations: 235.2 kB / 1.056 GB, free: 0 / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.423e-05/0.6833, allocations: 22.48 kB / 1.056 GB, free: 160.6 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005548/0.6838, allocations: 342.3 kB / 1.056 GB, free: 160.5 MB / 0.698 GB Notification: Performance of pre-optimization done (n=61): time 2.505e-06/0.6839, allocations: 0.75 kB / 1.056 GB, free: 160.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=61): time 0.00106/0.6849, allocations: 0.7074 MB / 1.057 GB, free: 160.5 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.128e-05/0.685, allocations: 241 kB / 1.057 GB, free: 160.2 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005081/0.6855, allocations: 0.5808 MB / 1.057 GB, free: 160.1 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.437e-05/0.6855, allocations: 39.45 kB / 1.057 GB, free: 160 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001651/0.6857, allocations: 328 kB / 1.058 GB, free: 159.9 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.755e-05/0.6858, allocations: 202.5 kB / 1.058 GB, free: 159.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.036e-05/0.6859, allocations: 49.97 kB / 1.058 GB, free: 159.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.839e-05/0.6859, allocations: 379.8 kB / 1.058 GB, free: 159.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002091/0.6861, allocations: 165.2 kB / 1.059 GB, free: 159.5 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002832/0.6864, allocations: 289.4 kB / 1.059 GB, free: 159.4 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004986/0.6869, allocations: 452 kB / 1.059 GB, free: 159.3 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.6869, allocations: 0 / 1.059 GB, free: 159.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0006612/0.6876, allocations: 0.5528 MB / 1.06 GB, free: 159.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.6876, allocations: 6.562 kB / 1.06 GB, free: 159.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.6876, allocations: 2.5 kB / 1.06 GB, free: 159.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.6877, allocations: 2.438 kB / 1.06 GB, free: 159.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003771/0.688, allocations: 120.6 kB / 1.06 GB, free: 159.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.6881, allocations: 12.05 kB / 1.06 GB, free: 159.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003479/0.6884, allocations: 67.78 kB / 1.06 GB, free: 159.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.353e-05/0.6885, allocations: 29.25 kB / 1.06 GB, free: 159.2 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 (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 (68): * Single equations (assignments): 68 * 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.0001986/0.6887, allocations: 240.6 kB / 1.06 GB, free: 159.1 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.744e-05/0.6888, allocations: 72.66 kB / 1.06 GB, free: 159.1 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001083/0.6898, allocations: 0.7529 MB / 1.061 GB, free: 159 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.6899, allocations: 8.188 kB / 1.061 GB, free: 159 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.6899, allocations: 1.344 kB / 1.061 GB, free: 159 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.106e-06/0.6899, allocations: 3.094 kB / 1.061 GB, free: 159 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007577/0.6906, allocations: 0.8918 MB / 1.062 GB, free: 158.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.6907, allocations: 3.094 kB / 1.062 GB, free: 158.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003429/0.691, allocations: 122.5 kB / 1.062 GB, free: 158.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.691, allocations: 2.812 kB / 1.062 GB, free: 158.7 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.053e-05/0.6911, allocations: 15.86 kB / 1.062 GB, free: 158.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.6911, allocations: 3.344 kB / 1.062 GB, free: 158.7 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.6911, allocations: 6.812 kB / 1.062 GB, free: 158.7 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00076/0.6918, allocations: 0.6358 MB / 1.063 GB, free: 158.5 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002175/0.6921, allocations: 239.3 kB / 1.063 GB, free: 158.4 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.365e-05/0.6922, allocations: 13.8 kB / 1.063 GB, free: 158.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003775/0.6925, allocations: 62.47 kB / 1.063 GB, free: 158.4 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.369e-05/0.6926, allocations: 49.97 kB / 1.063 GB, free: 158.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.239e-05/0.6927, allocations: 25.17 kB / 1.063 GB, free: 158.4 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004258/0.6931, allocations: 423 kB / 1.063 GB, free: 158.3 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6931, allocations: 0 / 1.063 GB, free: 158.3 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005158/0.6936, allocations: 221.3 kB / 1.064 GB, free: 158.3 MB / 0.698 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.001889/0.6955, allocations: 1.646 MB / 1.065 GB, free: 157.5 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006886/0.6962, allocations: 478.6 kB / 1.066 GB, free: 157.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.6963, allocations: 0.7812 kB / 1.066 GB, free: 157.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003742/0.6966, allocations: 279.3 kB / 1.066 GB, free: 157.5 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009166/0.6976, allocations: 238.7 kB / 1.066 GB, free: 157.5 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006572/0.7041, allocations: 5.38 MB / 1.071 GB, free: 155.1 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003388/0.7045, allocations: 0.9486 MB / 1.072 GB, free: 154.4 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0005836/0.7051, allocations: 243.6 kB / 1.073 GB, free: 154.4 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003064/0.7054, allocations: 301.9 kB / 1.073 GB, free: 154.2 MB / 0.698 GB Notification: Performance of SimCode: time 2.4e-07/0.7054, allocations: 0 / 1.073 GB, free: 154.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2844/0.9898, allocations: 15.48 MB / 1.088 GB, free: 145.7 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000165/0.99, allocations: 284.8 kB / 1.088 GB, free: 145.3 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.291/3.281, allocations: 0 / 1.088 GB, free: 145.3 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_BoundaryConditions_WeatherData_Validation_DecemberToJanuary_fmu --startTime=3.09924e+07 --stopTime=3.186e+07 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_BoundaryConditions_WeatherData_Validation_DecemberToJanuary.fmu > Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.pipe 2>&1)