Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.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.Examples.SideFins,fileNamePrefix="Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_Examples_SideFins",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.SideFins,fileNamePrefix="Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_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.46/1.46, allocations: 288.4 MB / 303.6 MB, free: 8.152 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.0008705/0.0008705, allocations: 174.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.151/1.151, allocations: 205.4 MB / 0.631 GB, free: 9.875 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.0006822/0.0006822, allocations: 94.34 kB / 0.7444 GB, free: 5.789 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003592/0.0003593, allocations: 15.03 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1572/0.1576, allocations: 115.3 MB / 0.9802 GB, free: 27.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.004271/0.1619, allocations: 4.321 MB / 0.9844 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.4443/0.6062, allocations: 136.9 MB / 1.118 GB, free: 2.379 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008156/0.6071, allocations: 16.47 kB / 1.118 GB, free: 2.375 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0006277/0.6077, allocations: 136.8 kB / 1.118 GB, free: 2.312 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.001692/0.6094, allocations: 441.4 kB / 1.119 GB, free: 2.191 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002172/0.6116, allocations: 0.6975 MB / 1.119 GB, free: 2.129 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001985/0.6136, allocations: 1.556 MB / 1.121 GB, free: 1.887 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001213/0.6149, allocations: 0.8285 MB / 1.122 GB, free: 1.676 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008387/0.6157, allocations: 440.1 kB / 1.122 GB, free: 1.566 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008572/0.6166, allocations: 0.5015 MB / 1.123 GB, free: 1.441 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0002684/0.6168, allocations: 39.06 kB / 1.123 GB, free: 1.438 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00111/0.618, allocations: 394.9 kB / 1.123 GB, free: 1.422 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003451/0.6183, allocations: 268.8 kB / 1.123 GB, free: 1.371 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0007822/0.6191, allocations: 0.5585 MB / 1.124 GB, free: 17.14 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001649/0.6208, allocations: 1.582 MB / 1.125 GB, free: 17.03 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.6208, allocations: 0 / 1.125 GB, free: 17.03 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.873e-06/0.6208, allocations: 0 / 1.125 GB, free: 17.03 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.652e-05/0.6209, allocations: 0 / 1.125 GB, free: 17.03 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: 317 * Number of variables: 317 Notification: Performance of Generate backend data structure: time 0.003029/0.6239, allocations: 1.439 MB / 1.127 GB, free: 16.17 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.6239, allocations: 11.62 kB / 1.127 GB, free: 16.17 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003822/0.6243, allocations: 186.8 kB / 1.127 GB, free: 16.13 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008255/0.6326, allocations: 1.564 MB / 1.128 GB, free: 15.98 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001355/0.634, allocations: 0.9861 MB / 1.129 GB, free: 15.61 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.334e-05/0.634, allocations: 96.75 kB / 1.129 GB, free: 15.6 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001688/0.6342, allocations: 120 kB / 1.13 GB, free: 15.6 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004547/0.6388, allocations: 2.216 MB / 1.132 GB, free: 15.32 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.452e-05/0.6388, allocations: 0 / 1.132 GB, free: 15.32 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000142/0.6389, allocations: 53.14 kB / 1.132 GB, free: 15.32 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.888e-05/0.639, allocations: 32.12 kB / 1.132 GB, free: 15.32 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007061/0.646, allocations: 3.11 MB / 1.135 GB, free: 14.53 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007635/0.6537, allocations: 4.714 MB / 1.139 GB, free: 12.42 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007471/0.6612, allocations: 3.017 MB / 1.142 GB, free: 11.73 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003037/0.6642, allocations: 1.191 MB / 1.144 GB, free: 11.47 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004743/0.6647, allocations: 0.6162 MB / 1.144 GB, free: 10.78 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003364/0.6681, allocations: 1.448 MB / 1.146 GB, free: 10.29 MB / 0.698 GB Notification: Performance of pre-optimization done (n=121): time 8.015e-06/0.6681, allocations: 5.062 kB / 1.146 GB, free: 10.29 MB / 0.698 GB Notification: Performance of matching and sorting (n=121): time 0.01041/0.6785, allocations: 3.763 MB / 1.149 GB, free: 9.277 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.285e-05/0.6786, allocations: 207.2 kB / 1.149 GB, free: 9.047 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009141/0.6796, allocations: 0.7346 MB / 1.15 GB, free: 8.809 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001196/0.6797, allocations: 47.05 kB / 1.15 GB, free: 8.777 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003174/0.68, allocations: 495.8 kB / 1.151 GB, free: 8.504 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003206/0.6803, allocations: 404.6 kB / 1.151 GB, free: 8.215 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.791e-05/0.6804, allocations: 17.44 kB / 1.151 GB, free: 8.215 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001035/0.6805, allocations: 348.8 kB / 1.151 GB, free: 7.895 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002963/0.6835, allocations: 1.102 MB / 1.153 GB, free: 7.641 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002903/0.6864, allocations: 1.235 MB / 1.154 GB, free: 7.27 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005434/0.6919, allocations: 2.18 MB / 1.156 GB, free: 6.773 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.6919, allocations: 0 / 1.156 GB, free: 6.773 MB / 0.698 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.006462/0.6984, allocations: 2.539 MB / 1.158 GB, free: 6.129 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.6984, allocations: 9.188 kB / 1.158 GB, free: 6.125 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.886e-06/0.6984, allocations: 2.656 kB / 1.158 GB, free: 6.125 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005202/0.6989, allocations: 87.66 kB / 1.158 GB, free: 6.09 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002164/0.7011, allocations: 461.7 kB / 1.159 GB, free: 5.949 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00168/0.7028, allocations: 1.524 MB / 1.16 GB, free: 4.578 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001982/0.7048, allocations: 327.5 kB / 1.161 GB, free: 4.441 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001218/0.7049, allocations: 57.47 kB / 1.161 GB, free: 4.422 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 (127): * Single equations (assignments): 126 * 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.0006404/0.7056, allocations: 328.7 kB / 1.161 GB, free: 4.281 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001809/0.7058, allocations: 104.5 kB / 1.161 GB, free: 4.227 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007404/0.7132, allocations: 2.966 MB / 1.164 GB, free: 3.379 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.064e-05/0.7132, allocations: 13.94 kB / 1.164 GB, free: 3.379 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.7132, allocations: 0 / 1.164 GB, free: 3.379 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.396e-05/0.7132, allocations: 7.969 kB / 1.164 GB, free: 3.371 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009059/0.7223, allocations: 4.798 MB / 1.169 GB, free: 1.832 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-06/0.7223, allocations: 2.812 kB / 1.169 GB, free: 1.832 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002141/0.7245, allocations: 466 kB / 1.169 GB, free: 1.691 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004668/0.7249, allocations: 80.16 kB / 1.169 GB, free: 1.66 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001155/0.7251, allocations: 51.28 kB / 1.169 GB, free: 1.645 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001525/0.7266, allocations: 1.558 MB / 1.171 GB, free: 280 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.656e-06/0.7266, allocations: 4.766 kB / 1.171 GB, free: 276 kB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006825/0.7334, allocations: 2.729 MB / 1.174 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006438/0.7341, allocations: 453.6 kB / 1.174 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001757/0.7343, allocations: 25.97 kB / 1.174 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001822/0.7361, allocations: 287.4 kB / 1.174 GB, free: 14.49 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001585/0.7363, allocations: 91.28 kB / 1.174 GB, free: 14.42 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000129/0.7364, allocations: 55.94 kB / 1.174 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0006375/0.7371, allocations: 0.5303 MB / 1.175 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7371, allocations: 1.75 kB / 1.175 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001068/0.7381, allocations: 446.9 kB / 1.175 GB, free: 13.4 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 (135): * Single equations (assignments): 132 * 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.008152/0.7463, allocations: 3.777 MB / 1.179 GB, free: 9.77 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.00653/0.7528, allocations: 2.596 MB / 1.182 GB, free: 7.156 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.7529, allocations: 0 / 1.182 GB, free: 7.156 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.003339/0.7562, allocations: 1.446 MB / 1.183 GB, free: 5.695 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001307/0.7575, allocations: 278.1 kB / 1.183 GB, free: 5.43 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02063/0.7782, allocations: 9.912 MB / 1.193 GB, free: 11.31 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006257/0.7788, allocations: 1.152 MB / 1.194 GB, free: 10.13 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001627/0.7805, allocations: 476.5 kB / 1.194 GB, free: 9.66 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008964/0.7814, allocations: 0.5265 MB / 1.195 GB, free: 9.133 MB / 0.7292 GB Notification: Performance of SimCode: time 4.61e-07/0.7814, allocations: 0 / 1.195 GB, free: 9.133 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9635/1.745, allocations: 30.09 MB / 1.224 GB, free: 11.28 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002226/1.745, allocations: 254.5 kB / 1.225 GB, free: 10.94 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.848/4.593, allocations: 0 / 1.225 GB, free: 10.94 MB / 0.7605 GB (rm -f Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe >> ../files/Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.Examples.SideFins.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_Examples_SideFins_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_Examples_SideFins.fmu > Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe 2>&1)