Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.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.OverAYear_usingOneYearData,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_WeatherData_Validation_OverAYear_usingOneYearData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_WeatherData_Validation_OverAYear_usingOneYearData",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.254/1.254, allocations: 251.5 MB / 266.7 MB, free: 11.05 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.0009151/0.0009151, allocations: 172.9 kB / 325.8 MB, free: 2.699 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.242/1.242, allocations: 205 MB / 0.576 GB, free: 21 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.0006715/0.0006715, allocations: 103.1 kB / 0.6797 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.00026/0.00026, allocations: 11.73 kB / 0.7932 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1324, allocations: 105.4 MB / 0.8962 GB, free: 68.11 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData): time 0.003176/0.1357, allocations: 3.722 MB / 0.8998 GB, free: 64.37 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1135/0.2491, allocations: 147.9 MB / 1.044 GB, free: 11.94 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005247/0.2497, allocations: 19.88 kB / 1.044 GB, free: 11.92 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.000452/0.2502, allocations: 131 kB / 1.044 GB, free: 11.79 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.0009693/0.2511, allocations: 341.6 kB / 1.045 GB, free: 11.46 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001174/0.2523, allocations: 0.591 MB / 1.045 GB, free: 10.87 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0007962/0.2531, allocations: 0.9926 MB / 1.046 GB, free: 9.871 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005392/0.2537, allocations: 478.1 kB / 1.047 GB, free: 9.395 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000231/0.2539, allocations: 246.8 kB / 1.047 GB, free: 9.152 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002847/0.2542, allocations: 282.4 kB / 1.047 GB, free: 8.875 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 5.883e-05/0.2543, allocations: 20 kB / 1.047 GB, free: 8.855 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003596/0.2546, allocations: 223.7 kB / 1.047 GB, free: 8.637 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001274/0.2548, allocations: 151.3 kB / 1.048 GB, free: 8.488 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002186/0.255, allocations: 337.7 kB / 1.048 GB, free: 8.156 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0007901/0.2558, allocations: 1.094 MB / 1.049 GB, free: 7.059 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.2558, allocations: 0 / 1.049 GB, free: 7.059 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.222e-06/0.2558, allocations: 0 / 1.049 GB, free: 7.059 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.284e-06/0.2558, allocations: 0 / 1.049 GB, free: 7.059 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.001273/0.2571, allocations: 0.9786 MB / 1.05 GB, free: 6.027 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.2572, allocations: 12.03 kB / 1.05 GB, free: 6.016 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001025/0.2573, allocations: 102.7 kB / 1.05 GB, free: 5.906 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002112/0.2575, allocations: 103.8 kB / 1.05 GB, free: 5.805 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007164/0.2582, allocations: 0.6518 MB / 1.051 GB, free: 5.109 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.334e-05/0.2582, allocations: 49.31 kB / 1.051 GB, free: 5.062 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.328e-05/0.2583, allocations: 60 kB / 1.051 GB, free: 5.004 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008426/0.2592, allocations: 0.697 MB / 1.052 GB, free: 4.254 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.2592, allocations: 0 / 1.052 GB, free: 4.254 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.068e-05/0.2592, allocations: 28 kB / 1.052 GB, free: 4.227 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.314e-05/0.2593, allocations: 19.98 kB / 1.052 GB, free: 4.207 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001026/0.2603, allocations: 0.9103 MB / 1.052 GB, free: 3.297 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002429/0.2627, allocations: 2.362 MB / 1.055 GB, free: 0.8555 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007534/0.2635, allocations: 0.593 MB / 1.055 GB, free: 252 kB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002672/0.2638, allocations: 223.3 kB / 1.056 GB, free: 20 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2648/0.5286, allocations: 23.86 kB / 1.056 GB, free: 160.5 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006309/0.5292, allocations: 343.7 kB / 1.056 GB, free: 160.4 MB / 0.698 GB Notification: Performance of pre-optimization done (n=61): time 2.745e-06/0.5293, allocations: 0 / 1.056 GB, free: 160.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=61): time 0.001186/0.5305, allocations: 0.7067 MB / 1.057 GB, free: 160.4 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.319e-05/0.5305, allocations: 241.9 kB / 1.057 GB, free: 160.1 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000583/0.5311, allocations: 0.5791 MB / 1.057 GB, free: 160 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.487e-05/0.5312, allocations: 36.83 kB / 1.057 GB, free: 159.9 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001773/0.5314, allocations: 331.6 kB / 1.058 GB, free: 159.8 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.875e-05/0.5315, allocations: 207 kB / 1.058 GB, free: 159.7 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.312e-05/0.5315, allocations: 50.14 kB / 1.058 GB, free: 159.7 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.988e-05/0.5316, allocations: 380 kB / 1.058 GB, free: 159.4 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000223/0.5318, allocations: 166.4 kB / 1.059 GB, free: 159.4 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003016/0.5321, allocations: 286.9 kB / 1.059 GB, free: 159.3 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000514/0.5327, allocations: 448.8 kB / 1.059 GB, free: 159.2 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.5327, allocations: 2.906 kB / 1.059 GB, free: 159.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0007112/0.5334, allocations: 0.5549 MB / 1.06 GB, free: 159.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.5334, allocations: 2.844 kB / 1.06 GB, free: 159.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.5334, allocations: 3 kB / 1.06 GB, free: 159.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.5334, allocations: 2.906 kB / 1.06 GB, free: 159.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003947/0.5338, allocations: 124 kB / 1.06 GB, free: 159.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/0.5339, allocations: 2.75 kB / 1.06 GB, free: 159.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003838/0.5342, allocations: 69.59 kB / 1.06 GB, free: 159.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.736e-05/0.5343, allocations: 25.95 kB / 1.06 GB, free: 159.1 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.0002453/0.5345, allocations: 245.9 kB / 1.06 GB, free: 159 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001025/0.5347, allocations: 68.56 kB / 1.06 GB, free: 159 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001125/0.5358, allocations: 0.7508 MB / 1.061 GB, free: 158.9 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.5358, allocations: 11.84 kB / 1.061 GB, free: 158.9 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.5358, allocations: 0.6094 kB / 1.061 GB, free: 158.9 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.957e-06/0.5358, allocations: 3.797 kB / 1.061 GB, free: 158.9 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008595/0.5367, allocations: 0.8916 MB / 1.062 GB, free: 158.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.5367, allocations: 0 / 1.062 GB, free: 158.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003515/0.5371, allocations: 121.3 kB / 1.062 GB, free: 158.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.212e-06/0.5371, allocations: 5.969 kB / 1.062 GB, free: 158.6 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.565e-05/0.5371, allocations: 19.45 kB / 1.062 GB, free: 158.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/0.5371, allocations: 7.594 kB / 1.062 GB, free: 158.6 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.5371, allocations: 3.156 kB / 1.062 GB, free: 158.6 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008004/0.5379, allocations: 0.6332 MB / 1.063 GB, free: 158.4 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002476/0.5382, allocations: 241.4 kB / 1.063 GB, free: 158.3 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.378e-05/0.5383, allocations: 15.02 kB / 1.063 GB, free: 158.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003996/0.5387, allocations: 58.47 kB / 1.063 GB, free: 158.3 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001009/0.5388, allocations: 51.41 kB / 1.063 GB, free: 158.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.736e-05/0.5389, allocations: 28.83 kB / 1.063 GB, free: 158.3 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004766/0.5393, allocations: 423.4 kB / 1.063 GB, free: 158.2 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.41e-07/0.5393, allocations: 0 / 1.063 GB, free: 158.2 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005597/0.5399, allocations: 219.2 kB / 1.064 GB, free: 158.2 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.002007/0.5419, allocations: 1.642 MB / 1.065 GB, free: 157.4 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007332/0.5427, allocations: 477.6 kB / 1.066 GB, free: 157.4 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.5427, allocations: 1.062 kB / 1.066 GB, free: 157.4 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003882/0.5431, allocations: 286.2 kB / 1.066 GB, free: 157.4 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009414/0.544, allocations: 235.8 kB / 1.066 GB, free: 157.4 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007075/0.5511, allocations: 5.375 MB / 1.071 GB, free: 155 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003589/0.5515, allocations: 0.9509 MB / 1.072 GB, free: 154.3 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0006253/0.5521, allocations: 245.3 kB / 1.073 GB, free: 154.3 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000322/0.5524, allocations: 297 kB / 1.073 GB, free: 154.1 MB / 0.698 GB Notification: Performance of SimCode: time 3.91e-07/0.5525, allocations: 0 / 1.073 GB, free: 154.1 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2172/0.7697, allocations: 15.49 MB / 1.088 GB, free: 145.8 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001533/0.7698, allocations: 293.6 kB / 1.088 GB, free: 145.4 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.471/3.241, allocations: 4 kB / 1.088 GB, free: 145.4 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_BoundaryConditions_WeatherData_Validation_OverAYear_usingOneYearData_fmu --startTime=0 --stopTime=3.66336e+07 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_BoundaryConditions_WeatherData_Validation_OverAYear_usingOneYearData.fmu > Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.pipe 2>&1)