Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.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.BaseClasses.Examples.SideFins,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0013/0.0013, 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.001664/0.001664, allocations: 196.3 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.342/1.342, allocations: 205.1 MB / 222 MB, free: 4.742 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.525/1.525, allocations: 251.6 MB / 0.5088 GB, free: 3.277 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.00159/0.00159, allocations: 63.92 kB / 0.6216 GB, free: 2 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4842/0.4859, allocations: 104.7 MB / 0.7238 GB, free: 13.17 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins): time 0.006516/0.4924, allocations: 4.831 MB / 0.7285 GB, free: 8.309 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1495/0.6419, allocations: 148.5 MB / 0.8736 GB, free: 3.203 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007734/0.6428, allocations: 23.81 kB / 0.8736 GB, free: 3.18 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0004994/0.6433, allocations: 142.9 kB / 0.8737 GB, free: 3.039 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.001278/0.6446, allocations: 437.6 kB / 0.8742 GB, free: 2.613 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001757/0.6464, allocations: 0.7885 MB / 0.8749 GB, free: 1.832 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001326/0.6477, allocations: 1.575 MB / 0.8765 GB, free: 256 kB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000875/0.6486, allocations: 0.694 MB / 0.8772 GB, free: 15.53 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005721/0.6492, allocations: 0.5175 MB / 0.8777 GB, free: 15.01 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000559/0.6497, allocations: 0.6145 MB / 0.8783 GB, free: 14.39 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0001427/0.6499, allocations: 79.98 kB / 0.8783 GB, free: 14.32 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008214/0.6507, allocations: 463.6 kB / 0.8788 GB, free: 13.86 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0003025/0.651, allocations: 334.8 kB / 0.8791 GB, free: 13.54 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0004858/0.6515, allocations: 0.6098 MB / 0.8797 GB, free: 12.92 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.001485/0.653, allocations: 1.819 MB / 0.8815 GB, free: 11.1 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.105e-06/0.653, allocations: 0 / 0.8815 GB, free: 11.1 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.395e-06/0.653, allocations: 0 / 0.8815 GB, free: 11.1 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.238e-05/0.653, allocations: 3.938 kB / 0.8815 GB, free: 11.09 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: 288 * Number of variables: 288 Notification: Performance of Generate backend data structure: time 0.002682/0.6557, allocations: 1.637 MB / 0.8831 GB, free: 9.398 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.6558, allocations: 8.031 kB / 0.8831 GB, free: 9.391 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00899/0.6648, allocations: 1.267 MB / 0.8843 GB, free: 8.121 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001338/0.6661, allocations: 0.9028 MB / 0.8852 GB, free: 7.176 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.742e-05/0.6662, allocations: 86.27 kB / 0.8853 GB, free: 7.09 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001896/0.6664, allocations: 108 kB / 0.8854 GB, free: 6.984 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004557/0.671, allocations: 1.937 MB / 0.8873 GB, free: 4.98 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.086e-05/0.671, allocations: 0 / 0.8873 GB, free: 4.98 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001521/0.6712, allocations: 52 kB / 0.8873 GB, free: 4.93 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.2e-05/0.6712, allocations: 28 kB / 0.8873 GB, free: 4.902 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007071/0.6783, allocations: 2.674 MB / 0.89 GB, free: 2.219 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007414/0.6857, allocations: 4.05 MB / 0.8939 GB, free: 14.09 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007156/0.6929, allocations: 2.529 MB / 0.8964 GB, free: 11.55 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002863/0.6958, allocations: 1.007 MB / 0.8974 GB, free: 10.54 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006124/0.6964, allocations: 0.6062 MB / 0.898 GB, free: 9.805 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003337/0.6998, allocations: 1.257 MB / 0.8992 GB, free: 8.527 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=120): time 3.216e-06/0.6998, allocations: 0 / 0.8992 GB, free: 8.527 MB / 0.7169 GB Notification: Performance of matching and sorting (n=120): time 0.01045/0.7102, allocations: 3.217 MB / 0.9023 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.889e-05/0.7104, allocations: 196.9 kB / 0.9025 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009406/0.7113, allocations: 0.7038 MB / 0.9032 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001767/0.7115, allocations: 45.7 kB / 0.9032 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003665/0.7119, allocations: 444.7 kB / 0.9037 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003602/0.7122, allocations: 402.2 kB / 0.9041 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004745/0.7127, allocations: 254.6 kB / 0.9043 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001817/0.7129, allocations: 402.7 kB / 0.9047 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002868/0.7158, allocations: 0.9235 MB / 0.9056 GB, free: 1.859 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002988/0.7188, allocations: 1.05 MB / 0.9066 GB, free: 0.7852 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3203/1.039, allocations: 1.85 MB / 0.9084 GB, free: 181.4 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.75e-06/1.039, allocations: 2.422 kB / 0.9084 GB, free: 181.4 MB / 0.7169 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.006943/1.046, allocations: 2.218 MB / 0.9106 GB, free: 181 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/1.046, allocations: 9.625 kB / 0.9106 GB, free: 181 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/1.046, allocations: 1.344 kB / 0.9106 GB, free: 181 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000611/1.047, allocations: 87.22 kB / 0.9107 GB, free: 181 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002369/1.049, allocations: 410.3 kB / 0.9111 GB, free: 181 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001735/1.051, allocations: 1.538 MB / 0.9126 GB, free: 179.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002024/1.053, allocations: 256.3 kB / 0.9128 GB, free: 179.5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001623/1.053, allocations: 67.97 kB / 0.9129 GB, free: 179.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 (134): * Single equations (assignments): 133 * 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.0005838/1.054, allocations: 305.5 kB / 0.9132 GB, free: 179.3 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002484/1.054, allocations: 107.9 kB / 0.9133 GB, free: 179.3 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007832/1.062, allocations: 2.604 MB / 0.9158 GB, free: 178.6 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-05/1.062, allocations: 16.3 kB / 0.9158 GB, free: 178.6 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/1.062, allocations: 1.156 kB / 0.9158 GB, free: 178.6 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.306e-05/1.062, allocations: 11.69 kB / 0.9158 GB, free: 178.6 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00918/1.071, allocations: 4.117 MB / 0.9199 GB, free: 177 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/1.071, allocations: 5.312 kB / 0.9199 GB, free: 177 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002164/1.073, allocations: 398.3 kB / 0.9203 GB, free: 176.9 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005418/1.074, allocations: 85.95 kB / 0.9203 GB, free: 176.8 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001291/1.074, allocations: 49.08 kB / 0.9204 GB, free: 176.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00151/1.075, allocations: 1.57 MB / 0.9219 GB, free: 175.3 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/1.075, allocations: 0 / 0.9219 GB, free: 175.3 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006085/1.082, allocations: 2.357 MB / 0.9242 GB, free: 174 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005616/1.082, allocations: 397.4 kB / 0.9246 GB, free: 173.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002077/1.082, allocations: 23.47 kB / 0.9246 GB, free: 173.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001778/1.084, allocations: 219.2 kB / 0.9248 GB, free: 173.6 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001541/1.084, allocations: 86.22 kB / 0.9249 GB, free: 173.5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001207/1.084, allocations: 55.09 kB / 0.925 GB, free: 173.5 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0005414/1.085, allocations: 0.5112 MB / 0.9255 GB, free: 173.2 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/1.085, allocations: 0 / 0.9255 GB, free: 173.2 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001097/1.086, allocations: 434.2 kB / 0.9259 GB, free: 173.1 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 (134): * Single equations (assignments): 131 * 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.001194/1.087, allocations: 0.5939 MB / 0.9265 GB, free: 172.9 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.005761/1.093, allocations: 2.247 MB / 0.9286 GB, free: 171.5 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.772e-06/1.093, allocations: 4.062 kB / 0.9287 GB, free: 171.5 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.003008/1.096, allocations: 1.259 MB / 0.9299 GB, free: 170.2 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001407/1.098, allocations: 287.1 kB / 0.9302 GB, free: 169.9 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005846/1.103, allocations: 3.297 MB / 0.9334 GB, free: 166.6 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004007/1.104, allocations: 1.128 MB / 0.9345 GB, free: 165.5 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001642/1.105, allocations: 468.2 kB / 0.9349 GB, free: 165 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005735/1.106, allocations: 159.3 kB / 0.9351 GB, free: 164.8 MB / 0.7169 GB Notification: Performance of SimCode: time 5.91e-07/1.106, allocations: 0 / 0.9351 GB, free: 164.8 MB / 0.7169 GB Notification: Performance of Templates: time 0.02537/1.131, allocations: 20.08 MB / 0.9547 GB, free: 144.9 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.makefile (rm -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe >> ../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.sim & ./Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe 2>&1)