Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.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.HeatTransfer.Windows.BaseClasses.Examples.SideFins,fileNamePrefix="Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins,fileNamePrefix="Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins",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.633/1.633, allocations: 288.4 MB / 303.3 MB, free: 8.027 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.0009086/0.0009086, allocations: 176.5 kB / 372 MB, free: 10.27 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.366/1.366, allocations: 205.4 MB / 0.6307 GB, free: 10.01 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.0008366/0.0008366, allocations: 103.2 kB / 0.7441 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004057/0.000406, allocations: 13.12 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2061/0.2066, allocations: 115.3 MB / 0.9796 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins): time 0.004607/0.2112, allocations: 4.158 MB / 0.9837 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.5976/0.8089, allocations: 136.7 MB / 1.117 GB, free: 2.238 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007835/0.8097, allocations: 15.75 kB / 1.117 GB, free: 2.234 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0005156/0.8103, allocations: 138.2 kB / 1.117 GB, free: 2.172 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.001516/0.8118, allocations: 423.6 kB / 1.118 GB, free: 2.059 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002406/0.8142, allocations: 0.6893 MB / 1.118 GB, free: 2 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002373/0.8166, allocations: 1.45 MB / 1.12 GB, free: 1.781 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009392/0.8175, allocations: 0.5526 MB / 1.12 GB, free: 1.672 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008825/0.8184, allocations: 422.3 kB / 1.121 GB, free: 1.574 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006663/0.8191, allocations: 494.8 kB / 1.121 GB, free: 1.457 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001248/0.8192, allocations: 35.41 kB / 1.121 GB, free: 1.457 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001034/0.8203, allocations: 394.6 kB / 1.122 GB, free: 1.438 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002343/0.8205, allocations: 262.8 kB / 1.122 GB, free: 1.387 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0003101/0.8208, allocations: 231 kB / 1.122 GB, free: 17.31 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001429/0.8223, allocations: 1.392 MB / 1.123 GB, free: 17.2 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.8223, allocations: 0 / 1.123 GB, free: 17.2 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.693e-06/0.8223, allocations: 0 / 1.123 GB, free: 17.2 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.794e-05/0.8223, allocations: 0 / 1.123 GB, free: 17.2 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: 288 * Number of variables: 288 Notification: Performance of Generate backend data structure: time 0.002679/0.825, allocations: 1.386 MB / 1.125 GB, free: 16.37 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.8251, allocations: 13.2 kB / 1.125 GB, free: 16.37 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002397/0.8253, allocations: 171.5 kB / 1.125 GB, free: 16.32 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009584/0.8349, allocations: 1.553 MB / 1.127 GB, free: 16.18 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002139/0.8371, allocations: 0.8809 MB / 1.127 GB, free: 15.85 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.281e-05/0.8372, allocations: 86.55 kB / 1.127 GB, free: 15.84 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003146/0.8376, allocations: 106 kB / 1.128 GB, free: 15.84 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005359/0.8429, allocations: 2.048 MB / 1.13 GB, free: 15.63 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.477e-05/0.843, allocations: 0 / 1.13 GB, free: 15.63 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001552/0.8431, allocations: 50.83 kB / 1.13 GB, free: 15.63 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.294e-05/0.8432, allocations: 30.89 kB / 1.13 GB, free: 15.62 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007516/0.8507, allocations: 2.915 MB / 1.133 GB, free: 14.96 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008891/0.8596, allocations: 4.122 MB / 1.137 GB, free: 13.02 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00863/0.8683, allocations: 2.813 MB / 1.139 GB, free: 12.32 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003391/0.8717, allocations: 1.119 MB / 1.14 GB, free: 12.05 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006025/0.8724, allocations: 0.6071 MB / 1.141 GB, free: 11.38 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004009/0.8764, allocations: 1.37 MB / 1.142 GB, free: 10.88 MB / 0.698 GB Notification: Performance of pre-optimization done (n=120): time 6.031e-06/0.8764, allocations: 1.969 kB / 1.142 GB, free: 10.88 MB / 0.698 GB Notification: Performance of matching and sorting (n=120): time 0.01226/0.8887, allocations: 3.542 MB / 1.146 GB, free: 9.867 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000113/0.8889, allocations: 196.7 kB / 1.146 GB, free: 9.645 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001308/0.8902, allocations: 0.7021 MB / 1.147 GB, free: 9.406 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002814/0.8905, allocations: 49.83 kB / 1.147 GB, free: 9.371 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004687/0.891, allocations: 450.5 kB / 1.147 GB, free: 9.125 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005568/0.8915, allocations: 398.6 kB / 1.147 GB, free: 8.84 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001367/0.8917, allocations: 18.56 kB / 1.148 GB, free: 8.84 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001707/0.8919, allocations: 348.4 kB / 1.148 GB, free: 8.523 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003219/0.8951, allocations: 1.013 MB / 1.149 GB, free: 8.27 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003368/0.8985, allocations: 1.155 MB / 1.15 GB, free: 7.898 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003214/0.9017, allocations: 1.018 MB / 1.151 GB, free: 7.668 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.824e-06/0.9018, allocations: 0 / 1.151 GB, free: 7.668 MB / 0.698 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.008344/0.9101, allocations: 2.385 MB / 1.153 GB, free: 7.023 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.874e-05/0.9102, allocations: 9.172 kB / 1.153 GB, free: 7.02 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.9102, allocations: 9.797 kB / 1.153 GB, free: 7.012 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006297/0.9108, allocations: 87.42 kB / 1.153 GB, free: 6.977 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002395/0.9132, allocations: 457.1 kB / 1.154 GB, free: 6.84 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002244/0.9155, allocations: 1.53 MB / 1.155 GB, free: 5.473 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002438/0.9179, allocations: 325.5 kB / 1.156 GB, free: 5.336 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000247/0.9182, allocations: 54.38 kB / 1.156 GB, free: 5.32 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (126): * Single equations (assignments): 125 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0009581/0.9192, allocations: 312.3 kB / 1.156 GB, free: 5.172 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004447/0.9196, allocations: 104.1 kB / 1.156 GB, free: 5.117 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008302/0.9279, allocations: 2.841 MB / 1.159 GB, free: 4.254 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.344e-05/0.928, allocations: 13.75 kB / 1.159 GB, free: 4.254 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.393e-06/0.928, allocations: 0 / 1.159 GB, free: 4.254 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.821e-05/0.928, allocations: 7.969 kB / 1.159 GB, free: 4.246 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0099/0.9379, allocations: 4.353 MB / 1.163 GB, free: 2.777 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.862e-06/0.938, allocations: 0 / 1.163 GB, free: 2.777 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002326/0.9403, allocations: 461.4 kB / 1.164 GB, free: 2.641 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005435/0.9409, allocations: 87.48 kB / 1.164 GB, free: 2.605 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000145/0.941, allocations: 48.19 kB / 1.164 GB, free: 2.59 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001723/0.9428, allocations: 1.566 MB / 1.165 GB, free: 1.203 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.9428, allocations: 2.906 kB / 1.165 GB, free: 1.203 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007128/0.9499, allocations: 2.575 MB / 1.168 GB, free: 448 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007823/0.9507, allocations: 414.9 kB / 1.168 GB, free: 196 kB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003087/0.951, allocations: 25.92 kB / 1.168 GB, free: 192 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002134/0.9532, allocations: 287 kB / 1.168 GB, free: 96 kB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000171/0.9534, allocations: 81.75 kB / 1.169 GB, free: 64 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001442/0.9535, allocations: 59.28 kB / 1.169 GB, free: 48 kB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0008518/0.9544, allocations: 0.5125 MB / 1.169 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9544, allocations: 1.859 kB / 1.169 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001377/0.9558, allocations: 425.7 kB / 1.169 GB, free: 15.83 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (134): * Single equations (assignments): 131 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.008653/0.9644, allocations: 3.625 MB / 1.173 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.007107/0.9716, allocations: 2.429 MB / 1.175 GB, free: 12.03 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.9716, allocations: 0 / 1.175 GB, free: 12.03 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0038/0.9754, allocations: 1.364 MB / 1.177 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002001/0.9775, allocations: 283 kB / 1.177 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02459/1.002, allocations: 9.275 MB / 1.186 GB, free: 1.867 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009081/1.003, allocations: 1.128 MB / 1.187 GB, free: 0.707 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002411/1.005, allocations: 464.2 kB / 1.188 GB, free: 256 kB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00119/1.007, allocations: 0.4988 MB / 1.188 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of SimCode: time 1.152e-06/1.007, allocations: 0 / 1.188 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06382/1.071, allocations: 28.6 MB / 1.216 GB, free: 3.43 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002764/1.071, allocations: 284.6 kB / 1.216 GB, free: 3.066 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.939/4.009, allocations: 3.234 kB / 1.216 GB, free: 3.066 MB / 0.7448 GB (rm -f Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe >> ../files/Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins.fmu > Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe 2>&1)