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.008872/0.008872, allocations: 104.8 kB / 15.74 MB, free: 6.039 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.001614/0.001614, allocations: 195.2 kB / 16.67 MB, free: 5.973 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.494/1.494, allocations: 205.1 MB / 222.5 MB, free: 4.523 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.556/1.556, allocations: 251.7 MB / 0.5094 GB, free: 3.02 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.001549/0.001549, allocations: 71.88 kB / 0.7258 GB, free: 9.051 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.26/0.2616, allocations: 104.7 MB / 0.828 GB, free: 244 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.Overhang): time 0.007047/0.2687, allocations: 5.089 MB / 0.833 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.7646/1.033, allocations: 151.2 MB / 0.9806 GB, free: 3.039 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001036/1.034, allocations: 21.5 kB / 0.9807 GB, free: 3.031 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0006815/1.035, allocations: 192.4 kB / 0.9809 GB, free: 2.926 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.001781/1.037, allocations: 0.5258 MB / 0.9814 GB, free: 2.688 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002466/1.039, allocations: 0.951 MB / 0.9823 GB, free: 2.34 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001994/1.041, allocations: 1.783 MB / 0.984 GB, free: 1.426 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001278/1.043, allocations: 0.951 MB / 0.985 GB, free: 0.918 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00107/1.044, allocations: 0.6987 MB / 0.9856 GB, free: 0.5547 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008811/1.045, allocations: 0.7621 MB / 0.9864 GB, free: 140 kB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0002902/1.045, allocations: 189.8 kB / 0.9866 GB, free: 140 kB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00125/1.046, allocations: 0.5763 MB / 0.9871 GB, free: 16 kB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0004357/1.047, allocations: 457.5 kB / 0.9876 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0006877/1.047, allocations: 0.7779 MB / 0.9883 GB, free: 15.19 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.00263/1.05, allocations: 2.301 MB / 0.9906 GB, free: 13.55 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/1.05, allocations: 0 / 0.9906 GB, free: 13.55 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.743e-06/1.05, allocations: 0 / 0.9906 GB, free: 13.55 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 2.563e-05/1.05, allocations: 0 / 0.9906 GB, free: 13.55 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.00374/1.054, allocations: 1.795 MB / 0.9923 GB, free: 12.19 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.889e-05/1.054, allocations: 13.97 kB / 0.9923 GB, free: 12.18 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0983/1.152, allocations: 15.37 MB / 1.007 GB, free: 4.629 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004297/1.157, allocations: 1.352 MB / 1.009 GB, free: 3.547 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003836/1.157, allocations: 188.2 kB / 1.009 GB, free: 3.402 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009105/1.158, allocations: 127.8 kB / 1.009 GB, free: 3.344 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03498/1.193, allocations: 7.948 MB / 1.017 GB, free: 11.32 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.431e-05/1.193, allocations: 0 / 1.017 GB, free: 11.32 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005834/1.194, allocations: 59.61 kB / 1.017 GB, free: 11.27 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.745e-05/1.194, allocations: 28 kB / 1.017 GB, free: 11.24 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06452/1.258, allocations: 14.08 MB / 1.031 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04081/1.299, allocations: 10.27 MB / 1.041 GB, free: 2.773 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0372/1.336, allocations: 8.199 MB / 1.049 GB, free: 10.55 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03037/1.367, allocations: 6.471 MB / 1.055 GB, free: 4.074 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006204/1.367, allocations: 0.606 MB / 1.056 GB, free: 3.34 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03222/1.4, allocations: 6.975 MB / 1.062 GB, free: 12.34 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=103): time 4.038e-06/1.4, allocations: 0 / 1.062 GB, free: 12.34 MB / 0.8106 GB Notification: Performance of matching and sorting (n=103): time 0.09056/1.49, allocations: 18.82 MB / 1.081 GB, free: 9.461 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001059/1.49, allocations: 196.9 kB / 1.081 GB, free: 9.227 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001224/1.492, allocations: 0.7508 MB / 1.082 GB, free: 8.469 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0005805/1.492, allocations: 45.7 kB / 1.082 GB, free: 8.418 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005085/1.493, allocations: 0.5078 MB / 1.082 GB, free: 7.902 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008042/1.493, allocations: 339 kB / 1.082 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001575/1.495, allocations: 362.1 kB / 1.083 GB, free: 7.211 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0002295/1.495, allocations: 406.7 kB / 1.083 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03071/1.526, allocations: 6.537 MB / 1.09 GB, free: 264 kB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03128/1.557, allocations: 6.663 MB / 1.096 GB, free: 9.562 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05819/1.616, allocations: 11.17 MB / 1.107 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.979e-06/1.616, allocations: 0 / 1.107 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.0603/1.676, allocations: 12.58 MB / 1.119 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.31e-05/1.676, allocations: 4 kB / 1.119 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/1.676, allocations: 0 / 1.119 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006108/1.677, allocations: 88.8 kB / 1.119 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01726/1.694, allocations: 2.667 MB / 1.122 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002307/1.696, allocations: 1.639 MB / 1.124 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01747/1.714, allocations: 2.444 MB / 1.126 GB, free: 10.75 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000937/1.715, allocations: 103.8 kB / 1.126 GB, free: 10.65 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.001803/1.716, allocations: 334.3 kB / 1.126 GB, free: 10.31 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007876/1.717, allocations: 94.78 kB / 1.127 GB, free: 10.22 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06261/1.78, allocations: 13.02 MB / 1.139 GB, free: 13.17 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.52e-05/1.78, allocations: 19.88 kB / 1.139 GB, free: 13.15 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/1.78, allocations: 0 / 1.139 GB, free: 13.15 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.6e-05/1.78, allocations: 7.969 kB / 1.139 GB, free: 13.14 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06688/1.847, allocations: 15.93 MB / 1.155 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-05/1.847, allocations: 4 kB / 1.155 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01705/1.864, allocations: 2.656 MB / 1.157 GB, free: 10.48 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004773/1.865, allocations: 80.72 kB / 1.157 GB, free: 10.4 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006587/1.865, allocations: 83.83 kB / 1.158 GB, free: 10.32 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001964/1.867, allocations: 1.674 MB / 1.159 GB, free: 8.5 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/1.867, allocations: 0 / 1.159 GB, free: 8.5 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06056/1.928, allocations: 12.51 MB / 1.171 GB, free: 11.95 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001912/1.93, allocations: 0.7762 MB / 1.172 GB, free: 11.15 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007871/1.931, allocations: 23.94 kB / 1.172 GB, free: 11.13 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01614/1.947, allocations: 2.402 MB / 1.175 GB, free: 8.723 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004905/1.947, allocations: 80.88 kB / 1.175 GB, free: 8.645 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000701/1.948, allocations: 99.81 kB / 1.175 GB, free: 8.547 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.00103/1.949, allocations: 0.5342 MB / 1.175 GB, free: 8.016 MB / 0.92 GB Notification: Performance of sort global known variables: time 5.81e-07/1.949, allocations: 3.938 kB / 1.175 GB, free: 8.012 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.002724/1.952, allocations: 0.659 MB / 1.176 GB, free: 7.352 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.001907/1.954, allocations: 0.5823 MB / 1.176 GB, free: 6.938 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.06091/2.015, allocations: 13.38 MB / 1.19 GB, free: 9.531 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.237e-05/2.015, allocations: 4 kB / 1.19 GB, free: 9.527 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.03133/2.046, allocations: 6.769 MB / 1.196 GB, free: 2.734 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003179/2.049, allocations: 320.8 kB / 1.196 GB, free: 2.445 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0349/2.084, allocations: 8.347 MB / 1.205 GB, free: 10.06 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00131/2.086, allocations: 1.147 MB / 1.206 GB, free: 8.879 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.004441/2.09, allocations: 0.7342 MB / 1.206 GB, free: 8.141 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002007/2.092, allocations: 243 kB / 1.207 GB, free: 7.902 MB / 0.9512 GB Notification: Performance of SimCode: time 1.062e-06/2.092, allocations: 0 / 1.207 GB, free: 7.902 MB / 0.9512 GB Notification: Performance of Templates: time 0.06059/2.153, allocations: 39.7 MB / 1.245 GB, free: 260 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)