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.009278/0.009278, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.001788/0.001788, allocations: 192.2 kB / 16.67 MB, free: 5.969 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.506/1.506, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.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.409/1.409, allocations: 251.7 MB / 0.5094 GB, free: 404 kB / 430.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.001467/0.001467, allocations: 75.88 kB / 0.7258 GB, free: 4.691 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.703/0.7045, allocations: 104.7 MB / 0.828 GB, free: 2.777 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.Overhang): time 0.0068/0.7113, allocations: 5.091 MB / 0.833 GB, free: 13.66 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.1864/0.8978, allocations: 151.2 MB / 0.9806 GB, free: 5.863 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001252/0.8991, allocations: 19.88 kB / 0.9807 GB, free: 5.844 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0006757/0.8998, allocations: 190.2 kB / 0.9809 GB, free: 5.656 MB / 0.7794 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.00192/0.9017, allocations: 0.5041 MB / 0.9813 GB, free: 5.152 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.002459/0.9042, allocations: 0.9562 MB / 0.9823 GB, free: 4.203 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.002025/0.9062, allocations: 1.776 MB / 0.984 GB, free: 2.418 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001345/0.9076, allocations: 0.9539 MB / 0.9849 GB, free: 1.426 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009861/0.9086, allocations: 0.6969 MB / 0.9856 GB, free: 0.7266 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008982/0.9095, allocations: 0.7547 MB / 0.9864 GB, free: 15.97 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0002361/0.9098, allocations: 188 kB / 0.9865 GB, free: 15.79 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001166/0.9109, allocations: 0.5738 MB / 0.9871 GB, free: 15.21 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0004331/0.9114, allocations: 458.6 kB / 0.9875 GB, free: 14.76 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0006926/0.9121, allocations: 0.7813 MB / 0.9883 GB, free: 13.98 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.002747/0.9148, allocations: 2.305 MB / 0.9906 GB, free: 11.66 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.9149, allocations: 0 / 0.9906 GB, free: 11.66 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.024e-06/0.9149, allocations: 0 / 0.9906 GB, free: 11.66 MB / 0.795 GB Notification: Performance of Transformations before backend: time 2.159e-05/0.9149, allocations: 0 / 0.9906 GB, free: 11.66 MB / 0.795 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.00348/0.9184, allocations: 1.842 MB / 0.9924 GB, free: 9.766 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/0.9184, allocations: 12.03 kB / 0.9924 GB, free: 9.754 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1095/1.028, allocations: 15.38 MB / 1.007 GB, free: 10.34 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002834/1.031, allocations: 1.368 MB / 1.009 GB, free: 8.934 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003044/1.031, allocations: 187.6 kB / 1.009 GB, free: 8.73 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004242/1.032, allocations: 124 kB / 1.009 GB, free: 8.609 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03694/1.069, allocations: 7.948 MB / 1.017 GB, free: 0.5898 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.508e-05/1.069, allocations: 0 / 1.017 GB, free: 0.5898 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003301/1.069, allocations: 52 kB / 1.017 GB, free: 0.5391 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.894e-05/1.069, allocations: 28 kB / 1.017 GB, free: 0.5117 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07042/1.139, allocations: 14.08 MB / 1.031 GB, free: 2.398 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04453/1.184, allocations: 10.3 MB / 1.041 GB, free: 8.012 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0417/1.226, allocations: 8.195 MB / 1.049 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03422/1.26, allocations: 6.468 MB / 1.055 GB, free: 9.316 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005639/1.261, allocations: 0.6061 MB / 1.056 GB, free: 8.582 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03585/1.297, allocations: 6.975 MB / 1.062 GB, free: 1.574 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=103): time 3.727e-06/1.297, allocations: 0 / 1.062 GB, free: 1.574 MB / 0.8575 GB Notification: Performance of matching and sorting (n=103): time 0.101/1.398, allocations: 18.83 MB / 1.081 GB, free: 14.7 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001239/1.398, allocations: 196.9 kB / 1.081 GB, free: 14.46 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00121/1.399, allocations: 0.7508 MB / 1.082 GB, free: 13.7 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0007092/1.4, allocations: 41.7 kB / 1.082 GB, free: 13.66 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004437/1.4, allocations: 0.5168 MB / 1.082 GB, free: 13.13 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005471/1.401, allocations: 360.9 kB / 1.083 GB, free: 12.78 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001057/1.402, allocations: 350.5 kB / 1.083 GB, free: 12.43 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001692/1.402, allocations: 406.7 kB / 1.083 GB, free: 12.02 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0332/1.435, allocations: 6.537 MB / 1.09 GB, free: 5.477 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.5265/1.962, allocations: 6.665 MB / 1.096 GB, free: 264.7 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06283/2.025, allocations: 11.17 MB / 1.107 GB, free: 261.4 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.421e-05/2.025, allocations: 0 / 1.107 GB, free: 261.4 MB / 0.8887 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.06113/2.086, allocations: 12.58 MB / 1.119 GB, free: 248.9 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.514e-05/2.086, allocations: 11.75 kB / 1.119 GB, free: 248.9 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/2.086, allocations: 0 / 1.119 GB, free: 248.9 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000544/2.086, allocations: 84.86 kB / 1.119 GB, free: 248.8 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01687/2.103, allocations: 2.669 MB / 1.122 GB, free: 246.1 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001716/2.105, allocations: 1.64 MB / 1.124 GB, free: 244.3 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0167/2.122, allocations: 2.453 MB / 1.126 GB, free: 241.9 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004961/2.122, allocations: 103.8 kB / 1.126 GB, free: 241.8 MB / 0.8887 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.001002/2.123, allocations: 321.5 kB / 1.127 GB, free: 241.5 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004974/2.124, allocations: 103 kB / 1.127 GB, free: 241.5 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06447/2.188, allocations: 13.01 MB / 1.139 GB, free: 228.4 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.509e-05/2.188, allocations: 12 kB / 1.139 GB, free: 228.4 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/2.188, allocations: 3.938 kB / 1.139 GB, free: 228.4 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.715e-05/2.188, allocations: 15.62 kB / 1.139 GB, free: 228.4 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06483/2.253, allocations: 15.94 MB / 1.155 GB, free: 212.5 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.03e-05/2.253, allocations: 2 kB / 1.155 GB, free: 212.5 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01731/2.271, allocations: 2.656 MB / 1.158 GB, free: 209.8 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004529/2.271, allocations: 72.8 kB / 1.158 GB, free: 209.7 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005663/2.272, allocations: 91.81 kB / 1.158 GB, free: 209.6 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001559/2.273, allocations: 1.673 MB / 1.159 GB, free: 207.8 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/2.273, allocations: 0 / 1.159 GB, free: 207.8 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06214/2.335, allocations: 12.52 MB / 1.172 GB, free: 195.3 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001536/2.337, allocations: 0.7753 MB / 1.172 GB, free: 194.5 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005142/2.338, allocations: 30.34 kB / 1.172 GB, free: 194.5 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01642/2.354, allocations: 2.402 MB / 1.175 GB, free: 192.1 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002813/2.354, allocations: 80.89 kB / 1.175 GB, free: 192 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000509/2.355, allocations: 99.42 kB / 1.175 GB, free: 191.9 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0007089/2.355, allocations: 0.5381 MB / 1.175 GB, free: 191.3 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.31e-07/2.356, allocations: 0 / 1.175 GB, free: 191.3 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001925/2.357, allocations: 0.6679 MB / 1.176 GB, free: 190.7 MB / 0.8887 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.001509/2.359, allocations: 0.5837 MB / 1.177 GB, free: 190.3 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.06587/2.425, allocations: 13.37 MB / 1.19 GB, free: 176.9 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 7.334e-06/2.425, allocations: 0 / 1.19 GB, free: 176.9 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.03206/2.457, allocations: 6.769 MB / 1.196 GB, free: 170.2 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001879/2.459, allocations: 326.5 kB / 1.197 GB, free: 169.9 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03489/2.494, allocations: 8.392 MB / 1.205 GB, free: 161.4 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005274/2.494, allocations: 1.161 MB / 1.206 GB, free: 160.3 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.003511/2.498, allocations: 0.7188 MB / 1.207 GB, free: 159.5 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001698/2.5, allocations: 243 kB / 1.207 GB, free: 159.3 MB / 0.8887 GB Notification: Performance of SimCode: time 1.734e-06/2.5, allocations: 4 kB / 1.207 GB, free: 159.3 MB / 0.8887 GB Notification: Performance of Templates: time 0.05104/2.551, allocations: 39.68 MB / 1.246 GB, free: 119.7 MB / 0.8887 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)