Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 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.Overhang,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.Overhang") translateModel(Buildings.HeatTransfer.Windows.Examples.Overhang,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.00979/0.00979, allocations: 99.92 kB / 15.73 MB, free: 6.043 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.001914/0.001914, allocations: 195.9 kB / 16.68 MB, free: 5.961 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.509/1.509, allocations: 205.1 MB / 222.5 MB, free: 4.496 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.528/1.528, allocations: 251.7 MB / 0.5094 GB, free: 2.98 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.002213/0.002213, allocations: 71.91 kB / 0.7257 GB, free: 9.008 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2762/0.2784, allocations: 104.7 MB / 0.828 GB, free: 196 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.Overhang): time 0.008082/0.2866, allocations: 5.086 MB / 0.833 GB, free: 11.08 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.8168/1.103, allocations: 151.2 MB / 0.9806 GB, free: 3.465 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001299/1.105, allocations: 22.41 kB / 0.9807 GB, free: 3.457 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0007354/1.105, allocations: 196.8 kB / 0.9809 GB, free: 3.328 MB / 0.7325 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 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'. [/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.002612/1.108, allocations: 0.5184 MB / 0.9814 GB, free: 3.02 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003052/1.111, allocations: 0.9507 MB / 0.9823 GB, free: 2.523 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002487/1.114, allocations: 1.783 MB / 0.984 GB, free: 1.609 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001951/1.116, allocations: 0.9496 MB / 0.985 GB, free: 1.102 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002014/1.118, allocations: 0.7014 MB / 0.9856 GB, free: 0.7344 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00138/1.119, allocations: 0.7587 MB / 0.9864 GB, free: 328 kB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0004168/1.12, allocations: 188.4 kB / 0.9866 GB, free: 328 kB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00169/1.121, allocations: 0.5827 MB / 0.9871 GB, free: 200 kB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0006088/1.122, allocations: 449.8 kB / 0.9876 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0009326/1.123, allocations: 0.7852 MB / 0.9883 GB, free: 15.37 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.003456/1.126, allocations: 2.297 MB / 0.9906 GB, free: 13.69 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/1.126, allocations: 4 kB / 0.9906 GB, free: 13.68 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.673e-06/1.126, allocations: 0 / 0.9906 GB, free: 13.68 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 2.842e-05/1.126, allocations: 0 / 0.9906 GB, free: 13.68 MB / 0.7481 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.004016/1.13, allocations: 1.8 MB / 0.9923 GB, free: 12.32 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 6.575e-05/1.13, allocations: 7.844 kB / 0.9923 GB, free: 12.32 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1135/1.244, allocations: 15.37 MB / 1.007 GB, free: 4.766 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003004/1.247, allocations: 1.354 MB / 1.009 GB, free: 3.684 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002895/1.247, allocations: 185.5 kB / 1.009 GB, free: 3.539 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006294/1.248, allocations: 133 kB / 1.009 GB, free: 3.434 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03914/1.287, allocations: 7.944 MB / 1.017 GB, free: 11.42 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.388e-05/1.287, allocations: 10.73 kB / 1.017 GB, free: 11.41 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003606/1.288, allocations: 52 kB / 1.017 GB, free: 11.36 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.014e-05/1.288, allocations: 28 kB / 1.017 GB, free: 11.33 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07288/1.361, allocations: 14.08 MB / 1.031 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0456/1.406, allocations: 10.27 MB / 1.041 GB, free: 2.867 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04288/1.449, allocations: 8.202 MB / 1.049 GB, free: 10.65 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03489/1.484, allocations: 6.468 MB / 1.055 GB, free: 4.168 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005761/1.485, allocations: 0.6022 MB / 1.056 GB, free: 3.438 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03588/1.521, allocations: 6.979 MB / 1.062 GB, free: 12.43 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=103): time 3.777e-06/1.521, allocations: 0 / 1.062 GB, free: 12.43 MB / 0.8106 GB Notification: Performance of matching and sorting (n=103): time 0.1806/1.701, allocations: 18.82 MB / 1.081 GB, free: 9.559 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001595/1.701, allocations: 192.9 kB / 1.081 GB, free: 9.328 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001759/1.703, allocations: 0.7508 MB / 1.082 GB, free: 8.57 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.001044/1.704, allocations: 41.7 kB / 1.082 GB, free: 8.523 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008161/1.705, allocations: 0.5117 MB / 1.082 GB, free: 8.004 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.001151/1.706, allocations: 343 kB / 1.082 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001816/1.708, allocations: 354.4 kB / 1.083 GB, free: 7.312 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0003119/1.708, allocations: 406.7 kB / 1.083 GB, free: 6.906 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.05824/1.767, allocations: 6.541 MB / 1.09 GB, free: 364 kB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04159/1.808, allocations: 6.659 MB / 1.096 GB, free: 9.668 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06504/1.873, allocations: 11.17 MB / 1.107 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.335e-05/1.873, allocations: 0 / 1.107 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.07/1.943, allocations: 12.58 MB / 1.119 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.008e-05/1.944, allocations: 8 kB / 1.119 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/1.944, allocations: 0 / 1.119 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006073/1.944, allocations: 84.81 kB / 1.119 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01995/1.964, allocations: 2.671 MB / 1.122 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002379/1.967, allocations: 1.641 MB / 1.124 GB, free: 13.3 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01929/1.986, allocations: 2.441 MB / 1.126 GB, free: 10.86 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007273/1.987, allocations: 108.7 kB / 1.126 GB, free: 10.75 MB / 0.8731 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.001633/1.988, allocations: 339.2 kB / 1.126 GB, free: 10.41 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000847/1.989, allocations: 94.78 kB / 1.127 GB, free: 10.32 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0727/2.062, allocations: 13.01 MB / 1.139 GB, free: 13.27 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.839e-05/2.062, allocations: 15.94 kB / 1.139 GB, free: 13.26 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/2.062, allocations: 7.938 kB / 1.139 GB, free: 13.25 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.611e-05/2.062, allocations: 7.969 kB / 1.139 GB, free: 13.24 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0779/2.14, allocations: 15.93 MB / 1.155 GB, free: 13.24 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.841e-05/2.14, allocations: 0 / 1.155 GB, free: 13.24 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01949/2.159, allocations: 2.652 MB / 1.157 GB, free: 10.58 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005072/2.16, allocations: 82.98 kB / 1.157 GB, free: 10.5 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006305/2.161, allocations: 87.81 kB / 1.158 GB, free: 10.41 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001941/2.163, allocations: 1.674 MB / 1.159 GB, free: 8.598 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/2.163, allocations: 1.641 kB / 1.159 GB, free: 8.598 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06922/2.232, allocations: 12.51 MB / 1.171 GB, free: 12.05 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001729/2.234, allocations: 0.7762 MB / 1.172 GB, free: 11.25 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007892/2.234, allocations: 20 kB / 1.172 GB, free: 11.23 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01834/2.253, allocations: 2.398 MB / 1.175 GB, free: 8.832 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003192/2.253, allocations: 80.89 kB / 1.175 GB, free: 8.754 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005176/2.254, allocations: 99.88 kB / 1.175 GB, free: 8.656 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0008444/2.255, allocations: 0.5341 MB / 1.175 GB, free: 8.125 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.6e-07/2.255, allocations: 0 / 1.175 GB, free: 8.125 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.00225/2.257, allocations: 0.6706 MB / 1.176 GB, free: 7.453 MB / 0.92 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.001703/2.259, allocations: 0.5961 MB / 1.176 GB, free: 7.027 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.07154/2.33, allocations: 13.37 MB / 1.19 GB, free: 9.633 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.244e-05/2.33, allocations: 7.984 kB / 1.19 GB, free: 9.625 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.03688/2.367, allocations: 6.769 MB / 1.196 GB, free: 2.832 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002484/2.37, allocations: 319.9 kB / 1.196 GB, free: 2.543 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04001/2.41, allocations: 8.343 MB / 1.205 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008826/2.41, allocations: 1.154 MB / 1.206 GB, free: 8.973 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.004121/2.415, allocations: 0.7226 MB / 1.206 GB, free: 8.246 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002057/2.417, allocations: 251 kB / 1.207 GB, free: 8 MB / 0.9512 GB Notification: Performance of SimCode: time 1.132e-06/2.417, allocations: 0 / 1.207 GB, free: 8 MB / 0.9512 GB Notification: Performance of Templates: time 0.06599/2.483, allocations: 39.7 MB / 1.245 GB, free: 360 kB / 0.9825 GB make -j1 -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.Overhang.makefile (rm -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe >> ../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.Overhang.sim & ./Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.Overhang -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe 2>&1)