Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.676/1.676, allocations: 292.3 MB / 308.1 MB, free: 4.25 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.001163/0.001163, allocations: 184.5 kB / 376.9 MB, free: 1.797 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.369/1.369, allocations: 205 MB / 0.6354 GB, free: 9.797 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009471/0.000947, allocations: 99 kB / 0.748 GB, free: 61.07 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001042/0.001042, allocations: 51.92 kB / 0.8704 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2607/0.2618, allocations: 114.5 MB / 0.9822 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins): time 0.007057/0.2689, allocations: 4.842 MB / 0.9869 GB, free: 5.523 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.6542/0.9231, allocations: 148.5 MB / 1.132 GB, free: 6.262 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001076/0.9243, allocations: 13.75 kB / 1.132 GB, free: 6.258 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0005515/0.9249, allocations: 151.4 kB / 1.132 GB, free: 6.172 MB / 0.7448 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4-maint.8.1.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.1.4-maint.8.1.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.1.4-maint.8.1.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.001394/0.9263, allocations: 428.6 kB / 1.133 GB, free: 5.941 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001767/0.928, allocations: 0.7813 MB / 1.133 GB, free: 5.52 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.001254/0.9293, allocations: 1.595 MB / 1.135 GB, free: 4.816 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008658/0.9302, allocations: 0.6972 MB / 1.136 GB, free: 4.438 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000606/0.9308, allocations: 0.5183 MB / 1.136 GB, free: 4.203 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000546/0.9313, allocations: 0.6065 MB / 1.137 GB, free: 3.914 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001315/0.9315, allocations: 77.97 kB / 1.137 GB, free: 3.914 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008312/0.9323, allocations: 462.8 kB / 1.137 GB, free: 3.793 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0002544/0.9326, allocations: 328.6 kB / 1.137 GB, free: 3.629 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0004297/0.933, allocations: 0.6138 MB / 1.138 GB, free: 3.234 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.001426/0.9345, allocations: 1.829 MB / 1.14 GB, free: 2.488 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.9345, allocations: 0 / 1.14 GB, free: 2.488 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.092e-06/0.9345, allocations: 0 / 1.14 GB, free: 2.488 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.636e-05/0.9345, allocations: 0 / 1.14 GB, free: 2.488 MB / 0.7448 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.002511/0.937, allocations: 1.638 MB / 1.141 GB, free: 1.414 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.9371, allocations: 9.656 kB / 1.141 GB, free: 1.414 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008066/0.9451, allocations: 1.257 MB / 1.143 GB, free: 1.285 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001603/0.9468, allocations: 0.9048 MB / 1.144 GB, free: 0.7227 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.64e-05/0.9468, allocations: 81.89 kB / 1.144 GB, free: 0.6836 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001675/0.947, allocations: 110.7 kB / 1.144 GB, free: 0.6484 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004497/0.9515, allocations: 1.938 MB / 1.146 GB, free: 15.97 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.324e-05/0.9516, allocations: 7.938 kB / 1.146 GB, free: 15.96 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001424/0.9517, allocations: 45.47 kB / 1.146 GB, free: 15.93 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.729e-05/0.9518, allocations: 32.73 kB / 1.146 GB, free: 15.93 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007104/0.9589, allocations: 2.671 MB / 1.148 GB, free: 15.33 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008019/0.9669, allocations: 4.053 MB / 1.152 GB, free: 13.39 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007275/0.9742, allocations: 2.529 MB / 1.155 GB, free: 12.7 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002832/0.9771, allocations: 1.008 MB / 1.156 GB, free: 12.41 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005589/0.9777, allocations: 0.5999 MB / 1.156 GB, free: 11.74 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003266/0.9809, allocations: 1.264 MB / 1.158 GB, free: 11.38 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=120): time 2.925e-06/0.981, allocations: 0 / 1.158 GB, free: 11.38 MB / 0.7605 GB Notification: Performance of matching and sorting (n=120): time 0.01012/0.9911, allocations: 3.199 MB / 1.161 GB, free: 10.45 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000108/0.9912, allocations: 205.2 kB / 1.161 GB, free: 10.22 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001042/0.9923, allocations: 0.7036 MB / 1.162 GB, free: 9.914 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0001663/0.9925, allocations: 47.73 kB / 1.162 GB, free: 9.867 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004537/0.9929, allocations: 449.7 kB / 1.162 GB, free: 9.52 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004621/0.9934, allocations: 401.7 kB / 1.162 GB, free: 9.203 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00055/0.994, allocations: 251.2 kB / 1.163 GB, free: 9.105 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0002073/0.9942, allocations: 400.9 kB / 1.163 GB, free: 8.754 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002913/0.9971, allocations: 0.9312 MB / 1.164 GB, free: 8.516 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003087/1, allocations: 1.056 MB / 1.165 GB, free: 8.188 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005853/1.006, allocations: 1.849 MB / 1.167 GB, free: 7.609 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/1.006, allocations: 3.25 kB / 1.167 GB, free: 7.609 MB / 0.7605 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.007165/1.013, allocations: 2.224 MB / 1.169 GB, free: 6.961 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.893e-05/1.013, allocations: 3.062 kB / 1.169 GB, free: 6.961 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.296e-05/1.013, allocations: 3.781 kB / 1.169 GB, free: 6.961 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005993/1.014, allocations: 84.78 kB / 1.169 GB, free: 6.941 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002266/1.016, allocations: 410.5 kB / 1.169 GB, free: 6.91 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002221/1.018, allocations: 1.541 MB / 1.171 GB, free: 5.465 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0021/1.021, allocations: 256.1 kB / 1.171 GB, free: 5.395 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002015/1.021, allocations: 59.88 kB / 1.171 GB, free: 5.387 MB / 0.7605 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.0008082/1.022, allocations: 312 kB / 1.172 GB, free: 5.164 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004521/1.022, allocations: 103.3 kB / 1.172 GB, free: 5.109 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008264/1.03, allocations: 2.603 MB / 1.174 GB, free: 4.336 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.625e-05/1.03, allocations: 17.17 kB / 1.174 GB, free: 4.336 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-06/1.03, allocations: 0 / 1.174 GB, free: 4.336 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.493e-05/1.03, allocations: 6.844 kB / 1.174 GB, free: 4.336 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01073/1.041, allocations: 4.139 MB / 1.178 GB, free: 2.789 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.345e-06/1.041, allocations: 4.453 kB / 1.178 GB, free: 2.789 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002214/1.043, allocations: 397.8 kB / 1.179 GB, free: 2.762 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000564/1.044, allocations: 89.62 kB / 1.179 GB, free: 2.738 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001872/1.044, allocations: 42.78 kB / 1.179 GB, free: 2.723 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002009/1.046, allocations: 1.569 MB / 1.18 GB, free: 1.262 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/1.046, allocations: 1.156 kB / 1.18 GB, free: 1.262 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01241/1.059, allocations: 4.328 MB / 1.185 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001185/1.06, allocations: 392.4 kB / 1.185 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003708/1.06, allocations: 34.66 kB / 1.185 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002172/1.062, allocations: 219.7 kB / 1.185 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000269/1.063, allocations: 92.06 kB / 1.185 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001929/1.063, allocations: 55.22 kB / 1.185 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.001184/1.064, allocations: 0.5107 MB / 1.186 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of sort global known variables: time 2.41e-07/1.064, allocations: 1.25 kB / 1.186 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.00239/1.067, allocations: 433.8 kB / 1.186 GB, free: 14.79 MB / 0.7761 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.001951/1.069, allocations: 0.611 MB / 1.187 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.008339/1.077, allocations: 2.25 MB / 1.189 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 7.885e-06/1.077, allocations: 0 / 1.189 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.004232/1.081, allocations: 1.245 MB / 1.19 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001926/1.083, allocations: 289.6 kB / 1.191 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009227/1.092, allocations: 3.934 MB / 1.194 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001513/1.094, allocations: 1.167 MB / 1.196 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.002436/1.096, allocations: 461 kB / 1.196 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007733/1.097, allocations: 158.7 kB / 1.196 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of SimCode: time 8.32e-07/1.097, allocations: 0 / 1.196 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of Templates: time 0.04675/1.144, allocations: 20.73 MB / 1.216 GB, free: 3.379 MB / 0.7761 GB make -j1 -f Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.makefile (rm -f Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; mkfifo Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; head -c 1048576 < Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe >> ../files/Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.sim & ./Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe 2>&1)