Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary,fileNamePrefix="Buildings_maint_8_0_x_Buildings_BoundaryConditions_WeatherData_Validation_DecemberToJanuary",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.336/1.336, allocations: 288.4 MB / 303.6 MB, free: 8 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008411/0.0008411, allocations: 181.3 kB / 372.2 MB, free: 10.11 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.032/1.032, allocations: 205.4 MB / 0.631 GB, free: 9.91 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006254/0.0006254, allocations: 110.8 kB / 0.7444 GB, free: 5.82 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0002905/0.0002906, allocations: 10.47 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1331, allocations: 115.3 MB / 0.9802 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary): time 0.002753/0.1359, allocations: 3.456 MB / 0.9836 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.3898/0.5257, allocations: 136.4 MB / 1.117 GB, free: 2.395 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002472/0.526, allocations: 14.91 kB / 1.117 GB, free: 2.391 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.000326/0.5263, allocations: 120.6 kB / 1.117 GB, free: 2.332 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1-maint.8.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 8.0.1-maint.8.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 8.0.1-maint.8.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.0007217/0.5271, allocations: 336.5 kB / 1.117 GB, free: 2.246 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009084/0.528, allocations: 0.5284 MB / 1.118 GB, free: 2.199 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0006852/0.5287, allocations: 0.9362 MB / 1.119 GB, free: 2.043 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005022/0.5292, allocations: 480.4 kB / 1.119 GB, free: 1.945 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002266/0.5294, allocations: 241.8 kB / 1.119 GB, free: 1.883 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002929/0.5297, allocations: 268.4 kB / 1.12 GB, free: 1.809 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 5.923e-05/0.5298, allocations: 18.66 kB / 1.12 GB, free: 1.809 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003281/0.5301, allocations: 207.1 kB / 1.12 GB, free: 1.797 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001329/0.5303, allocations: 149.1 kB / 1.12 GB, free: 1.762 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.000258/0.5305, allocations: 341.9 kB / 1.12 GB, free: 17.61 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0006154/0.5311, allocations: 0.8698 MB / 1.121 GB, free: 17.54 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.5312, allocations: 1.031 kB / 1.121 GB, free: 17.54 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.202e-06/0.5312, allocations: 0 / 1.121 GB, free: 17.54 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.325e-06/0.5312, allocations: 0 / 1.121 GB, free: 17.54 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.00119/0.5324, allocations: 0.9869 MB / 1.122 GB, free: 16.88 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.188e-05/0.5324, allocations: 10.19 kB / 1.122 GB, free: 16.88 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.712e-05/0.5325, allocations: 109.4 kB / 1.122 GB, free: 16.84 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001874/0.5327, allocations: 95.91 kB / 1.122 GB, free: 16.79 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006766/0.5334, allocations: 0.6552 MB / 1.123 GB, free: 16.48 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.8e-05/0.5334, allocations: 48 kB / 1.123 GB, free: 16.48 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.351e-05/0.5335, allocations: 61.88 kB / 1.123 GB, free: 16.48 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008211/0.5343, allocations: 0.6913 MB / 1.124 GB, free: 16.3 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/0.5343, allocations: 1.312 kB / 1.124 GB, free: 16.3 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.101e-05/0.5344, allocations: 28.16 kB / 1.124 GB, free: 16.3 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.227e-05/0.5344, allocations: 15.06 kB / 1.124 GB, free: 16.3 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00101/0.5354, allocations: 0.9111 MB / 1.125 GB, free: 16.29 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002329/0.5378, allocations: 2.353 MB / 1.127 GB, free: 15.19 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006785/0.5385, allocations: 0.5921 MB / 1.128 GB, free: 15.12 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002371/0.5387, allocations: 218.6 kB / 1.128 GB, free: 15.11 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.292e-05/0.5388, allocations: 33.94 kB / 1.128 GB, free: 15.11 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004121/0.5392, allocations: 346.7 kB / 1.128 GB, free: 15.03 MB / 0.698 GB Notification: Performance of pre-optimization done (n=61): time 1.483e-06/0.5392, allocations: 0 / 1.128 GB, free: 15.03 MB / 0.698 GB Notification: Performance of matching and sorting (n=61): time 0.0008771/0.5401, allocations: 0.6986 MB / 1.129 GB, free: 14.94 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.257e-05/0.5402, allocations: 245.2 kB / 1.129 GB, free: 14.66 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004917/0.5407, allocations: 0.5746 MB / 1.13 GB, free: 14.52 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.069e-05/0.5407, allocations: 43.05 kB / 1.13 GB, free: 14.49 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001746/0.5409, allocations: 326.6 kB / 1.13 GB, free: 14.34 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001121/0.541, allocations: 204.2 kB / 1.13 GB, free: 14.21 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.048e-05/0.541, allocations: 12.03 kB / 1.13 GB, free: 14.21 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.5411, allocations: 372.5 kB / 1.13 GB, free: 13.89 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002175/0.5414, allocations: 167 kB / 1.131 GB, free: 13.89 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002879/0.5417, allocations: 284.6 kB / 1.131 GB, free: 13.79 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004834/0.5421, allocations: 453.4 kB / 1.131 GB, free: 13.72 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.5422, allocations: 0 / 1.131 GB, free: 13.72 MB / 0.698 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0006468/0.5428, allocations: 0.5389 MB / 1.132 GB, free: 13.64 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.5428, allocations: 8.719 kB / 1.132 GB, free: 13.64 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.5428, allocations: 7.281 kB / 1.132 GB, free: 13.63 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.5429, allocations: 3.531 kB / 1.132 GB, free: 13.63 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003693/0.5432, allocations: 116.3 kB / 1.132 GB, free: 13.63 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/0.5432, allocations: 6.688 kB / 1.132 GB, free: 13.63 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000364/0.5436, allocations: 85.23 kB / 1.132 GB, free: 13.59 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.503e-05/0.5437, allocations: 21.78 kB / 1.132 GB, free: 13.59 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002319/0.5439, allocations: 239.4 kB / 1.132 GB, free: 13.47 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.874e-05/0.544, allocations: 68.69 kB / 1.132 GB, free: 13.44 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001033/0.545, allocations: 0.7467 MB / 1.133 GB, free: 13.34 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.7e-06/0.545, allocations: 8.812 kB / 1.133 GB, free: 13.34 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.545, allocations: 0 / 1.133 GB, free: 13.34 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.154e-06/0.5451, allocations: 8.688 kB / 1.133 GB, free: 13.33 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007132/0.5458, allocations: 0.8867 MB / 1.134 GB, free: 13.01 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.5458, allocations: 1.031 kB / 1.134 GB, free: 13.01 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000361/0.5462, allocations: 118.6 kB / 1.134 GB, free: 13 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.419e-06/0.5462, allocations: 3 kB / 1.134 GB, free: 13 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.181e-05/0.5462, allocations: 19.88 kB / 1.134 GB, free: 13 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/0.5462, allocations: 2.688 kB / 1.134 GB, free: 13 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.5462, allocations: 3.531 kB / 1.134 GB, free: 13 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006976/0.5469, allocations: 0.6408 MB / 1.135 GB, free: 12.86 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000221/0.5472, allocations: 255.5 kB / 1.135 GB, free: 12.71 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.466e-05/0.5472, allocations: 13.16 kB / 1.135 GB, free: 12.71 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003809/0.5476, allocations: 59.52 kB / 1.135 GB, free: 12.71 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.955e-05/0.5477, allocations: 51.44 kB / 1.135 GB, free: 12.71 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.792e-05/0.5478, allocations: 26.12 kB / 1.135 GB, free: 12.71 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003449/0.5481, allocations: 421.8 kB / 1.136 GB, free: 12.61 MB / 0.698 GB Notification: Performance of sort global known variables: time 1e-07/0.5481, allocations: 0 / 1.136 GB, free: 12.61 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004552/0.5486, allocations: 216.5 kB / 1.136 GB, free: 12.57 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001791/0.5504, allocations: 1.635 MB / 1.137 GB, free: 11.76 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006137/0.551, allocations: 472.6 kB / 1.138 GB, free: 11.69 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.551, allocations: 1.25 kB / 1.138 GB, free: 11.69 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003248/0.5513, allocations: 277.3 kB / 1.138 GB, free: 11.64 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008547/0.5522, allocations: 231.8 kB / 1.138 GB, free: 11.57 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005244/0.5575, allocations: 3.883 MB / 1.142 GB, free: 9.871 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004132/0.5579, allocations: 0.9467 MB / 1.143 GB, free: 9.066 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0005843/0.5585, allocations: 240.8 kB / 1.143 GB, free: 8.949 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003081/0.5588, allocations: 302.8 kB / 1.144 GB, free: 8.902 MB / 0.698 GB Notification: Performance of SimCode: time 2.01e-07/0.5588, allocations: 0 / 1.144 GB, free: 8.902 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3594/0.9182, allocations: 16.74 MB / 1.16 GB, free: 0.8633 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002682/0.9185, allocations: 257.2 kB / 1.16 GB, free: 0.5078 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.279/3.198, allocations: 0 / 1.16 GB, free: 0.5078 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.pipe >> ../files/Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_BoundaryConditions_WeatherData_Validation_DecemberToJanuary_fmu --startTime=3.09924e+07 --stopTime=3.186e+07 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_BoundaryConditions_WeatherData_Validation_DecemberToJanuary.fmu > Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.pipe 2>&1)