Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.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.BaseClasses.Examples.SideFins,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.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.633/1.633, allocations: 288.4 MB / 303.6 MB, free: 8.102 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.0008958/0.0008958, allocations: 180.4 kB / 372.3 MB, free: 10.14 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.322/1.322, allocations: 205.4 MB / 0.631 GB, free: 9.914 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.0008176/0.0008175, allocations: 90.86 kB / 0.7444 GB, free: 5.832 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000443/0.0004431, allocations: 12.94 kB / 0.8675 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2032/0.2037, allocations: 115.3 MB / 0.9801 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins): time 0.004119/0.2078, allocations: 4.161 MB / 0.9842 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.6434/0.8513, allocations: 136.7 MB / 1.118 GB, free: 2.41 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008537/0.8522, allocations: 18.84 kB / 1.118 GB, free: 2.402 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0008185/0.8531, allocations: 132.2 kB / 1.118 GB, free: 2.344 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.001797/0.8549, allocations: 425.4 kB / 1.118 GB, free: 2.234 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002203/0.8571, allocations: 0.6899 MB / 1.119 GB, free: 2.172 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001959/0.8591, allocations: 1.475 MB / 1.12 GB, free: 1.938 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001036/0.8601, allocations: 0.6845 MB / 1.121 GB, free: 1.785 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007076/0.8608, allocations: 420 kB / 1.121 GB, free: 1.688 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005754/0.8614, allocations: 0.4886 MB / 1.122 GB, free: 1.57 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001122/0.8615, allocations: 33.91 kB / 1.122 GB, free: 1.57 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001006/0.8625, allocations: 398.8 kB / 1.122 GB, free: 1.555 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002658/0.8628, allocations: 262.8 kB / 1.123 GB, free: 1.504 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0004521/0.8633, allocations: 0.5238 MB / 1.123 GB, free: 1.297 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.001447/0.8647, allocations: 1.385 MB / 1.124 GB, free: 1.184 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.8647, allocations: 2.125 kB / 1.124 GB, free: 1.184 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.383e-06/0.8647, allocations: 0 / 1.124 GB, free: 1.184 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.449e-05/0.8648, allocations: 0.8438 kB / 1.124 GB, free: 1.184 MB / 0.6823 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.002499/0.8673, allocations: 1.368 MB / 1.126 GB, free: 16.36 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/0.8673, allocations: 13.25 kB / 1.126 GB, free: 16.35 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008889/0.8762, allocations: 1.554 MB / 1.127 GB, free: 16.21 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001937/0.8782, allocations: 0.905 MB / 1.128 GB, free: 15.85 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.278e-05/0.8783, allocations: 83.42 kB / 1.128 GB, free: 15.85 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002186/0.8785, allocations: 113.7 kB / 1.128 GB, free: 15.84 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004861/0.8834, allocations: 2.043 MB / 1.13 GB, free: 15.63 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.694e-05/0.8835, allocations: 3.312 kB / 1.13 GB, free: 15.63 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001446/0.8836, allocations: 45.28 kB / 1.13 GB, free: 15.63 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.516e-05/0.8836, allocations: 30.31 kB / 1.13 GB, free: 15.63 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007292/0.8909, allocations: 2.912 MB / 1.133 GB, free: 14.98 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008681/0.8996, allocations: 4.128 MB / 1.137 GB, free: 13.03 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008299/0.908, allocations: 2.812 MB / 1.14 GB, free: 12.33 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003296/0.9113, allocations: 1.119 MB / 1.141 GB, free: 12.06 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006041/0.9119, allocations: 0.6066 MB / 1.142 GB, free: 11.38 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003686/0.9156, allocations: 1.374 MB / 1.143 GB, free: 10.89 MB / 0.698 GB Notification: Performance of pre-optimization done (n=120): time 3.276e-06/0.9157, allocations: 4 kB / 1.143 GB, free: 10.89 MB / 0.698 GB Notification: Performance of matching and sorting (n=120): time 0.01109/0.9268, allocations: 3.542 MB / 1.147 GB, free: 9.871 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001183/0.9269, allocations: 197.3 kB / 1.147 GB, free: 9.648 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001049/0.928, allocations: 0.6991 MB / 1.147 GB, free: 9.41 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001593/0.9282, allocations: 46.11 kB / 1.147 GB, free: 9.379 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003265/0.9285, allocations: 453.9 kB / 1.148 GB, free: 9.125 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003628/0.9289, allocations: 399.1 kB / 1.148 GB, free: 8.84 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.593e-05/0.929, allocations: 24 kB / 1.148 GB, free: 8.84 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001698/0.9291, allocations: 396.9 kB / 1.149 GB, free: 8.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003034/0.9322, allocations: 1.038 MB / 1.15 GB, free: 8.242 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003192/0.9354, allocations: 1.16 MB / 1.151 GB, free: 7.898 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005898/0.9413, allocations: 2.079 MB / 1.153 GB, free: 7.402 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.087e-05/0.9413, allocations: 0 / 1.153 GB, free: 7.402 MB / 0.698 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.007039/0.9484, allocations: 2.441 MB / 1.155 GB, free: 6.746 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.378e-05/0.9484, allocations: 5.75 kB / 1.155 GB, free: 6.746 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.9484, allocations: 0 / 1.155 GB, free: 6.746 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005851/0.949, allocations: 91.92 kB / 1.155 GB, free: 6.711 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002368/0.9514, allocations: 469.6 kB / 1.156 GB, free: 6.566 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00207/0.9535, allocations: 1.543 MB / 1.157 GB, free: 5.18 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002325/0.9558, allocations: 323.2 kB / 1.158 GB, free: 5.047 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000189/0.956, allocations: 58.59 kB / 1.158 GB, free: 5.031 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.0008341/0.9569, allocations: 312.2 kB / 1.158 GB, free: 4.887 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003617/0.9573, allocations: 100 kB / 1.158 GB, free: 4.836 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008179/0.9654, allocations: 2.827 MB / 1.161 GB, free: 3.98 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-05/0.9655, allocations: 13.78 kB / 1.161 GB, free: 3.98 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.9655, allocations: 0 / 1.161 GB, free: 3.98 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.871e-05/0.9655, allocations: 10.91 kB / 1.161 GB, free: 3.973 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01032/0.9758, allocations: 4.36 MB / 1.165 GB, free: 2.488 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.865e-06/0.9759, allocations: 4 kB / 1.165 GB, free: 2.484 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002297/0.9782, allocations: 455.4 kB / 1.166 GB, free: 2.352 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005332/0.9788, allocations: 88.11 kB / 1.166 GB, free: 2.316 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001626/0.9789, allocations: 48.11 kB / 1.166 GB, free: 2.301 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001865/0.9808, allocations: 1.556 MB / 1.167 GB, free: 0.9375 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.9808, allocations: 0 / 1.167 GB, free: 0.9375 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007354/0.9882, allocations: 2.575 MB / 1.17 GB, free: 176 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001006/0.9892, allocations: 421 kB / 1.17 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003592/0.9896, allocations: 23.81 kB / 1.17 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002137/0.9918, allocations: 286.2 kB / 1.17 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000206/0.992, allocations: 89.72 kB / 1.17 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001516/0.9922, allocations: 57.72 kB / 1.171 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0007942/0.993, allocations: 0.5084 MB / 1.171 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.2e-07/0.993, allocations: 1.859 kB / 1.171 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001504/0.9945, allocations: 430.5 kB / 1.171 GB, free: 15.54 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.001487/0.996, allocations: 0.615 MB / 1.172 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.007043/1.003, allocations: 2.466 MB / 1.174 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.643e-06/1.003, allocations: 0 / 1.174 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.003749/1.007, allocations: 1.363 MB / 1.176 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002013/1.009, allocations: 277.6 kB / 1.176 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008223/1.017, allocations: 3.384 MB / 1.179 GB, free: 9.109 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009242/1.018, allocations: 1.126 MB / 1.18 GB, free: 7.969 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002562/1.021, allocations: 472.2 kB / 1.181 GB, free: 7.504 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008084/1.022, allocations: 157.9 kB / 1.181 GB, free: 7.363 MB / 0.7136 GB Notification: Performance of SimCode: time 8.21e-07/1.022, allocations: 0 / 1.181 GB, free: 7.363 MB / 0.7136 GB Notification: Performance of Templates: time 0.03498/1.057, allocations: 19.57 MB / 1.2 GB, free: 3.93 MB / 0.7292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.makefile (rm -f Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe >> ../files/Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.sim & ./Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe 2>&1)