Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_Buildings.HeatTransfer.Windows.Examples.SideFins") translateModel(Buildings.HeatTransfer.Windows.Examples.SideFins,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001131/0.001131, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001302/0.001303, allocations: 194 kB / 16.25 MB, free: 6.625 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.393/1.393, allocations: 205.1 MB / 222.1 MB, free: 4.68 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.757/1.757, allocations: 292.3 MB / 0.5485 GB, free: 13.64 MB / 462.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.002218/0.002218, allocations: 67.41 kB / 0.671 GB, free: 26.4 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2404/0.2426, allocations: 114.5 MB / 0.7828 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.006918/0.2496, allocations: 4.991 MB / 0.7877 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.5546/0.8043, allocations: 148.8 MB / 0.933 GB, free: 5.141 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009152/0.8053, allocations: 20.59 kB / 0.9331 GB, free: 5.141 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0006419/0.8059, allocations: 144.8 kB / 0.9332 GB, free: 5.141 MB / 0.7325 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4-maint.8.1.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.1.4-maint.8.1.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.1.4-maint.8.1.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.001766/0.8077, allocations: 471.9 kB / 0.9336 GB, free: 5.133 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002193/0.8099, allocations: 0.8238 MB / 0.9345 GB, free: 5.113 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.00183/0.8118, allocations: 1.705 MB / 0.9361 GB, free: 5.109 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001164/0.8129, allocations: 0.879 MB / 0.937 GB, free: 4.918 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001116/0.8141, allocations: 0.6457 MB / 0.9376 GB, free: 4.918 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009591/0.815, allocations: 0.7059 MB / 0.9383 GB, free: 4.918 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0002017/0.8153, allocations: 170.8 kB / 0.9385 GB, free: 4.918 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001222/0.8165, allocations: 0.5458 MB / 0.939 GB, free: 4.906 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0004522/0.8169, allocations: 440.6 kB / 0.9394 GB, free: 4.902 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0008129/0.8178, allocations: 0.7459 MB / 0.9401 GB, free: 4.902 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002884/0.8207, allocations: 2.115 MB / 0.9422 GB, free: 4.785 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.8207, allocations: 0 / 0.9422 GB, free: 4.785 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.385e-06/0.8207, allocations: 0 / 0.9422 GB, free: 4.785 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.236e-05/0.8207, allocations: 0 / 0.9422 GB, free: 4.785 MB / 0.7325 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.003466/0.8242, allocations: 1.731 MB / 0.9439 GB, free: 19.91 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/0.8242, allocations: 9.625 kB / 0.9439 GB, free: 19.91 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009252/0.8335, allocations: 1.277 MB / 0.9452 GB, free: 19.79 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002016/0.8355, allocations: 0.9773 MB / 0.9461 GB, free: 19.46 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001175/0.8357, allocations: 94.84 kB / 0.9462 GB, free: 19.45 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002703/0.836, allocations: 120.4 kB / 0.9463 GB, free: 19.45 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005802/0.8418, allocations: 2.104 MB / 0.9484 GB, free: 19.26 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.033e-05/0.8418, allocations: 3.062 kB / 0.9484 GB, free: 19.26 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001631/0.842, allocations: 51.19 kB / 0.9484 GB, free: 19.26 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.386e-05/0.842, allocations: 31.12 kB / 0.9485 GB, free: 19.26 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008101/0.8501, allocations: 2.882 MB / 0.9513 GB, free: 19.21 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008987/0.8591, allocations: 4.618 MB / 0.9558 GB, free: 18.22 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007865/0.867, allocations: 2.749 MB / 0.9585 GB, free: 18.14 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003072/0.8701, allocations: 1.086 MB / 0.9595 GB, free: 18.12 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006145/0.8708, allocations: 0.6037 MB / 0.9601 GB, free: 17.46 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003693/0.8745, allocations: 1.344 MB / 0.9614 GB, free: 17.37 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=121): time 3.075e-06/0.8745, allocations: 0 / 0.9614 GB, free: 17.37 MB / 0.7481 GB Notification: Performance of matching and sorting (n=121): time 0.01122/0.8857, allocations: 3.431 MB / 0.9648 GB, free: 17.12 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001092/0.8859, allocations: 198.8 kB / 0.965 GB, free: 16.91 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001169/0.887, allocations: 0.7411 MB / 0.9657 GB, free: 16.77 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001749/0.8872, allocations: 49.5 kB / 0.9657 GB, free: 16.74 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004381/0.8877, allocations: 491.4 kB / 0.9662 GB, free: 16.51 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003547/0.888, allocations: 405.4 kB / 0.9666 GB, free: 16.26 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000501/0.8886, allocations: 252.6 kB / 0.9668 GB, free: 16.23 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.8887, allocations: 350.8 kB / 0.9672 GB, free: 15.92 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003065/0.8918, allocations: 1.005 MB / 0.9681 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003059/0.8948, allocations: 1.138 MB / 0.9693 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005695/0.9005, allocations: 1.984 MB / 0.9712 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.9006, allocations: 0 / 0.9712 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.007269/0.9078, allocations: 2.364 MB / 0.9735 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.48e-05/0.9079, allocations: 8.094 kB / 0.9735 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/0.9079, allocations: 9.188 kB / 0.9735 GB, free: 15.6 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006238/0.9085, allocations: 79.44 kB / 0.9736 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002471/0.911, allocations: 410.8 kB / 0.974 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002059/0.9131, allocations: 1.65 MB / 0.9756 GB, free: 14.2 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002276/0.9154, allocations: 266.2 kB / 0.9759 GB, free: 14.07 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000155/0.9155, allocations: 70.61 kB / 0.9759 GB, free: 14.04 MB / 0.7481 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.0007969/0.9163, allocations: 333.3 kB / 0.9762 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002567/0.9166, allocations: 104.4 kB / 0.9763 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007439/0.9241, allocations: 2.74 MB / 0.979 GB, free: 12.42 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-05/0.9241, allocations: 12.88 kB / 0.979 GB, free: 12.42 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.9241, allocations: 0 / 0.979 GB, free: 12.42 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.46e-05/0.9241, allocations: 7.969 kB / 0.979 GB, free: 12.41 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009757/0.9339, allocations: 4.571 MB / 0.9835 GB, free: 9.555 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/0.9339, allocations: 3.938 kB / 0.9835 GB, free: 9.551 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002247/0.9362, allocations: 406.9 kB / 0.9839 GB, free: 9.418 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004582/0.9366, allocations: 74 kB / 0.984 GB, free: 9.379 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001295/0.9368, allocations: 40.98 kB / 0.984 GB, free: 9.352 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001874/0.9387, allocations: 1.673 MB / 0.9856 GB, free: 7.73 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.289e-06/0.9387, allocations: 4 kB / 0.9856 GB, free: 7.727 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007389/0.9461, allocations: 2.503 MB / 0.9881 GB, free: 6.367 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007832/0.9469, allocations: 441.1 kB / 0.9885 GB, free: 6.008 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000232/0.9471, allocations: 24.59 kB / 0.9885 GB, free: 5.992 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001974/0.9491, allocations: 216.8 kB / 0.9887 GB, free: 5.879 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001805/0.9493, allocations: 91.78 kB / 0.9888 GB, free: 5.836 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001439/0.9494, allocations: 56 kB / 0.9889 GB, free: 5.812 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0007217/0.9502, allocations: 0.5338 MB / 0.9894 GB, free: 5.508 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2e-07/0.9502, allocations: 0 / 0.9894 GB, free: 5.508 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001323/0.9515, allocations: 450.9 kB / 0.9898 GB, free: 5.391 MB / 0.7481 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.001369/0.9529, allocations: 0.6013 MB / 0.9904 GB, free: 5.121 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.008396/0.9613, allocations: 2.942 MB / 0.9933 GB, free: 3.836 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.9613, allocations: 0 / 0.9933 GB, free: 3.836 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.003425/0.9647, allocations: 1.344 MB / 0.9946 GB, free: 3.129 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001529/0.9663, allocations: 321.1 kB / 0.9949 GB, free: 2.961 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00711/0.9734, allocations: 3.535 MB / 0.9984 GB, free: 0.707 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007172/0.9741, allocations: 1.159 MB / 0.9995 GB, free: 15.8 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001875/0.976, allocations: 466.1 kB / 0.9999 GB, free: 15.6 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006047/0.9766, allocations: 156.8 kB / 1 GB, free: 15.54 MB / 0.7637 GB Notification: Performance of SimCode: time 6.81e-07/0.9767, allocations: 4 kB / 1 GB, free: 15.54 MB / 0.7637 GB Notification: Performance of Templates: time 0.03185/1.009, allocations: 21.71 MB / 1.021 GB, free: 14.71 MB / 0.7794 GB make -j1 -f Buildings_8_Buildings.HeatTransfer.Windows.Examples.SideFins.makefile (rm -f Buildings_8_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; mkfifo Buildings_8_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; head -c 1048576 < Buildings_8_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe >> ../files/Buildings_8_Buildings.HeatTransfer.Windows.Examples.SideFins.sim & ./Buildings_8_Buildings.HeatTransfer.Windows.Examples.SideFins -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe 2>&1)