Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.SideFins.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.HeatTransfer.Windows.Examples.SideFins,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.SideFins") translateModel(Buildings.HeatTransfer.Windows.Examples.SideFins,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.SideFins") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00104/0.00104, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001165/0.001165, allocations: 192.8 kB / 16.14 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.38/1.38, allocations: 205.1 MB / 222 MB, free: 4.977 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.503/1.503, allocations: 251.6 MB / 0.5088 GB, free: 3.312 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 67.52 kB / 0.6216 GB, free: 2.012 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5114/0.5127, allocations: 104.7 MB / 0.7238 GB, free: 13.17 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.006064/0.5188, allocations: 4.991 MB / 0.7287 GB, free: 8.148 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1429/0.6618, allocations: 148.8 MB / 0.8739 GB, free: 2.832 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001132/0.6629, allocations: 15.94 kB / 0.874 GB, free: 2.816 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0006015/0.6636, allocations: 146.8 kB / 0.8741 GB, free: 2.672 MB / 0.6856 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.001439/0.665, allocations: 452.4 kB / 0.8745 GB, free: 2.23 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001991/0.667, allocations: 0.8114 MB / 0.8753 GB, free: 1.426 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001441/0.6685, allocations: 1.66 MB / 0.8769 GB, free: 15.76 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001015/0.6695, allocations: 0.8512 MB / 0.8778 GB, free: 14.86 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006888/0.6702, allocations: 0.5447 MB / 0.8783 GB, free: 14.32 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006253/0.6708, allocations: 0.6534 MB / 0.8789 GB, free: 13.66 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0001487/0.671, allocations: 84 kB / 0.879 GB, free: 13.58 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009044/0.6719, allocations: 467.6 kB / 0.8795 GB, free: 13.12 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0003015/0.6722, allocations: 354.7 kB / 0.8798 GB, free: 12.77 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0005262/0.6728, allocations: 0.6604 MB / 0.8804 GB, free: 12.11 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.001842/0.6746, allocations: 2.037 MB / 0.8824 GB, free: 10.07 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.6746, allocations: 4 kB / 0.8824 GB, free: 10.06 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.434e-06/0.6746, allocations: 0 / 0.8824 GB, free: 10.06 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.634e-05/0.6747, allocations: 3.938 kB / 0.8824 GB, free: 10.06 MB / 0.7012 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.003293/0.678, allocations: 1.731 MB / 0.8841 GB, free: 8.27 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.997e-05/0.678, allocations: 12.03 kB / 0.8841 GB, free: 8.258 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009185/0.6872, allocations: 1.267 MB / 0.8854 GB, free: 6.988 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001446/0.6887, allocations: 0.9926 MB / 0.8864 GB, free: 5.953 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.258e-05/0.6888, allocations: 90.5 kB / 0.8864 GB, free: 5.863 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001956/0.689, allocations: 120 kB / 0.8866 GB, free: 5.746 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004795/0.6938, allocations: 2.097 MB / 0.8886 GB, free: 3.586 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.34e-05/0.6938, allocations: 4 kB / 0.8886 GB, free: 3.582 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001563/0.694, allocations: 52 kB / 0.8887 GB, free: 3.531 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.213e-05/0.694, allocations: 35.94 kB / 0.8887 GB, free: 3.496 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007209/0.7012, allocations: 2.882 MB / 0.8915 GB, free: 0.6055 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007777/0.709, allocations: 4.61 MB / 0.896 GB, free: 11.91 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007462/0.7165, allocations: 2.753 MB / 0.8987 GB, free: 9.152 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002957/0.7195, allocations: 1.089 MB / 0.8998 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006505/0.7201, allocations: 0.606 MB / 0.9003 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003384/0.7235, allocations: 1.343 MB / 0.9017 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=121): time 2.645e-06/0.7235, allocations: 0 / 0.9017 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of matching and sorting (n=121): time 0.01033/0.7339, allocations: 3.432 MB / 0.905 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.291e-05/0.734, allocations: 200.8 kB / 0.9052 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009205/0.7349, allocations: 0.7468 MB / 0.9059 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001261/0.7351, allocations: 45.7 kB / 0.906 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003738/0.7354, allocations: 484.5 kB / 0.9064 GB, free: 0.9727 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003343/0.7358, allocations: 406.1 kB / 0.9068 GB, free: 0.5703 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004562/0.7362, allocations: 254.7 kB / 0.9071 GB, free: 320 kB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.4024/1.139, allocations: 350.8 kB / 0.9074 GB, free: 181.6 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003696/1.142, allocations: 1.006 MB / 0.9084 GB, free: 181.6 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003493/1.146, allocations: 1.133 MB / 0.9095 GB, free: 181.4 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006266/1.152, allocations: 1.984 MB / 0.9114 GB, free: 180.7 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.578e-06/1.152, allocations: 1.094 kB / 0.9114 GB, free: 180.7 MB / 0.7169 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.007578/1.16, allocations: 2.358 MB / 0.9137 GB, free: 180 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.679e-05/1.16, allocations: 6.469 kB / 0.9137 GB, free: 180 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/1.16, allocations: 1.469 kB / 0.9137 GB, free: 180 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006476/1.161, allocations: 85.41 kB / 0.9138 GB, free: 180 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002447/1.163, allocations: 421.4 kB / 0.9142 GB, free: 180 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001946/1.165, allocations: 1.527 MB / 0.9157 GB, free: 178.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002144/1.167, allocations: 262.5 kB / 0.916 GB, free: 178.6 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001724/1.167, allocations: 63.11 kB / 0.916 GB, free: 178.5 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (135): * Single equations (assignments): 134 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0007204/1.168, allocations: 336.3 kB / 0.9163 GB, free: 178.3 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002694/1.168, allocations: 101.9 kB / 0.9164 GB, free: 178.3 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008218/1.176, allocations: 2.74 MB / 0.9191 GB, free: 177.5 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.972e-05/1.177, allocations: 13.75 kB / 0.9191 GB, free: 177.5 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/1.177, allocations: 3.938 kB / 0.9191 GB, free: 177.4 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.685e-05/1.177, allocations: 11.27 kB / 0.9191 GB, free: 177.4 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009642/1.186, allocations: 4.563 MB / 0.9236 GB, free: 174.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/1.186, allocations: 0.9688 kB / 0.9236 GB, free: 174.9 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002069/1.188, allocations: 404.5 kB / 0.924 GB, free: 174.7 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004884/1.189, allocations: 87.36 kB / 0.9241 GB, free: 174.7 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001107/1.189, allocations: 43.8 kB / 0.9241 GB, free: 174.7 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001475/1.19, allocations: 1.57 MB / 0.9256 GB, free: 173.1 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/1.19, allocations: 0 / 0.9256 GB, free: 173.1 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006296/1.197, allocations: 2.506 MB / 0.9281 GB, free: 171.7 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000597/1.197, allocations: 447.1 kB / 0.9285 GB, free: 171.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002035/1.198, allocations: 20 kB / 0.9285 GB, free: 171.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001764/1.199, allocations: 219.7 kB / 0.9288 GB, free: 171 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001647/1.2, allocations: 85.19 kB / 0.9288 GB, free: 170.9 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001267/1.2, allocations: 59.94 kB / 0.9289 GB, free: 170.8 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0005772/1.2, allocations: 0.5303 MB / 0.9294 GB, free: 170.3 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3e-07/1.2, allocations: 0 / 0.9294 GB, free: 170.3 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001168/1.201, allocations: 451.2 kB / 0.9298 GB, free: 169.9 MB / 0.7169 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001291/1.203, allocations: 0.5973 MB / 0.9304 GB, free: 169.5 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.006033/1.209, allocations: 2.409 MB / 0.9328 GB, free: 167.1 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/1.209, allocations: 3.938 kB / 0.9328 GB, free: 167.1 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.002966/1.212, allocations: 1.333 MB / 0.9341 GB, free: 165.7 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001308/1.213, allocations: 296.2 kB / 0.9344 GB, free: 165.5 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005986/1.219, allocations: 3.552 MB / 0.9378 GB, free: 161.9 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004388/1.22, allocations: 1.151 MB / 0.939 GB, free: 160.7 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001625/1.221, allocations: 476.5 kB / 0.9394 GB, free: 160.2 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005688/1.222, allocations: 159.3 kB / 0.9396 GB, free: 160.1 MB / 0.7169 GB Notification: Performance of SimCode: time 4.71e-07/1.222, allocations: 0 / 0.9396 GB, free: 160.1 MB / 0.7169 GB Notification: Performance of Templates: time 0.02542/1.247, allocations: 20.95 MB / 0.96 GB, free: 139.3 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.SideFins.makefile (rm -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe >> ../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.SideFins.sim & ./Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.SideFins -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe 2>&1)