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: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.Overhang,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Windows_Examples_Overhang",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.Overhang,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Windows_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.001142/0.001142, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.009037/0.009037, allocations: 171 kB / 16.26 MB, free: 6.676 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.308/1.308, allocations: 205.4 MB / 222.4 MB, free: 5.559 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.568/1.568, 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.0008345/0.0008345, allocations: 17.69 kB / 0.6744 GB, free: 25.81 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1964/0.1972, allocations: 116.3 MB / 0.788 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.Overhang): time 0.004637/0.2019, allocations: 4.672 MB / 0.7925 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.5163/0.7182, allocations: 146.9 MB / 0.936 GB, free: 1.098 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004797/0.7187, allocations: 21 kB / 0.936 GB, free: 1.09 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003828/0.7191, allocations: 156.5 kB / 0.9361 GB, free: 1.016 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.0008958/0.72, allocations: 438 kB / 0.9366 GB, free: 0.9023 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001415/0.7214, allocations: 0.8469 MB / 0.9374 GB, free: 0.8359 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0009731/0.7224, allocations: 1.656 MB / 0.939 GB, free: 0.6289 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00088/0.7233, allocations: 0.9133 MB / 0.9399 GB, free: 428 kB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004372/0.7237, allocations: 466 kB / 0.9403 GB, free: 404 kB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005252/0.7243, allocations: 0.5446 MB / 0.9409 GB, free: 388 kB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.845e-05/0.7244, allocations: 35.12 kB / 0.9409 GB, free: 388 kB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007173/0.7251, allocations: 446.3 kB / 0.9413 GB, free: 368 kB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002652/0.7254, allocations: 268.9 kB / 0.9416 GB, free: 360 kB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0005476/0.7259, allocations: 0.6085 MB / 0.9422 GB, free: 16.31 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001705/0.7276, allocations: 2.089 MB / 0.9442 GB, free: 16.19 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.7276, allocations: 0 / 0.9442 GB, free: 16.19 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.074e-06/0.7277, allocations: 0.875 kB / 0.9442 GB, free: 16.19 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.699e-05/0.7277, allocations: 1.859 kB / 0.9442 GB, free: 16.19 MB / 0.7325 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.002428/0.7301, allocations: 1.475 MB / 0.9457 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.7302, allocations: 8.906 kB / 0.9457 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001976/0.7304, allocations: 199.2 kB / 0.9459 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.108/0.8384, allocations: 20.91 MB / 0.9663 GB, free: 9.785 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002332/0.8407, allocations: 1.338 MB / 0.9676 GB, free: 9.152 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.563e-05/0.8408, allocations: 102 kB / 0.9677 GB, free: 9.145 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003968/0.8412, allocations: 123.3 kB / 0.9678 GB, free: 9.145 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03461/0.8759, allocations: 9.611 MB / 0.9772 GB, free: 5.836 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.225e-05/0.8759, allocations: 0 / 0.9772 GB, free: 5.836 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003047/0.8762, allocations: 56.88 kB / 0.9772 GB, free: 5.836 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.981e-05/0.8762, allocations: 30.72 kB / 0.9773 GB, free: 5.836 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06955/0.9458, allocations: 17.41 MB / 0.9943 GB, free: 13.09 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04205/0.9879, allocations: 12.06 MB / 1.006 GB, free: 2.855 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03974/1.028, allocations: 9.874 MB / 1.016 GB, free: 9.254 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03297/1.061, allocations: 8.143 MB / 1.024 GB, free: 1.105 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005772/1.061, allocations: 0.605 MB / 1.024 GB, free: 392 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03366/1.095, allocations: 8.639 MB / 1.033 GB, free: 7.711 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=103): time 4.458e-06/1.095, allocations: 0 / 1.033 GB, free: 7.711 MB / 0.7794 GB Notification: Performance of matching and sorting (n=103): time 0.09744/1.192, allocations: 23.71 MB / 1.056 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001089/1.193, allocations: 196.9 kB / 1.056 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001152/1.194, allocations: 0.7509 MB / 1.057 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0005415/1.194, allocations: 41.7 kB / 1.057 GB, free: 14.91 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004398/1.195, allocations: 0.5229 MB / 1.057 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006935/1.195, allocations: 336.2 kB / 1.058 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004766/1.196, allocations: 85.67 kB / 1.058 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.00012/1.196, allocations: 341.9 kB / 1.058 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03353/1.23, allocations: 8.187 MB / 1.066 GB, free: 5.434 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03306/1.263, allocations: 8.323 MB / 1.074 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06126/1.324, allocations: 14.27 MB / 1.088 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.546e-06/1.324, allocations: 0 / 1.088 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.06462/1.389, allocations: 15.75 MB / 1.103 GB, free: 15 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.598e-05/1.389, allocations: 12.03 kB / 1.103 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/1.389, allocations: 4 kB / 1.103 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005471/1.389, allocations: 84.77 kB / 1.104 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01851/1.408, allocations: 3.511 MB / 1.107 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001891/1.41, allocations: 1.539 MB / 1.108 GB, free: 9.703 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01841/1.428, allocations: 3.304 MB / 1.112 GB, free: 6.398 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006164/1.429, allocations: 99.81 kB / 1.112 GB, free: 6.301 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 (117): * Single equations (assignments): 116 * 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.00134/1.43, allocations: 321.5 kB / 1.112 GB, free: 5.977 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005333/1.431, allocations: 102.8 kB / 1.112 GB, free: 5.875 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06942/1.5, allocations: 16.3 MB / 1.128 GB, free: 5.547 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.85e-05/1.5, allocations: 13.86 kB / 1.128 GB, free: 5.535 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/1.5, allocations: 0 / 1.128 GB, free: 5.535 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.503e-05/1.5, allocations: 11.91 kB / 1.128 GB, free: 5.523 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07085/1.571, allocations: 19.17 MB / 1.147 GB, free: 2.309 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/1.571, allocations: 0 / 1.147 GB, free: 2.309 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01777/1.589, allocations: 3.507 MB / 1.15 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004843/1.589, allocations: 88.77 kB / 1.15 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003272/1.59, allocations: 91.81 kB / 1.15 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001671/1.591, allocations: 1.556 MB / 1.152 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/1.591, allocations: 1.859 kB / 1.152 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0661/1.658, allocations: 15.73 MB / 1.167 GB, free: 13.14 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001346/1.659, allocations: 0.8034 MB / 1.168 GB, free: 12.32 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004916/1.659, allocations: 27.94 kB / 1.168 GB, free: 12.29 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01765/1.677, allocations: 3.266 MB / 1.171 GB, free: 9.023 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001676/1.677, allocations: 80.88 kB / 1.171 GB, free: 8.945 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003087/1.678, allocations: 103.8 kB / 1.172 GB, free: 8.844 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0007182/1.678, allocations: 0.5303 MB / 1.172 GB, free: 8.316 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.343e-06/1.678, allocations: 0 / 1.172 GB, free: 8.316 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001886/1.68, allocations: 0.6668 MB / 1.173 GB, free: 7.648 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.06817/1.748, allocations: 16.8 MB / 1.189 GB, free: 7.008 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.06804/1.816, allocations: 16.67 MB / 1.205 GB, free: 6.312 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/1.817, allocations: 0 / 1.205 GB, free: 6.312 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.03459/1.851, allocations: 8.43 MB / 1.214 GB, free: 13.87 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002134/1.853, allocations: 291.4 kB / 1.214 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2067/2.06, allocations: 55.76 MB / 1.268 GB, free: 5.547 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007166/2.061, allocations: 1.151 MB / 1.269 GB, free: 4.363 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.003673/2.064, allocations: 0.7189 MB / 1.27 GB, free: 3.641 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00197/2.066, allocations: 0.6317 MB / 1.271 GB, free: 3.008 MB / 1.014 GB Notification: Performance of SimCode: time 5.31e-07/2.066, allocations: 0 / 1.271 GB, free: 3.008 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 16.32/18.38, allocations: 44.99 MB / 1.315 GB, free: 403.5 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002618/18.38, allocations: 278.7 kB / 1.315 GB, free: 403.1 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.657/25.04, allocations: 0 / 1.315 GB, free: 403.1 MB / 1.014 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_HeatTransfer_Windows_Examples_Overhang_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_HeatTransfer_Windows_Examples_Overhang.fmu > Buildings_8_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe 2>&1)