Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.HeatTransfer.Windows.Examples.Overhang.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 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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.Overhang,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.HeatTransfer.Windows.Examples.Overhang") translateModel(Buildings.HeatTransfer.Windows.Examples.Overhang,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.HeatTransfer.Windows.Examples.Overhang") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001312/0.001312, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001214/0.001214, allocations: 189.5 kB / 16.62 MB, free: 6.582 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.417/1.417, allocations: 205.1 MB / 222.5 MB, free: 4.539 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.727/1.727, allocations: 292.3 MB / 0.5489 GB, free: 12.73 MB / 462.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.001492/0.001493, allocations: 65.36 kB / 0.6722 GB, free: 25.84 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2856/0.2871, allocations: 114.5 MB / 0.7841 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.Overhang): time 0.007642/0.2948, allocations: 5.089 MB / 0.7891 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.7045/0.9993, allocations: 151.3 MB / 0.9368 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001005/1, allocations: 22.5 kB / 0.9368 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006237/1.001, allocations: 194.4 kB / 0.937 GB, free: 3.5 MB / 0.7169 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:216:3-259:11:writable] Warning: Pure function 'Modelica.Utilities.Strings.find' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/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'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.001563/1.003, allocations: 0.5064 MB / 0.9375 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002105/1.005, allocations: 0.964 MB / 0.9384 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001432/1.006, allocations: 1.765 MB / 0.9402 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00116/1.007, allocations: 0.9527 MB / 0.9411 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009447/1.008, allocations: 0.688 MB / 0.9418 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008821/1.009, allocations: 0.7481 MB / 0.9425 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002662/1.009, allocations: 187.3 kB / 0.9427 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001106/1.011, allocations: 0.5977 MB / 0.9432 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003801/1.011, allocations: 451.7 kB / 0.9437 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000662/1.012, allocations: 0.7771 MB / 0.9444 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002425/1.014, allocations: 2.301 MB / 0.9467 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/1.014, allocations: 0.5625 kB / 0.9467 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.465e-06/1.014, allocations: 0.5312 kB / 0.9467 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.941e-05/1.014, allocations: 4 kB / 0.9467 GB, free: 2.332 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.003504/1.018, allocations: 1.782 MB / 0.9484 GB, free: 17.43 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/1.018, allocations: 12.91 kB / 0.9484 GB, free: 17.42 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.108/1.126, allocations: 15.37 MB / 0.9635 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003168/1.129, allocations: 1.36 MB / 0.9648 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001225/1.129, allocations: 96.39 kB / 0.9649 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007186/1.13, allocations: 124.8 kB / 0.965 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03732/1.167, allocations: 7.928 MB / 0.9727 GB, free: 9.602 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.995e-05/1.167, allocations: 0 / 0.9727 GB, free: 9.602 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003539/1.168, allocations: 53.28 kB / 0.9728 GB, free: 9.602 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.515e-05/1.168, allocations: 30.75 kB / 0.9728 GB, free: 9.602 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06888/1.236, allocations: 14.05 MB / 0.9865 GB, free: 3.715 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04631/1.283, allocations: 10.25 MB / 0.9965 GB, free: 13.05 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04195/1.325, allocations: 8.167 MB / 1.005 GB, free: 4.867 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03504/1.36, allocations: 6.457 MB / 1.011 GB, free: 14.4 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005814/1.36, allocations: 0.6012 MB / 1.011 GB, free: 13.68 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03606/1.397, allocations: 6.959 MB / 1.018 GB, free: 6.691 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=103): time 4.248e-06/1.397, allocations: 0 / 1.018 GB, free: 6.691 MB / 0.7637 GB Notification: Performance of matching and sorting (n=103): time 0.1028/1.499, allocations: 18.77 MB / 1.037 GB, free: 3.871 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001171/1.5, allocations: 188.9 kB / 1.037 GB, free: 3.641 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001434/1.501, allocations: 0.7469 MB / 1.037 GB, free: 2.883 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0007689/1.502, allocations: 45.7 kB / 1.037 GB, free: 2.832 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005106/1.502, allocations: 0.504 MB / 1.038 GB, free: 2.32 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008646/1.503, allocations: 349.2 kB / 1.038 GB, free: 1.984 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001504/1.505, allocations: 350.5 kB / 1.039 GB, free: 1.637 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002222/1.505, allocations: 406.7 kB / 1.039 GB, free: 1.23 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03424/1.539, allocations: 6.521 MB / 1.045 GB, free: 10.7 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03407/1.573, allocations: 6.648 MB / 1.052 GB, free: 4.023 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07279/1.646, allocations: 11.14 MB / 1.063 GB, free: 8.855 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.157e-05/1.646, allocations: 0 / 1.063 GB, free: 8.855 MB / 0.8106 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.07863/1.725, allocations: 12.54 MB / 1.075 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.437e-05/1.725, allocations: 4 kB / 1.075 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.671e-05/1.725, allocations: 4 kB / 1.075 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006378/1.726, allocations: 90.67 kB / 1.075 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01879/1.744, allocations: 2.659 MB / 1.078 GB, free: 9.523 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002482/1.747, allocations: 1.642 MB / 1.079 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01835/1.765, allocations: 2.44 MB / 1.082 GB, free: 5.297 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000832/1.766, allocations: 99.81 kB / 1.082 GB, free: 5.199 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (125): * Single equations (assignments): 124 * 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.001734/1.768, allocations: 333.1 kB / 1.082 GB, free: 4.871 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008348/1.769, allocations: 102.8 kB / 1.082 GB, free: 4.77 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06981/1.839, allocations: 12.98 MB / 1.095 GB, free: 7.758 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.947e-05/1.839, allocations: 15.94 kB / 1.095 GB, free: 7.742 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/1.839, allocations: 7.938 kB / 1.095 GB, free: 7.734 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.319e-05/1.839, allocations: 3.984 kB / 1.095 GB, free: 7.73 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07477/1.913, allocations: 15.9 MB / 1.11 GB, free: 7.785 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.371e-05/1.913, allocations: 5.062 kB / 1.11 GB, free: 7.781 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01883/1.932, allocations: 2.644 MB / 1.113 GB, free: 5.133 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004887/1.933, allocations: 76.78 kB / 1.113 GB, free: 5.055 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006184/1.933, allocations: 87.81 kB / 1.113 GB, free: 4.969 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00201/1.935, allocations: 1.67 MB / 1.115 GB, free: 3.152 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/1.936, allocations: 0 / 1.115 GB, free: 3.152 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06987/2.005, allocations: 12.48 MB / 1.127 GB, free: 6.637 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001939/2.007, allocations: 0.7762 MB / 1.128 GB, free: 5.84 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009456/2.008, allocations: 24 kB / 1.128 GB, free: 5.816 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01881/2.027, allocations: 2.387 MB / 1.13 GB, free: 3.426 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003966/2.028, allocations: 88.88 kB / 1.13 GB, free: 3.34 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007034/2.028, allocations: 99.81 kB / 1.13 GB, free: 3.242 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001075/2.029, allocations: 0.5303 MB / 1.131 GB, free: 2.715 MB / 0.8731 GB Notification: Performance of sort global known variables: time 6.82e-07/2.029, allocations: 0 / 1.131 GB, free: 2.715 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.002857/2.032, allocations: 0.6746 MB / 1.131 GB, free: 2.039 MB / 0.8731 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 (123): * Single equations (assignments): 120 * 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.001907/2.034, allocations: 0.6019 MB / 1.132 GB, free: 1.621 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.07125/2.105, allocations: 13.35 MB / 1.145 GB, free: 4.238 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 6.563e-06/2.106, allocations: 0 / 1.145 GB, free: 4.238 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.03581/2.141, allocations: 6.745 MB / 1.152 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002745/2.144, allocations: 323 kB / 1.152 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03951/2.184, allocations: 8.335 MB / 1.16 GB, free: 4.812 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009242/2.185, allocations: 1.151 MB / 1.161 GB, free: 3.629 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.004437/2.189, allocations: 0.7188 MB / 1.162 GB, free: 2.906 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002005/2.191, allocations: 247 kB / 1.162 GB, free: 2.664 MB / 0.9044 GB Notification: Performance of SimCode: time 7.52e-07/2.191, allocations: 3.938 kB / 1.162 GB, free: 2.66 MB / 0.9044 GB Notification: Performance of Templates: time 0.05788/2.249, allocations: 39.33 MB / 1.201 GB, free: 11.4 MB / 0.9512 GB make -j1 -f Buildings_8_Buildings.HeatTransfer.Windows.Examples.Overhang.makefile (rm -f Buildings_8_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe ; mkfifo Buildings_8_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe ; head -c 1048576 < Buildings_8_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe >> ../files/Buildings_8_Buildings.HeatTransfer.Windows.Examples.Overhang.sim & ./Buildings_8_Buildings.HeatTransfer.Windows.Examples.Overhang -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe 2>&1)