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.5/1.5, allocations: 252 MB / 267.3 MB, free: 10.86 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.001021/0.001021, allocations: 180.2 kB / 327 MB, free: 2.113 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.983/1.983, allocations: 205.4 MB / 0.578 GB, free: 20.14 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.001057/0.001057, allocations: 92.61 kB / 0.6826 GB, free: 12.78 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003927/0.0003927, allocations: 13.34 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2561/0.2565, allocations: 106.3 MB / 0.9009 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData): time 0.004541/0.2611, allocations: 3.636 MB / 0.9045 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1788/0.44, allocations: 146.3 MB / 1.047 GB, free: 8.965 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005771/0.4407, allocations: 19.88 kB / 1.047 GB, free: 8.945 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0004831/0.4412, allocations: 131.1 kB / 1.047 GB, free: 8.816 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.001072/0.4422, allocations: 337.3 kB / 1.048 GB, free: 8.488 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001549/0.4438, allocations: 0.5926 MB / 1.048 GB, free: 7.902 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001129/0.4449, allocations: 0.9887 MB / 1.049 GB, free: 6.906 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007322/0.4457, allocations: 482.4 kB / 1.05 GB, free: 6.426 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003726/0.4461, allocations: 246.7 kB / 1.05 GB, free: 6.184 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004655/0.4465, allocations: 278.4 kB / 1.05 GB, free: 5.91 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 6.878e-05/0.4466, allocations: 20 kB / 1.05 GB, free: 5.891 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005507/0.4472, allocations: 227.7 kB / 1.051 GB, free: 5.668 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001987/0.4474, allocations: 155.3 kB / 1.051 GB, free: 5.516 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0003642/0.4478, allocations: 367.3 kB / 1.051 GB, free: 5.148 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001148/0.4489, allocations: 1.09 MB / 1.052 GB, free: 4.055 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.4489, allocations: 0 / 1.052 GB, free: 4.055 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.522e-06/0.4489, allocations: 0 / 1.052 GB, free: 4.055 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.063e-05/0.449, allocations: 0 / 1.052 GB, free: 4.055 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.001856/0.4508, allocations: 0.9825 MB / 1.053 GB, free: 3.02 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.109e-05/0.4509, allocations: 8.031 kB / 1.053 GB, free: 3.012 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000148/0.451, allocations: 106.7 kB / 1.053 GB, free: 2.898 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003137/0.4514, allocations: 103.8 kB / 1.053 GB, free: 2.797 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001029/0.4524, allocations: 0.6479 MB / 1.054 GB, free: 2.105 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.532e-05/0.4525, allocations: 45.31 kB / 1.054 GB, free: 2.062 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.736e-05/0.4526, allocations: 60 kB / 1.054 GB, free: 2.004 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001183/0.4537, allocations: 0.6931 MB / 1.055 GB, free: 1.258 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.684e-05/0.4538, allocations: 0 / 1.055 GB, free: 1.258 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.497e-05/0.4538, allocations: 28 kB / 1.055 GB, free: 1.23 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.969e-05/0.4539, allocations: 16 kB / 1.055 GB, free: 1.215 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001322/0.4552, allocations: 0.9181 MB / 1.056 GB, free: 304 kB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5437/0.9989, allocations: 2.349 MB / 1.058 GB, free: 155.3 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008695/0.9999, allocations: 0.5932 MB / 1.058 GB, free: 155.2 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002899/1, allocations: 217.3 kB / 1.059 GB, free: 155.2 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.666e-05/1, allocations: 30.72 kB / 1.059 GB, free: 155.2 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006115/1.001, allocations: 354.1 kB / 1.059 GB, free: 155.1 MB / 0.698 GB Notification: Performance of pre-optimization done (n=61): time 3.356e-06/1.001, allocations: 0 / 1.059 GB, free: 155.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=61): time 0.001157/1.002, allocations: 0.7007 MB / 1.06 GB, free: 155.1 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.615e-05/1.002, allocations: 245.6 kB / 1.06 GB, free: 154.8 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006848/1.003, allocations: 0.5837 MB / 1.061 GB, free: 154.7 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.795e-05/1.003, allocations: 38.42 kB / 1.061 GB, free: 154.6 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002368/1.003, allocations: 329.8 kB / 1.061 GB, free: 154.5 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001419/1.003, allocations: 200.6 kB / 1.061 GB, free: 154.4 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.802e-05/1.003, allocations: 10.44 kB / 1.061 GB, free: 154.4 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001349/1.003, allocations: 378.3 kB / 1.061 GB, free: 154.1 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002805/1.004, allocations: 168.6 kB / 1.062 GB, free: 154.1 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003779/1.004, allocations: 291 kB / 1.062 GB, free: 154 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006097/1.005, allocations: 444.3 kB / 1.062 GB, free: 153.9 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/1.005, allocations: 7.094 kB / 1.062 GB, free: 153.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0008842/1.006, allocations: 0.5469 MB / 1.063 GB, free: 153.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.751e-05/1.006, allocations: 8.328 kB / 1.063 GB, free: 153.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/1.006, allocations: 3.094 kB / 1.063 GB, free: 153.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.61e-05/1.006, allocations: 3.062 kB / 1.063 GB, free: 153.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005031/1.006, allocations: 124.4 kB / 1.063 GB, free: 153.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.422e-05/1.006, allocations: 8 kB / 1.063 GB, free: 153.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004837/1.007, allocations: 75.03 kB / 1.063 GB, free: 153.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.681e-05/1.007, allocations: 28.86 kB / 1.063 GB, free: 153.8 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.0003107/1.007, allocations: 239.5 kB / 1.063 GB, free: 153.6 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.721e-05/1.007, allocations: 73.31 kB / 1.063 GB, free: 153.6 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00145/1.009, allocations: 0.747 MB / 1.064 GB, free: 153.5 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.937e-06/1.009, allocations: 5.969 kB / 1.064 GB, free: 153.5 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.728e-06/1.009, allocations: 3.641 kB / 1.064 GB, free: 153.5 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.435e-05/1.009, allocations: 3.609 kB / 1.064 GB, free: 153.5 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001297/1.01, allocations: 0.8948 MB / 1.065 GB, free: 153.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/1.01, allocations: 64 / 1.065 GB, free: 153.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004378/1.011, allocations: 122.6 kB / 1.065 GB, free: 153.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.174e-06/1.011, allocations: 4.047 kB / 1.065 GB, free: 153.2 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.49e-05/1.011, allocations: 19.84 kB / 1.065 GB, free: 153.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.025e-06/1.011, allocations: 6.875 kB / 1.065 GB, free: 153.2 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/1.011, allocations: 0 / 1.065 GB, free: 153.2 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009685/1.012, allocations: 0.6384 MB / 1.066 GB, free: 153.1 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003534/1.012, allocations: 249.2 kB / 1.066 GB, free: 152.9 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.011e-05/1.012, allocations: 17.05 kB / 1.066 GB, free: 152.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004533/1.012, allocations: 55.41 kB / 1.066 GB, free: 152.9 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001432/1.013, allocations: 56.11 kB / 1.066 GB, free: 152.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.734e-05/1.013, allocations: 24.2 kB / 1.066 GB, free: 152.9 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006543/1.013, allocations: 428.4 kB / 1.067 GB, free: 152.8 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/1.013, allocations: 0.75 kB / 1.067 GB, free: 152.8 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000796/1.014, allocations: 216.5 kB / 1.067 GB, free: 152.8 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.002662/1.017, allocations: 1.646 MB / 1.068 GB, free: 152 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001002/1.018, allocations: 484.1 kB / 1.069 GB, free: 152 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/1.018, allocations: 0.9062 kB / 1.069 GB, free: 152 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005435/1.018, allocations: 279.5 kB / 1.069 GB, free: 152 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001142/1.02, allocations: 236.2 kB / 1.069 GB, free: 152 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009675/1.029, allocations: 5.402 MB / 1.075 GB, free: 149.7 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006276/1.03, allocations: 0.9513 MB / 1.076 GB, free: 149 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001083/1.031, allocations: 237.3 kB / 1.076 GB, free: 148.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005421/1.032, allocations: 294.8 kB / 1.076 GB, free: 148.9 MB / 0.698 GB Notification: Performance of SimCode: time 9.82e-07/1.032, allocations: 3.938 kB / 1.076 GB, free: 148.9 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04041/1.072, allocations: 15.49 MB / 1.091 GB, free: 140.2 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001759/1.072, allocations: 296.8 kB / 1.091 GB, free: 139.8 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.894/3.966, allocations: 0 / 1.091 GB, free: 139.8 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)