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: translateModel(Buildings.HeatTransfer.Windows.Examples.SideFins,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.Examples.SideFins") translateModel(Buildings.HeatTransfer.Windows.Examples.SideFins,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.Examples.SideFins") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.607/1.607, allocations: 288.4 MB / 303.4 MB, free: 8.164 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.0009892/0.0009893, allocations: 179.4 kB / 372 MB, free: 10.28 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.403/1.403, allocations: 205.4 MB / 0.6307 GB, free: 9.996 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.0007859/0.0007859, allocations: 92.95 kB / 0.7441 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003971/0.0003974, allocations: 14.75 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.204/0.2045, allocations: 115.3 MB / 0.9796 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.004469/0.209, allocations: 4.31 MB / 0.9838 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.6281/0.8371, allocations: 136.9 MB / 1.117 GB, free: 2.273 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009108/0.838, allocations: 16.84 kB / 1.117 GB, free: 2.27 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0005359/0.8386, allocations: 140.8 kB / 1.118 GB, free: 2.203 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.00158/0.8402, allocations: 441.5 kB / 1.118 GB, free: 2.082 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002242/0.8424, allocations: 0.689 MB / 1.119 GB, free: 2.023 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002167/0.8446, allocations: 1.529 MB / 1.12 GB, free: 1.797 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001063/0.8457, allocations: 0.6435 MB / 1.121 GB, free: 1.676 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001046/0.8467, allocations: 434.4 kB / 1.121 GB, free: 1.566 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007534/0.8475, allocations: 0.4986 MB / 1.122 GB, free: 1.441 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001621/0.8477, allocations: 35.19 kB / 1.122 GB, free: 1.441 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00123/0.8489, allocations: 395 kB / 1.122 GB, free: 1.422 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002993/0.8492, allocations: 266.9 kB / 1.122 GB, free: 1.371 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0003812/0.8496, allocations: 256.6 kB / 1.123 GB, free: 17.29 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002023/0.8516, allocations: 1.582 MB / 1.124 GB, free: 17.17 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 9.488e-06/0.8516, allocations: 1.5 kB / 1.124 GB, free: 17.17 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.226e-06/0.8517, allocations: 4 kB / 1.124 GB, free: 17.16 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.522e-05/0.8517, allocations: 0 / 1.124 GB, free: 17.16 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.003132/0.8548, allocations: 1.45 MB / 1.126 GB, free: 16.3 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.631e-05/0.8549, allocations: 9.219 kB / 1.126 GB, free: 16.3 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009496/0.8644, allocations: 1.565 MB / 1.127 GB, free: 16.16 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002298/0.8667, allocations: 0.9445 MB / 1.128 GB, free: 15.82 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.158e-05/0.8668, allocations: 91.22 kB / 1.128 GB, free: 15.82 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002363/0.8671, allocations: 118.4 kB / 1.128 GB, free: 15.82 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005526/0.8726, allocations: 2.223 MB / 1.13 GB, free: 15.58 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.015e-05/0.8727, allocations: 5.906 kB / 1.13 GB, free: 15.57 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001705/0.8729, allocations: 52.16 kB / 1.13 GB, free: 15.57 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.797e-05/0.8729, allocations: 36.95 kB / 1.131 GB, free: 15.57 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008068/0.881, allocations: 3.12 MB / 1.134 GB, free: 14.77 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009735/0.8908, allocations: 4.688 MB / 1.138 GB, free: 12.68 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008608/0.8994, allocations: 3.023 MB / 1.141 GB, free: 11.99 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003486/0.9029, allocations: 1.197 MB / 1.142 GB, free: 11.72 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005719/0.9035, allocations: 0.6089 MB / 1.143 GB, free: 11.04 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004216/0.9078, allocations: 1.449 MB / 1.144 GB, free: 10.55 MB / 0.698 GB Notification: Performance of pre-optimization done (n=121): time 4.899e-06/0.9078, allocations: 0 / 1.144 GB, free: 10.55 MB / 0.698 GB Notification: Performance of matching and sorting (n=121): time 0.01182/0.9196, allocations: 3.774 MB / 1.148 GB, free: 9.531 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001024/0.9198, allocations: 197.9 kB / 1.148 GB, free: 9.312 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001211/0.921, allocations: 0.7355 MB / 1.149 GB, free: 9.07 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001754/0.9212, allocations: 47.89 kB / 1.149 GB, free: 9.039 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004247/0.9216, allocations: 487.4 kB / 1.149 GB, free: 8.766 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004128/0.922, allocations: 403.1 kB / 1.15 GB, free: 8.477 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001053/0.9221, allocations: 27.88 kB / 1.15 GB, free: 8.473 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001302/0.9223, allocations: 351.2 kB / 1.15 GB, free: 8.152 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003463/0.9258, allocations: 1.109 MB / 1.151 GB, free: 7.898 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00347/0.9292, allocations: 1.247 MB / 1.152 GB, free: 7.559 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003244/0.9325, allocations: 1.104 MB / 1.153 GB, free: 7.324 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.446e-06/0.9325, allocations: 0 / 1.153 GB, free: 7.324 MB / 0.698 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.007627/0.9402, allocations: 2.593 MB / 1.156 GB, free: 6.66 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.064e-05/0.9402, allocations: 2.812 kB / 1.156 GB, free: 6.66 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.527e-05/0.9403, allocations: 1.781 kB / 1.156 GB, free: 6.66 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006312/0.9409, allocations: 86.59 kB / 1.156 GB, free: 6.629 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00247/0.9434, allocations: 467.8 kB / 1.157 GB, free: 6.488 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002061/0.9455, allocations: 1.539 MB / 1.158 GB, free: 5.113 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002539/0.948, allocations: 331 kB / 1.158 GB, free: 4.973 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002728/0.9483, allocations: 63.27 kB / 1.158 GB, free: 4.953 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: 8 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * 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 (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.0009787/0.9493, allocations: 330.1 kB / 1.159 GB, free: 4.812 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000439/0.9498, allocations: 104.3 kB / 1.159 GB, free: 4.758 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008916/0.9587, allocations: 2.969 MB / 1.162 GB, free: 3.902 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.546e-05/0.9587, allocations: 13.28 kB / 1.162 GB, free: 3.902 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-06/0.9588, allocations: 2.594 kB / 1.162 GB, free: 3.902 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.958e-05/0.9588, allocations: 7.969 kB / 1.162 GB, free: 3.895 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01123/0.97, allocations: 4.793 MB / 1.166 GB, free: 2.363 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.053e-05/0.9701, allocations: 3.953 kB / 1.166 GB, free: 2.359 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002377/0.9725, allocations: 460.3 kB / 1.167 GB, free: 2.223 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005354/0.973, allocations: 84.59 kB / 1.167 GB, free: 2.191 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001542/0.9732, allocations: 46.91 kB / 1.167 GB, free: 2.176 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001867/0.9751, allocations: 1.558 MB / 1.169 GB, free: 0.8047 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.511e-06/0.9751, allocations: 3.984 kB / 1.169 GB, free: 0.8008 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007852/0.9829, allocations: 2.721 MB / 1.171 GB, free: 32 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001054/0.984, allocations: 458.2 kB / 1.172 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003842/0.9845, allocations: 26.97 kB / 1.172 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00227/0.9867, allocations: 281.8 kB / 1.172 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001843/0.9869, allocations: 86.72 kB / 1.172 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001559/0.9871, allocations: 58.84 kB / 1.172 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0009712/0.9881, allocations: 0.5272 MB / 1.173 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9881, allocations: 4 kB / 1.173 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001695/0.9898, allocations: 450.3 kB / 1.173 GB, free: 15.24 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.001557/0.9914, allocations: 0.5893 MB / 1.174 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.007735/0.9991, allocations: 2.629 MB / 1.176 GB, free: 12.28 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 8.656e-06/0.9991, allocations: 4 kB / 1.176 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.003887/1.003, allocations: 1.454 MB / 1.178 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002077/1.005, allocations: 279 kB / 1.178 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008542/1.014, allocations: 3.622 MB / 1.181 GB, free: 6.891 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009071/1.015, allocations: 1.159 MB / 1.183 GB, free: 5.699 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002414/1.017, allocations: 472.5 kB / 1.183 GB, free: 5.234 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007578/1.018, allocations: 159.3 kB / 1.183 GB, free: 5.078 MB / 0.7136 GB Notification: Performance of SimCode: time 1.493e-06/1.018, allocations: 0 / 1.183 GB, free: 5.078 MB / 0.7136 GB Notification: Performance of Templates: time 0.03462/1.052, allocations: 20.24 MB / 1.203 GB, free: 0.9648 MB / 0.7292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.Examples.SideFins.makefile (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 & ./Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.Examples.SideFins -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe 2>&1)