Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.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: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009446/0.0009486, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.007752/0.007752, allocations: 169.1 kB / 16.26 MB, free: 6.652 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.353/1.353, allocations: 205.4 MB / 222.4 MB, free: 5.789 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.661/1.661, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.0004852/0.0004852, allocations: 17.84 kB / 0.6744 GB, free: 26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1949/0.1953, allocations: 116.3 MB / 0.788 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang): time 0.004917/0.2003, allocations: 4.376 MB / 0.7923 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.5143/0.7146, allocations: 146.8 MB / 0.9356 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00078/0.7154, allocations: 18.38 kB / 0.9356 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005639/0.716, allocations: 142.4 kB / 0.9358 GB, free: 1.504 MB / 0.7169 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.001772/0.7178, allocations: 425.6 kB / 0.9362 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003057/0.7209, allocations: 0.8118 MB / 0.937 GB, free: 1.32 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002943/0.7238, allocations: 1.537 MB / 0.9385 GB, free: 1.129 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001351/0.7252, allocations: 0.7964 MB / 0.9393 GB, free: 0.9336 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007481/0.726, allocations: 442.3 kB / 0.9397 GB, free: 0.9102 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000772/0.7267, allocations: 0.5063 MB / 0.9402 GB, free: 0.9062 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001346/0.7269, allocations: 37.31 kB / 0.9402 GB, free: 0.9062 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001223/0.7281, allocations: 449.1 kB / 0.9406 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002825/0.7284, allocations: 256.3 kB / 0.9409 GB, free: 0.875 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0006064/0.729, allocations: 0.5506 MB / 0.9414 GB, free: 0.8398 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002346/0.7314, allocations: 1.82 MB / 0.9432 GB, free: 0.7266 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.7314, allocations: 0 / 0.9432 GB, free: 0.7266 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.693e-06/0.7314, allocations: 0.6562 kB / 0.9432 GB, free: 0.7266 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.764e-05/0.7315, allocations: 0 / 0.9432 GB, free: 0.7266 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: 289 * Number of variables: 289 Notification: Performance of Generate backend data structure: time 0.003478/0.7349, allocations: 1.389 MB / 0.9446 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.108e-05/0.735, allocations: 9.656 kB / 0.9446 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002822/0.7353, allocations: 173.4 kB / 0.9447 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1174/0.8528, allocations: 20.91 MB / 0.9651 GB, free: 10.6 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002204/0.855, allocations: 1.156 MB / 0.9663 GB, free: 9.98 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.94e-05/0.8551, allocations: 90.12 kB / 0.9664 GB, free: 9.977 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004202/0.8555, allocations: 110.5 kB / 0.9665 GB, free: 9.977 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03481/0.8904, allocations: 9.25 MB / 0.9755 GB, free: 6.684 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.406e-05/0.8904, allocations: 3.984 kB / 0.9755 GB, free: 6.68 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003089/0.8907, allocations: 49.31 kB / 0.9756 GB, free: 6.68 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.931e-05/0.8908, allocations: 27.5 kB / 0.9756 GB, free: 6.68 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06788/0.9586, allocations: 16.85 MB / 0.992 GB, free: 14.63 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03962/0.9983, allocations: 10.6 MB / 1.002 GB, free: 5.203 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04012/1.038, allocations: 9.504 MB / 1.012 GB, free: 12.69 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03269/1.071, allocations: 7.837 MB / 1.019 GB, free: 5.32 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004828/1.072, allocations: 0.6008 MB / 1.02 GB, free: 4.598 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03343/1.105, allocations: 8.333 MB / 1.028 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=101): time 3.086e-06/1.105, allocations: 0 / 1.028 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of matching and sorting (n=101): time 0.09584/1.201, allocations: 22.95 MB / 1.05 GB, free: 5.238 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.162e-05/1.201, allocations: 192.9 kB / 1.051 GB, free: 5.008 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009304/1.202, allocations: 0.692 MB / 1.051 GB, free: 4.309 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0004012/1.202, allocations: 53.7 kB / 1.051 GB, free: 4.25 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.000382/1.203, allocations: 472.3 kB / 1.052 GB, free: 3.781 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004976/1.203, allocations: 333.7 kB / 1.052 GB, free: 3.461 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003292/1.204, allocations: 81.67 kB / 1.052 GB, free: 3.375 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001762/1.204, allocations: 394.7 kB / 1.053 GB, free: 2.98 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03271/1.237, allocations: 7.931 MB / 1.06 GB, free: 11.04 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03212/1.269, allocations: 8.07 MB / 1.068 GB, free: 2.93 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0595/1.328, allocations: 13.96 MB / 1.082 GB, free: 4.941 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.176e-06/1.328, allocations: 9.625 kB / 1.082 GB, free: 4.934 MB / 0.8262 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.06451/1.393, allocations: 15.34 MB / 1.097 GB, free: 5.562 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.25e-05/1.393, allocations: 6.969 kB / 1.097 GB, free: 5.559 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/1.393, allocations: 0 / 1.097 GB, free: 5.559 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005268/1.393, allocations: 88.86 kB / 1.097 GB, free: 5.469 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01762/1.411, allocations: 3.513 MB / 1.1 GB, free: 1.953 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3002/1.711, allocations: 1.528 MB / 1.102 GB, free: 296 kB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01845/1.73, allocations: 3.3 MB / 1.105 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004886/1.73, allocations: 99.81 kB / 1.105 GB, free: 12.89 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 (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 (115): * Single equations (assignments): 114 * 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.0009611/1.731, allocations: 281.7 kB / 1.105 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000372/1.732, allocations: 98.88 kB / 1.106 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06817/1.8, allocations: 15.84 MB / 1.121 GB, free: 12.63 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.496e-05/1.8, allocations: 16 kB / 1.121 GB, free: 12.62 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/1.8, allocations: 0 / 1.121 GB, free: 12.62 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.516e-05/1.8, allocations: 7.969 kB / 1.121 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06914/1.869, allocations: 17.84 MB / 1.138 GB, free: 10.72 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.542e-06/1.869, allocations: 3.938 kB / 1.138 GB, free: 10.72 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01842/1.888, allocations: 3.507 MB / 1.142 GB, free: 7.207 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005137/1.888, allocations: 88.7 kB / 1.142 GB, free: 7.117 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004045/1.889, allocations: 87.77 kB / 1.142 GB, free: 7.031 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001642/1.89, allocations: 1.556 MB / 1.144 GB, free: 5.34 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/1.89, allocations: 3.938 kB / 1.144 GB, free: 5.336 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06606/1.956, allocations: 15.26 MB / 1.158 GB, free: 6.039 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00139/1.958, allocations: 0.659 MB / 1.159 GB, free: 5.359 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003744/1.958, allocations: 29.97 kB / 1.159 GB, free: 5.332 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01769/1.976, allocations: 3.266 MB / 1.162 GB, free: 2.062 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000182/1.976, allocations: 80.89 kB / 1.162 GB, free: 1.98 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002922/1.976, allocations: 95.81 kB / 1.163 GB, free: 1.887 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0006233/1.977, allocations: 0.5068 MB / 1.163 GB, free: 1.383 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.2e-07/1.977, allocations: 0 / 1.163 GB, free: 1.383 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001664/1.979, allocations: 0.6396 MB / 1.164 GB, free: 0.7422 MB / 0.9044 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 (121): * Single equations (assignments): 118 * 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.06625/2.045, allocations: 16.32 MB / 1.18 GB, free: 0.5742 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.06791/2.113, allocations: 16.12 MB / 1.195 GB, free: 440 kB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 6.523e-06/2.113, allocations: 0 / 1.195 GB, free: 440 kB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.03412/2.147, allocations: 8.131 MB / 1.203 GB, free: 8.285 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001739/2.149, allocations: 278.7 kB / 1.204 GB, free: 8.027 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2063/2.355, allocations: 53.65 MB / 1.256 GB, free: 2.113 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006488/2.356, allocations: 1.115 MB / 1.257 GB, free: 0.9727 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003573/2.359, allocations: 0.7184 MB / 1.258 GB, free: 256 kB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001854/2.361, allocations: 0.5831 MB / 1.258 GB, free: 15.68 MB / 1.014 GB Notification: Performance of SimCode: time 1.123e-06/2.361, allocations: 4 kB / 1.258 GB, free: 15.68 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 10.63/13, allocations: 41.47 MB / 1.299 GB, free: 414.4 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000184/13, allocations: 288.8 kB / 1.299 GB, free: 414 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.27/16.27, allocations: 0 / 1.299 GB, free: 414 MB / 1.014 GB (rm -f Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.pipe ; mkfifo Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.pipe ; head -c 1048576 < Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.pipe >> ../files/Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang.fmu > Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.pipe 2>&1)