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.001019/0.001018, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001067/0.001067, allocations: 192.2 kB / 16.25 MB, free: 6.629 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.284/1.284, allocations: 205.1 MB / 222.1 MB, free: 4.734 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.446/1.446, allocations: 251.6 MB / 0.5089 GB, free: 3.312 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.002194/0.002194, allocations: 63.89 kB / 0.6217 GB, free: 1.871 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4274/0.4296, allocations: 104.7 MB / 0.724 GB, free: 13.1 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins): time 0.006045/0.4357, allocations: 4.839 MB / 0.7287 GB, free: 8.234 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1522/0.5879, allocations: 148.6 MB / 0.8739 GB, free: 3.039 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007829/0.5887, allocations: 19.88 kB / 0.8739 GB, free: 3.02 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0005397/0.5894, allocations: 142.8 kB / 0.874 GB, free: 2.879 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.001346/0.5907, allocations: 444.5 kB / 0.8744 GB, free: 2.445 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001714/0.5924, allocations: 0.8071 MB / 0.8752 GB, free: 1.645 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001349/0.5938, allocations: 1.594 MB / 0.8768 GB, free: 44 kB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008559/0.5947, allocations: 0.7222 MB / 0.8775 GB, free: 15.3 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005927/0.5953, allocations: 0.5878 MB / 0.8781 GB, free: 14.71 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00058/0.5959, allocations: 0.6575 MB / 0.8787 GB, free: 14.05 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0001636/0.596, allocations: 144 kB / 0.8788 GB, free: 13.91 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007723/0.5968, allocations: 0.523 MB / 0.8794 GB, free: 13.38 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0002946/0.5971, allocations: 402.8 kB / 0.8797 GB, free: 12.99 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0004891/0.5976, allocations: 0.6762 MB / 0.8804 GB, free: 12.31 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.001632/0.5992, allocations: 1.881 MB / 0.8822 GB, free: 10.42 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 8.456e-06/0.5993, allocations: 4 kB / 0.8822 GB, free: 10.42 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.282e-06/0.5993, allocations: 3.938 kB / 0.8822 GB, free: 10.41 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.656e-05/0.5993, allocations: 0 / 0.8822 GB, free: 10.41 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.002566/0.6019, allocations: 1.621 MB / 0.8838 GB, free: 8.738 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.6019, allocations: 12.03 kB / 0.8838 GB, free: 8.727 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008917/0.6108, allocations: 1.271 MB / 0.8851 GB, free: 7.453 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001436/0.6123, allocations: 0.899 MB / 0.886 GB, free: 6.508 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.503e-05/0.6124, allocations: 86.27 kB / 0.886 GB, free: 6.422 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001779/0.6126, allocations: 104 kB / 0.8861 GB, free: 6.32 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004649/0.6172, allocations: 1.937 MB / 0.888 GB, free: 4.316 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.917e-05/0.6173, allocations: 0 / 0.888 GB, free: 4.316 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001467/0.6174, allocations: 51.98 kB / 0.8881 GB, free: 4.266 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.065e-05/0.6175, allocations: 31.94 kB / 0.8881 GB, free: 4.234 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006944/0.6244, allocations: 2.685 MB / 0.8907 GB, free: 1.539 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007811/0.6323, allocations: 4.035 MB / 0.8947 GB, free: 13.42 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007041/0.6393, allocations: 2.529 MB / 0.8971 GB, free: 10.89 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002863/0.6422, allocations: 1.014 MB / 0.8981 GB, free: 9.871 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005221/0.6428, allocations: 0.6023 MB / 0.8987 GB, free: 9.137 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003295/0.6461, allocations: 1.257 MB / 0.9 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=120): time 2.855e-06/0.6461, allocations: 0 / 0.9 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of matching and sorting (n=120): time 0.01022/0.6563, allocations: 3.213 MB / 0.9031 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000114/0.6565, allocations: 192.9 kB / 0.9033 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001007/0.6575, allocations: 0.7037 MB / 0.904 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001496/0.6576, allocations: 49.7 kB / 0.904 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003536/0.658, allocations: 452.7 kB / 0.9044 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003251/0.6583, allocations: 390.2 kB / 0.9048 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004459/0.6588, allocations: 258.6 kB / 0.9051 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.6589, allocations: 414.6 kB / 0.9055 GB, free: 2.105 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002754/0.6617, allocations: 0.9196 MB / 0.9064 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002883/0.6646, allocations: 1.054 MB / 0.9074 GB, free: 112 kB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.385/1.05, allocations: 1.854 MB / 0.9092 GB, free: 181.5 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.071e-05/1.05, allocations: 0.875 kB / 0.9092 GB, free: 181.5 MB / 0.7169 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.007624/1.057, allocations: 2.217 MB / 0.9114 GB, free: 180.9 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.759e-05/1.057, allocations: 5.359 kB / 0.9114 GB, free: 180.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/1.057, allocations: 1.844 kB / 0.9114 GB, free: 180.9 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006/1.058, allocations: 84.88 kB / 0.9114 GB, free: 180.9 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002282/1.06, allocations: 419 kB / 0.9118 GB, free: 180.9 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001921/1.062, allocations: 1.648 MB / 0.9135 GB, free: 179.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002145/1.064, allocations: 266.9 kB / 0.9137 GB, free: 179.3 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001722/1.065, allocations: 60.19 kB / 0.9138 GB, free: 179.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 (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.0006598/1.065, allocations: 313.5 kB / 0.9141 GB, free: 179.1 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002675/1.066, allocations: 99.75 kB / 0.9142 GB, free: 179.1 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007932/1.073, allocations: 2.605 MB / 0.9167 GB, free: 178.4 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.62e-05/1.074, allocations: 13.16 kB / 0.9167 GB, free: 178.4 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/1.074, allocations: 5.062 kB / 0.9167 GB, free: 178.3 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.359e-05/1.074, allocations: 7.359 kB / 0.9167 GB, free: 178.3 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009343/1.083, allocations: 4.125 MB / 0.9208 GB, free: 176.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.914e-06/1.083, allocations: 1.547 kB / 0.9208 GB, free: 176.6 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002026/1.085, allocations: 410.8 kB / 0.9211 GB, free: 176.5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000431/1.085, allocations: 72.25 kB / 0.9212 GB, free: 176.4 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001161/1.086, allocations: 43.67 kB / 0.9213 GB, free: 176.4 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001514/1.087, allocations: 1.676 MB / 0.9229 GB, free: 174.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/1.087, allocations: 0 / 0.9229 GB, free: 174.8 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006133/1.093, allocations: 2.351 MB / 0.9252 GB, free: 173.5 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005827/1.094, allocations: 400.2 kB / 0.9256 GB, free: 173.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002055/1.094, allocations: 22.88 kB / 0.9256 GB, free: 173.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00175/1.096, allocations: 225.2 kB / 0.9258 GB, free: 173.1 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001836/1.096, allocations: 83.44 kB / 0.9259 GB, free: 173 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001293/1.096, allocations: 59.81 kB / 0.9259 GB, free: 173 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0005656/1.097, allocations: 0.5029 MB / 0.9264 GB, free: 172.7 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9.31e-07/1.097, allocations: 0 / 0.9264 GB, free: 172.7 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001177/1.098, allocations: 439.1 kB / 0.9269 GB, free: 172.6 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.001395/1.099, allocations: 0.6018 MB / 0.9274 GB, free: 172.4 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.007318/1.107, allocations: 2.769 MB / 0.9301 GB, free: 170 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/1.107, allocations: 4.062 kB / 0.9302 GB, free: 170 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.002999/1.11, allocations: 1.255 MB / 0.9314 GB, free: 168.7 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001526/1.111, allocations: 321.1 kB / 0.9317 GB, free: 168.4 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006111/1.117, allocations: 3.297 MB / 0.9349 GB, free: 165.1 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004501/1.118, allocations: 1.124 MB / 0.936 GB, free: 164 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001731/1.12, allocations: 476.1 kB / 0.9365 GB, free: 163.5 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005389/1.12, allocations: 151.3 kB / 0.9366 GB, free: 163.3 MB / 0.7169 GB Notification: Performance of SimCode: time 9.22e-07/1.12, allocations: 3.5 kB / 0.9366 GB, free: 163.3 MB / 0.7169 GB Notification: Performance of Templates: time 0.02702/1.147, allocations: 20.83 MB / 0.9569 GB, free: 142.7 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)