Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.657/1.657, allocations: 287.5 MB / 302.6 MB, free: 8.242 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.001025/0.001025, allocations: 178 kB / 371.2 MB, free: 10.75 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.414/1.414, allocations: 205.4 MB / 0.6298 GB, free: 10.55 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.0007178/0.0007179, allocations: 98.28 kB / 0.7432 GB, free: 6.52 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003748/0.0003748, allocations: 12.38 kB / 0.8661 GB, free: 141.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1984/0.1988, allocations: 115.3 MB / 0.9787 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins): time 0.00424/0.2031, allocations: 4.158 MB / 0.9827 GB, free: 24 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.6333/0.8364, allocations: 136.7 MB / 1.116 GB, free: 1.672 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006509/0.8371, allocations: 20.12 kB / 1.116 GB, free: 1.664 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0005079/0.8377, allocations: 132.9 kB / 1.116 GB, free: 1.605 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0/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.0/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.0/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.001341/0.839, allocations: 426.4 kB / 1.117 GB, free: 1.492 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002064/0.8411, allocations: 0.698 MB / 1.117 GB, free: 1.43 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001607/0.8427, allocations: 1.466 MB / 1.119 GB, free: 1.203 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001058/0.8438, allocations: 0.6849 MB / 1.12 GB, free: 1.051 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007458/0.8445, allocations: 421.7 kB / 1.12 GB, free: 0.9531 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006234/0.8451, allocations: 493.8 kB / 1.12 GB, free: 0.8398 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001097/0.8453, allocations: 36.19 kB / 1.12 GB, free: 0.8359 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008954/0.8462, allocations: 385.7 kB / 1.121 GB, free: 0.8203 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.000303/0.8465, allocations: 268.8 kB / 1.121 GB, free: 0.7695 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.000239/0.8467, allocations: 227.4 kB / 1.121 GB, free: 16.7 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001589/0.8483, allocations: 1.382 MB / 1.123 GB, free: 16.59 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 8.686e-06/0.8483, allocations: 2.562 kB / 1.123 GB, free: 16.59 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.156e-06/0.8484, allocations: 3.938 kB / 1.123 GB, free: 16.58 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.603e-05/0.8484, allocations: 1.859 kB / 1.123 GB, free: 16.58 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.00224/0.8506, allocations: 1.362 MB / 1.124 GB, free: 15.76 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.8507, allocations: 10.81 kB / 1.124 GB, free: 15.76 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008225/0.8589, allocations: 1.559 MB / 1.126 GB, free: 15.61 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001298/0.8602, allocations: 0.8986 MB / 1.126 GB, free: 15.26 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.925e-05/0.8603, allocations: 82.3 kB / 1.127 GB, free: 15.25 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002222/0.8605, allocations: 114.7 kB / 1.127 GB, free: 15.25 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004695/0.8652, allocations: 2.05 MB / 1.129 GB, free: 15.04 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.739e-05/0.8653, allocations: 1.188 kB / 1.129 GB, free: 15.04 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001408/0.8654, allocations: 46.44 kB / 1.129 GB, free: 15.04 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.382e-05/0.8655, allocations: 27.31 kB / 1.129 GB, free: 15.04 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007132/0.8726, allocations: 2.918 MB / 1.132 GB, free: 14.96 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007611/0.8802, allocations: 4.136 MB / 1.136 GB, free: 13.23 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00776/0.888, allocations: 2.808 MB / 1.138 GB, free: 12.54 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003077/0.8911, allocations: 1.116 MB / 1.139 GB, free: 12.27 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005722/0.8917, allocations: 0.6051 MB / 1.14 GB, free: 11.59 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003577/0.8953, allocations: 1.366 MB / 1.141 GB, free: 11.11 MB / 0.698 GB Notification: Performance of pre-optimization done (n=120): time 3.106e-06/0.8953, allocations: 1.094 kB / 1.141 GB, free: 11.11 MB / 0.698 GB Notification: Performance of matching and sorting (n=120): time 0.01095/0.9063, allocations: 3.547 MB / 1.145 GB, free: 10.08 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001074/0.9064, allocations: 194 kB / 1.145 GB, free: 9.863 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001181/0.9076, allocations: 0.703 MB / 1.146 GB, free: 9.625 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001391/0.9077, allocations: 49.2 kB / 1.146 GB, free: 9.594 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003944/0.9081, allocations: 452.1 kB / 1.146 GB, free: 9.34 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003975/0.9085, allocations: 398.6 kB / 1.147 GB, free: 9.055 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.595e-05/0.9086, allocations: 21.72 kB / 1.147 GB, free: 9.055 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001917/0.9088, allocations: 401 kB / 1.147 GB, free: 8.715 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003101/0.9119, allocations: 1.038 MB / 1.148 GB, free: 8.457 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00328/0.9152, allocations: 1.167 MB / 1.149 GB, free: 8.105 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005972/0.9212, allocations: 2.076 MB / 1.151 GB, free: 7.613 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.152e-06/0.9212, allocations: 0 / 1.151 GB, free: 7.613 MB / 0.698 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.007074/0.9283, allocations: 2.447 MB / 1.154 GB, free: 6.953 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.52e-05/0.9284, allocations: 6.031 kB / 1.154 GB, free: 6.953 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.9284, allocations: 0 / 1.154 GB, free: 6.953 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005881/0.929, allocations: 86.58 kB / 1.154 GB, free: 6.918 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002305/0.9313, allocations: 468.6 kB / 1.154 GB, free: 6.777 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001979/0.9333, allocations: 1.545 MB / 1.156 GB, free: 5.387 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002246/0.9355, allocations: 323 kB / 1.156 GB, free: 5.254 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001765/0.9357, allocations: 61.12 kB / 1.156 GB, free: 5.238 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 (134): * Single equations (assignments): 133 * 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.0007997/0.9365, allocations: 310.9 kB / 1.156 GB, free: 5.098 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002883/0.9368, allocations: 97.94 kB / 1.156 GB, free: 5.047 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008033/0.9449, allocations: 2.827 MB / 1.159 GB, free: 4.191 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.176e-05/0.9449, allocations: 13.31 kB / 1.159 GB, free: 4.191 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.9449, allocations: 3.938 kB / 1.159 GB, free: 4.188 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.567e-05/0.9449, allocations: 7.969 kB / 1.159 GB, free: 4.18 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01014/0.9551, allocations: 4.357 MB / 1.163 GB, free: 2.699 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.784e-06/0.9551, allocations: 4 kB / 1.163 GB, free: 2.695 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002325/0.9574, allocations: 461 kB / 1.164 GB, free: 2.562 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005267/0.958, allocations: 81.28 kB / 1.164 GB, free: 2.531 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001412/0.9581, allocations: 48.62 kB / 1.164 GB, free: 2.516 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001873/0.96, allocations: 1.554 MB / 1.165 GB, free: 1.148 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/0.9601, allocations: 3.984 kB / 1.165 GB, free: 1.145 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007445/0.9675, allocations: 2.576 MB / 1.168 GB, free: 388 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009472/0.9685, allocations: 420.4 kB / 1.168 GB, free: 132 kB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003228/0.9688, allocations: 23.92 kB / 1.168 GB, free: 132 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002126/0.9709, allocations: 285.2 kB / 1.169 GB, free: 36 kB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001901/0.9711, allocations: 91.73 kB / 1.169 GB, free: 0 / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001911/0.9713, allocations: 57.91 kB / 1.169 GB, free: 0 / 0.698 GB Notification: Performance of sorting global known variables: time 0.0009129/0.9723, allocations: 0.5022 MB / 1.169 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9723, allocations: 4 kB / 1.169 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.00161/0.9739, allocations: 433.5 kB / 1.17 GB, free: 15.76 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.00163/0.9755, allocations: 0.5962 MB / 1.17 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.007345/0.9829, allocations: 2.462 MB / 1.173 GB, free: 14.03 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.531e-06/0.9829, allocations: 0 / 1.173 GB, free: 14.03 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.003776/0.9867, allocations: 1.37 MB / 1.174 GB, free: 12.9 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001826/0.9885, allocations: 276 kB / 1.174 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009445/0.998, allocations: 3.388 MB / 1.178 GB, free: 9.664 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001067/0.9991, allocations: 1.124 MB / 1.179 GB, free: 8.527 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002354/1.001, allocations: 468.2 kB / 1.179 GB, free: 8.066 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007352/1.002, allocations: 156 kB / 1.179 GB, free: 7.926 MB / 0.7136 GB Notification: Performance of SimCode: time 1.463e-06/1.002, allocations: 3.938 kB / 1.179 GB, free: 7.922 MB / 0.7136 GB Notification: Performance of Templates: time 0.03484/1.037, allocations: 19.41 MB / 1.198 GB, free: 4.648 MB / 0.7292 GB make -j1 -f Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.makefile (rm -f Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; mkfifo Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe >> ../files/Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.sim & ./Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe 2>&1)