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.001143/0.001143, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001386/0.001386, allocations: 194.2 kB / 16.25 MB, free: 6.621 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.342/1.342, allocations: 205.1 MB / 222.1 MB, free: 4.703 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.555/1.555, allocations: 292.3 MB / 0.5486 GB, free: 13.64 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.001429/0.00143, allocations: 76.47 kB / 0.6711 GB, free: 26.42 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1911/0.1925, allocations: 114.5 MB / 0.783 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.Overhang): time 0.006779/0.1993, allocations: 5.092 MB / 0.7879 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.493/0.6924, allocations: 149 MB / 0.9335 GB, free: 5.078 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007777/0.6932, allocations: 18.75 kB / 0.9335 GB, free: 5.078 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0006433/0.6939, allocations: 150.6 kB / 0.9336 GB, free: 5.078 MB / 0.7325 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.001556/0.6954, allocations: 464.7 kB / 0.9341 GB, free: 5.07 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.00193/0.6974, allocations: 0.8783 MB / 0.9349 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001628/0.699, allocations: 1.756 MB / 0.9366 GB, free: 5.043 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001027/0.7001, allocations: 0.9563 MB / 0.9376 GB, free: 4.848 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009119/0.701, allocations: 0.6908 MB / 0.9382 GB, free: 4.848 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006681/0.7016, allocations: 0.7579 MB / 0.939 GB, free: 4.844 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001581/0.7018, allocations: 185.8 kB / 0.9392 GB, free: 4.844 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007821/0.7026, allocations: 0.5845 MB / 0.9397 GB, free: 4.828 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002988/0.7029, allocations: 450.2 kB / 0.9402 GB, free: 4.828 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0005539/0.7035, allocations: 0.784 MB / 0.9409 GB, free: 4.828 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002003/0.7055, allocations: 2.256 MB / 0.9431 GB, free: 4.691 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.7055, allocations: 0 / 0.9431 GB, free: 4.691 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.233e-06/0.7055, allocations: 2.625 kB / 0.9431 GB, free: 4.691 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.064e-05/0.7055, allocations: 0 / 0.9431 GB, free: 4.691 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.002854/0.7084, allocations: 1.781 MB / 0.9449 GB, free: 19.8 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.7084, allocations: 11.84 kB / 0.9449 GB, free: 19.8 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001975/0.7086, allocations: 192.1 kB / 0.9451 GB, free: 19.75 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09958/0.8082, allocations: 15.38 MB / 0.9601 GB, free: 19.14 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002494/0.8107, allocations: 1.338 MB / 0.9614 GB, free: 18.53 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001071/0.8109, allocations: 102.9 kB / 0.9615 GB, free: 18.52 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004369/0.8113, allocations: 126.1 kB / 0.9616 GB, free: 18.52 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03261/0.8439, allocations: 7.935 MB / 0.9694 GB, free: 15.4 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.954e-05/0.844, allocations: 1.875 kB / 0.9694 GB, free: 15.4 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003377/0.8443, allocations: 50.78 kB / 0.9694 GB, free: 15.4 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.113e-05/0.8444, allocations: 29.91 kB / 0.9694 GB, free: 15.4 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06359/0.908, allocations: 14.05 MB / 0.9832 GB, free: 10.3 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03861/0.9466, allocations: 10.32 MB / 0.9932 GB, free: 5.547 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03624/0.9829, allocations: 8.162 MB / 1.001 GB, free: 2.641 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03038/1.013, allocations: 6.459 MB / 1.008 GB, free: 13.2 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005455/1.014, allocations: 0.5975 MB / 1.008 GB, free: 12.48 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03078/1.045, allocations: 6.965 MB / 1.015 GB, free: 5.492 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=103): time 4.378e-06/1.045, allocations: 0 / 1.015 GB, free: 5.492 MB / 0.7637 GB Notification: Performance of matching and sorting (n=103): time 0.09106/1.136, allocations: 18.79 MB / 1.033 GB, free: 2.652 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001137/1.136, allocations: 194.7 kB / 1.033 GB, free: 2.418 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001284/1.137, allocations: 0.7508 MB / 1.034 GB, free: 1.656 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0006338/1.138, allocations: 49.7 kB / 1.034 GB, free: 1.602 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005099/1.138, allocations: 0.5079 MB / 1.035 GB, free: 1.086 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007916/1.139, allocations: 342.6 kB / 1.035 GB, free: 0.7539 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001324/1.141, allocations: 338.1 kB / 1.035 GB, free: 428 kB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001393/1.141, allocations: 345.9 kB / 1.036 GB, free: 76 kB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03073/1.171, allocations: 6.502 MB / 1.042 GB, free: 9.566 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02981/1.201, allocations: 6.649 MB / 1.049 GB, free: 2.879 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0535/1.255, allocations: 11.12 MB / 1.059 GB, free: 7.738 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.083e-06/1.255, allocations: 4 kB / 1.059 GB, free: 7.734 MB / 0.8106 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.05726/1.312, allocations: 12.5 MB / 1.072 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.542e-05/1.312, allocations: 4 kB / 1.072 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/1.312, allocations: 7.922 kB / 1.072 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005795/1.313, allocations: 80.88 kB / 1.072 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01671/1.329, allocations: 2.655 MB / 1.074 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06158/1.391, allocations: 1.641 MB / 1.076 GB, free: 6.695 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01739/1.409, allocations: 2.437 MB / 1.078 GB, free: 4.254 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000662/1.409, allocations: 98 kB / 1.078 GB, free: 4.16 MB / 0.8262 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.001514/1.411, allocations: 325.3 kB / 1.079 GB, free: 3.848 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007382/1.412, allocations: 98.78 kB / 1.079 GB, free: 3.75 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06251/1.474, allocations: 13.06 MB / 1.092 GB, free: 6.668 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.187e-05/1.474, allocations: 15.94 kB / 1.092 GB, free: 6.652 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/1.474, allocations: 0 / 1.092 GB, free: 6.652 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.44e-05/1.474, allocations: 11.97 kB / 1.092 GB, free: 6.641 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07632/1.55, allocations: 15.91 MB / 1.107 GB, free: 6.688 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.469e-05/1.551, allocations: 4 kB / 1.107 GB, free: 6.684 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01757/1.568, allocations: 2.651 MB / 1.11 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005049/1.569, allocations: 68.78 kB / 1.11 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00058/1.569, allocations: 91.81 kB / 1.11 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001901/1.571, allocations: 1.675 MB / 1.111 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/1.571, allocations: 4.031 kB / 1.111 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06071/1.632, allocations: 12.48 MB / 1.124 GB, free: 5.551 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001801/1.634, allocations: 0.784 MB / 1.124 GB, free: 4.746 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007659/1.635, allocations: 23.94 kB / 1.124 GB, free: 4.723 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01709/1.652, allocations: 2.395 MB / 1.127 GB, free: 2.328 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003087/1.652, allocations: 80.89 kB / 1.127 GB, free: 2.25 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005873/1.653, allocations: 103.8 kB / 1.127 GB, free: 2.148 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0008862/1.653, allocations: 0.5381 MB / 1.127 GB, free: 1.613 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.5e-07/1.653, allocations: 0 / 1.127 GB, free: 1.613 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.002362/1.656, allocations: 0.6668 MB / 1.128 GB, free: 0.9453 MB / 0.8731 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.06323/1.719, allocations: 13.53 MB / 1.141 GB, free: 3.578 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.06457/1.784, allocations: 13.66 MB / 1.155 GB, free: 5.914 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 6.102e-06/1.784, allocations: 2.344 kB / 1.155 GB, free: 5.914 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.03274/1.816, allocations: 6.753 MB / 1.161 GB, free: 15.16 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002237/1.819, allocations: 323.6 kB / 1.162 GB, free: 14.87 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2061/2.025, allocations: 45.73 MB / 1.206 GB, free: 0.8828 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009064/2.026, allocations: 1.164 MB / 1.207 GB, free: 15.69 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.004387/2.03, allocations: 0.7189 MB / 1.208 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002203/2.032, allocations: 0.6278 MB / 1.209 GB, free: 14.34 MB / 0.9669 GB Notification: Performance of SimCode: time 9.02e-07/2.032, allocations: 4 kB / 1.209 GB, free: 14.33 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7581/2.791, allocations: 47.01 MB / 1.255 GB, free: 15.65 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000378/2.791, allocations: 273.9 kB / 1.255 GB, free: 15.29 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.212/6.003, allocations: 0 / 1.255 GB, free: 15.29 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)