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.422/1.422, allocations: 252 MB / 267.3 MB, free: 10.85 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.001036/0.001036, allocations: 173.8 kB / 327 MB, free: 2.105 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.105/2.105, allocations: 205.4 MB / 0.578 GB, free: 20.08 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.0009718/0.0009719, allocations: 79.7 kB / 0.6826 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003573/0.0003574, allocations: 7.875 kB / 0.7971 GB, free: 134.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2428/0.2432, allocations: 106.3 MB / 0.9009 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary): time 0.004155/0.2474, allocations: 3.64 MB / 0.9045 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1711/0.4186, allocations: 146.3 MB / 1.047 GB, free: 8.758 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008678/0.4195, allocations: 19.88 kB / 1.047 GB, free: 8.738 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0005014/0.42, allocations: 123.1 kB / 1.047 GB, free: 8.617 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.001365/0.4214, allocations: 340.9 kB / 1.048 GB, free: 8.285 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001759/0.4232, allocations: 0.6008 MB / 1.048 GB, free: 7.691 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001113/0.4243, allocations: 0.9848 MB / 1.049 GB, free: 6.699 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007255/0.425, allocations: 486.4 kB / 1.05 GB, free: 6.215 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003655/0.4254, allocations: 246.8 kB / 1.05 GB, free: 5.973 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004533/0.4259, allocations: 278.4 kB / 1.05 GB, free: 5.699 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 6.801e-05/0.4259, allocations: 20 kB / 1.05 GB, free: 5.68 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005763/0.4265, allocations: 227.7 kB / 1.051 GB, free: 5.457 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001975/0.4267, allocations: 151.3 kB / 1.051 GB, free: 5.309 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0003204/0.4271, allocations: 363.4 kB / 1.051 GB, free: 4.945 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001135/0.4282, allocations: 1.09 MB / 1.052 GB, free: 3.852 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.4282, allocations: 0 / 1.052 GB, free: 3.852 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.455e-06/0.4282, allocations: 4 kB / 1.052 GB, free: 3.848 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.056e-05/0.4283, allocations: 0 / 1.052 GB, free: 3.848 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.001816/0.4301, allocations: 0.9785 MB / 1.053 GB, free: 2.816 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.784e-05/0.4301, allocations: 20.02 kB / 1.053 GB, free: 2.797 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001418/0.4303, allocations: 102.7 kB / 1.053 GB, free: 2.688 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000262/0.4306, allocations: 99.8 kB / 1.053 GB, free: 2.59 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001165/0.4317, allocations: 0.6479 MB / 1.054 GB, free: 1.898 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.741e-05/0.4318, allocations: 45.31 kB / 1.054 GB, free: 1.855 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.462e-05/0.4319, allocations: 60 kB / 1.054 GB, free: 1.797 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001198/0.4331, allocations: 0.6931 MB / 1.055 GB, free: 1.051 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/0.4332, allocations: 0 / 1.055 GB, free: 1.051 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.541e-05/0.4332, allocations: 32 kB / 1.055 GB, free: 1.02 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.983e-05/0.4333, allocations: 16 kB / 1.055 GB, free: 1.004 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001296/0.4346, allocations: 0.9181 MB / 1.056 GB, free: 88 kB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5722/1.007, allocations: 2.355 MB / 1.058 GB, free: 155.1 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008396/1.008, allocations: 0.5884 MB / 1.058 GB, free: 155.1 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002857/1.008, allocations: 225.3 kB / 1.059 GB, free: 155 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.479e-05/1.008, allocations: 29.66 kB / 1.059 GB, free: 155 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005289/1.009, allocations: 344.1 kB / 1.059 GB, free: 155 MB / 0.698 GB Notification: Performance of pre-optimization done (n=61): time 3.567e-06/1.009, allocations: 0.9688 kB / 1.059 GB, free: 155 MB / 0.698 GB Notification: Performance of matching and sorting (n=61): time 0.001222/1.01, allocations: 0.7055 MB / 1.06 GB, free: 154.9 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.043e-05/1.01, allocations: 249.1 kB / 1.06 GB, free: 154.6 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006341/1.011, allocations: 0.5744 MB / 1.061 GB, free: 154.5 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.835e-05/1.011, allocations: 39.92 kB / 1.061 GB, free: 154.4 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000219/1.011, allocations: 326 kB / 1.061 GB, free: 154.3 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001439/1.011, allocations: 197 kB / 1.061 GB, free: 154.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.711e-05/1.011, allocations: 13.25 kB / 1.061 GB, free: 154.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001289/1.011, allocations: 383 kB / 1.061 GB, free: 153.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002632/1.011, allocations: 169.9 kB / 1.062 GB, free: 153.8 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000355/1.012, allocations: 283.7 kB / 1.062 GB, free: 153.7 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005986/1.012, allocations: 453.8 kB / 1.062 GB, free: 153.7 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/1.012, allocations: 0 / 1.062 GB, free: 153.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0008131/1.013, allocations: 0.5449 MB / 1.063 GB, free: 153.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/1.013, allocations: 7.594 kB / 1.063 GB, free: 153.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/1.013, allocations: 3.859 kB / 1.063 GB, free: 153.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.009e-05/1.013, allocations: 3.531 kB / 1.063 GB, free: 153.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004857/1.014, allocations: 120.7 kB / 1.063 GB, free: 153.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.41e-05/1.014, allocations: 4.266 kB / 1.063 GB, free: 153.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004575/1.014, allocations: 87.31 kB / 1.063 GB, free: 153.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.047e-05/1.014, allocations: 29.11 kB / 1.063 GB, free: 153.6 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 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * 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.0002842/1.015, allocations: 234 kB / 1.063 GB, free: 153.5 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.995e-05/1.015, allocations: 77.09 kB / 1.063 GB, free: 153.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001328/1.016, allocations: 0.7453 MB / 1.064 GB, free: 153.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/1.016, allocations: 5.812 kB / 1.064 GB, free: 153.3 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/1.016, allocations: 0 / 1.064 GB, free: 153.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.395e-05/1.016, allocations: 7.188 kB / 1.064 GB, free: 153.3 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001068/1.017, allocations: 0.8949 MB / 1.065 GB, free: 153 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.317e-06/1.017, allocations: 0 / 1.065 GB, free: 153 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004637/1.018, allocations: 120.3 kB / 1.065 GB, free: 153 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.913e-06/1.018, allocations: 4.078 kB / 1.065 GB, free: 153 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.657e-05/1.018, allocations: 23.92 kB / 1.065 GB, free: 153 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.293e-06/1.018, allocations: 7.672 kB / 1.065 GB, free: 153 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/1.018, allocations: 0 / 1.065 GB, free: 153 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008647/1.019, allocations: 0.6371 MB / 1.066 GB, free: 152.9 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003057/1.019, allocations: 254.3 kB / 1.066 GB, free: 152.7 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.083e-05/1.019, allocations: 16.58 kB / 1.066 GB, free: 152.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004666/1.02, allocations: 58.52 kB / 1.066 GB, free: 152.7 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001556/1.02, allocations: 56.2 kB / 1.066 GB, free: 152.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.646e-05/1.02, allocations: 28.91 kB / 1.066 GB, free: 152.7 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006382/1.02, allocations: 421.6 kB / 1.067 GB, free: 152.6 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.8e-07/1.02, allocations: 0 / 1.067 GB, free: 152.6 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007524/1.021, allocations: 218.5 kB / 1.067 GB, free: 152.6 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.002655/1.024, allocations: 1.635 MB / 1.068 GB, free: 151.8 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001067/1.025, allocations: 485.5 kB / 1.069 GB, free: 151.8 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/1.025, allocations: 1.469 kB / 1.069 GB, free: 151.8 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004997/1.025, allocations: 279.1 kB / 1.069 GB, free: 151.8 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001297/1.027, allocations: 233.3 kB / 1.069 GB, free: 151.8 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009792/1.037, allocations: 5.399 MB / 1.075 GB, free: 149.5 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006468/1.037, allocations: 0.9503 MB / 1.076 GB, free: 148.8 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0009907/1.038, allocations: 236.8 kB / 1.076 GB, free: 148.7 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005092/1.039, allocations: 295.3 kB / 1.076 GB, free: 148.7 MB / 0.698 GB Notification: Performance of SimCode: time 1.142e-06/1.039, allocations: 4 kB / 1.076 GB, free: 148.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04051/1.079, allocations: 15.49 MB / 1.091 GB, free: 140 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002318/1.08, allocations: 281.7 kB / 1.091 GB, free: 139.6 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.892/3.972, allocations: 0 / 1.091 GB, free: 139.6 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)