Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 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.Examples.SideFins,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.SideFins") translateModel(Buildings.HeatTransfer.Windows.Examples.SideFins,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.001375/0.001375, 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.001536/0.001536, allocations: 195.1 kB / 16.26 MB, free: 6.621 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.307/1.307, allocations: 205.1 MB / 222.1 MB, free: 4.703 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.507/1.507, allocations: 251.6 MB / 0.5089 GB, free: 3.234 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.001346/0.001346, allocations: 63.91 kB / 0.6217 GB, free: 1.836 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4158/0.4172, allocations: 104.7 MB / 0.724 GB, free: 13.07 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.005879/0.4231, allocations: 4.983 MB / 0.7289 GB, free: 8.059 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1408/0.5639, allocations: 148.8 MB / 0.8742 GB, free: 2.656 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007102/0.5647, allocations: 19.94 kB / 0.8742 GB, free: 2.637 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.00049/0.5652, allocations: 146.8 kB / 0.8744 GB, free: 2.492 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.001305/0.5665, allocations: 480.2 kB / 0.8748 GB, free: 2.027 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001659/0.5682, allocations: 0.8137 MB / 0.8756 GB, free: 1.219 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001292/0.5695, allocations: 1.703 MB / 0.8773 GB, free: 15.51 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009901/0.5705, allocations: 0.877 MB / 0.8781 GB, free: 14.59 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000622/0.5711, allocations: 0.6423 MB / 0.8788 GB, free: 13.95 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006079/0.5718, allocations: 0.7081 MB / 0.8795 GB, free: 13.23 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0001764/0.5719, allocations: 172 kB / 0.8796 GB, free: 13.07 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007596/0.5727, allocations: 0.5387 MB / 0.8801 GB, free: 12.53 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0003142/0.573, allocations: 442.7 kB / 0.8806 GB, free: 12.09 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0005076/0.5735, allocations: 0.7463 MB / 0.8813 GB, free: 11.34 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.00171/0.5753, allocations: 2.115 MB / 0.8834 GB, free: 9.223 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.5753, allocations: 0 / 0.8834 GB, free: 9.223 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.903e-06/0.5753, allocations: 0 / 0.8834 GB, free: 9.223 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.572e-05/0.5753, allocations: 0 / 0.8834 GB, free: 9.223 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: 317 * Number of variables: 317 Notification: Performance of Generate backend data structure: time 0.002635/0.578, allocations: 1.731 MB / 0.8851 GB, free: 7.434 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.273e-05/0.578, allocations: 8.031 kB / 0.8851 GB, free: 7.426 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009225/0.5872, allocations: 1.275 MB / 0.8863 GB, free: 6.148 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001384/0.5886, allocations: 0.9809 MB / 0.8873 GB, free: 5.125 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.418e-05/0.5887, allocations: 94.5 kB / 0.8874 GB, free: 5.031 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001873/0.5889, allocations: 120 kB / 0.8875 GB, free: 4.914 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004793/0.5937, allocations: 2.101 MB / 0.8895 GB, free: 2.75 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.424e-05/0.5937, allocations: 0 / 0.8895 GB, free: 2.75 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001502/0.5939, allocations: 52 kB / 0.8896 GB, free: 2.699 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.181e-05/0.5939, allocations: 32 kB / 0.8896 GB, free: 2.668 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007618/0.6015, allocations: 2.885 MB / 0.8924 GB, free: 15.77 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008531/0.6101, allocations: 4.618 MB / 0.8969 GB, free: 11.07 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007458/0.6176, allocations: 2.745 MB / 0.8996 GB, free: 8.32 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002963/0.6206, allocations: 1.085 MB / 0.9007 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005154/0.6211, allocations: 0.6061 MB / 0.9013 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003459/0.6246, allocations: 1.347 MB / 0.9026 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=121): time 2.856e-06/0.6246, allocations: 0 / 0.9026 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of matching and sorting (n=121): time 0.01045/0.6351, allocations: 3.432 MB / 0.9059 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.803e-05/0.6352, allocations: 200.9 kB / 0.9061 GB, free: 1.43 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009048/0.6361, allocations: 0.7468 MB / 0.9068 GB, free: 0.6758 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001348/0.6362, allocations: 45.7 kB / 0.9069 GB, free: 0.625 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003321/0.6366, allocations: 488.5 kB / 0.9074 GB, free: 144 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.3917/1.028, allocations: 395.4 kB / 0.9077 GB, free: 182 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006625/1.029, allocations: 254 kB / 0.908 GB, free: 182 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.563e-05/1.029, allocations: 353.3 kB / 0.9083 GB, free: 181.7 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0034/1.032, allocations: 1.009 MB / 0.9093 GB, free: 181.7 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0034/1.036, allocations: 1.133 MB / 0.9104 GB, free: 181.3 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006366/1.042, allocations: 1.978 MB / 0.9123 GB, free: 180.7 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/1.042, allocations: 4.625 kB / 0.9123 GB, free: 180.7 MB / 0.7169 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.007699/1.05, allocations: 2.367 MB / 0.9147 GB, free: 179.9 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.294e-05/1.05, allocations: 6.375 kB / 0.9147 GB, free: 179.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/1.05, allocations: 0.5625 kB / 0.9147 GB, free: 179.9 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006855/1.051, allocations: 86.12 kB / 0.9147 GB, free: 179.9 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002491/1.053, allocations: 421.9 kB / 0.9151 GB, free: 179.9 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002049/1.055, allocations: 1.633 MB / 0.9167 GB, free: 178.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002211/1.058, allocations: 270.4 kB / 0.917 GB, free: 178.3 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001658/1.058, allocations: 61.64 kB / 0.9171 GB, free: 178.3 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 (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.0008159/1.059, allocations: 333 kB / 0.9174 GB, free: 178.1 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002727/1.059, allocations: 104.2 kB / 0.9175 GB, free: 178 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008226/1.067, allocations: 2.745 MB / 0.9202 GB, free: 177.1 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-05/1.067, allocations: 14.83 kB / 0.9202 GB, free: 177.1 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/1.067, allocations: 0 / 0.9202 GB, free: 177.1 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.482e-05/1.067, allocations: 8.656 kB / 0.9202 GB, free: 177.1 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009192/1.076, allocations: 4.569 MB / 0.9246 GB, free: 174.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.283e-06/1.076, allocations: 0 / 0.9246 GB, free: 174.4 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002086/1.078, allocations: 400.7 kB / 0.925 GB, free: 174.3 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004327/1.079, allocations: 75.75 kB / 0.9251 GB, free: 174.3 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001207/1.079, allocations: 51.47 kB / 0.9251 GB, free: 174.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001488/1.081, allocations: 1.672 MB / 0.9268 GB, free: 172.6 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/1.081, allocations: 0 / 0.9268 GB, free: 172.6 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006389/1.087, allocations: 2.504 MB / 0.9292 GB, free: 170.9 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005541/1.087, allocations: 434.6 kB / 0.9296 GB, free: 170.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002028/1.088, allocations: 27.94 kB / 0.9297 GB, free: 170.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001773/1.089, allocations: 219.7 kB / 0.9299 GB, free: 170.2 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001509/1.09, allocations: 88.84 kB / 0.93 GB, free: 170.1 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001249/1.09, allocations: 55.95 kB / 0.93 GB, free: 170.1 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0005477/1.09, allocations: 0.5341 MB / 0.9305 GB, free: 169.5 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/1.09, allocations: 0 / 0.9305 GB, free: 169.5 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001131/1.091, allocations: 454.5 kB / 0.931 GB, free: 169.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 (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.001268/1.093, allocations: 0.5975 MB / 0.9315 GB, free: 168.7 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.007594/1.1, allocations: 2.939 MB / 0.9344 GB, free: 165.8 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/1.1, allocations: 4 kB / 0.9344 GB, free: 165.8 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.003122/1.103, allocations: 1.337 MB / 0.9357 GB, free: 164.4 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001498/1.105, allocations: 332.1 kB / 0.936 GB, free: 164.1 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00642/1.111, allocations: 3.542 MB / 0.9395 GB, free: 160.6 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000477/1.112, allocations: 1.151 MB / 0.9406 GB, free: 159.4 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001632/1.114, allocations: 472.6 kB / 0.9411 GB, free: 158.9 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005531/1.114, allocations: 159.3 kB / 0.9412 GB, free: 158.8 MB / 0.7169 GB Notification: Performance of SimCode: time 1.302e-06/1.114, allocations: 0 / 0.9412 GB, free: 158.8 MB / 0.7169 GB Notification: Performance of Templates: time 0.02686/1.141, allocations: 21.71 MB / 0.9624 GB, free: 137.2 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.SideFins.makefile (rm -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe >> ../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.SideFins.sim & ./Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.SideFins -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe 2>&1)