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.00125/0.00125, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.00119/0.00119, allocations: 194.5 kB / 16.14 MB, free: 6.668 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.106/1.106, allocations: 205.1 MB / 222 MB, free: 4.762 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.488/1.488, allocations: 292.3 MB / 0.5484 GB, free: 13.67 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.001408/0.001408, allocations: 73.92 kB / 0.6709 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1723/0.1737, allocations: 114.6 MB / 0.7828 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.Overhang): time 0.005662/0.1794, allocations: 5.085 MB / 0.7878 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.4354/0.6149, allocations: 148.9 MB / 0.9332 GB, free: 5.176 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007101/0.6156, allocations: 21.41 kB / 0.9332 GB, free: 5.176 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0005651/0.6162, allocations: 151.2 kB / 0.9334 GB, free: 5.176 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.001345/0.6176, allocations: 441.5 kB / 0.9338 GB, free: 5.172 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001838/0.6194, allocations: 0.8469 MB / 0.9346 GB, free: 5.156 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001516/0.6209, allocations: 1.667 MB / 0.9362 GB, free: 5.148 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009084/0.6219, allocations: 0.9288 MB / 0.9372 GB, free: 4.949 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000621/0.6225, allocations: 0.5875 MB / 0.9377 GB, free: 4.945 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006086/0.6231, allocations: 0.7 MB / 0.9384 GB, free: 4.945 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001469/0.6233, allocations: 91.88 kB / 0.9385 GB, free: 4.945 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007702/0.624, allocations: 0.4901 MB / 0.939 GB, free: 4.934 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.000273/0.6243, allocations: 358.7 kB / 0.9393 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0004999/0.6248, allocations: 0.6945 MB / 0.94 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001601/0.6264, allocations: 2.176 MB / 0.9421 GB, free: 4.797 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.6265, allocations: 0.7969 kB / 0.9421 GB, free: 4.797 MB / 0.7325 GB Notification: Performance of FrontEnd: time 7.11e-07/0.6265, allocations: 0 / 0.9421 GB, free: 4.797 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.387e-05/0.6265, allocations: 0 / 0.9421 GB, free: 4.797 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.002632/0.6291, allocations: 1.79 MB / 0.9439 GB, free: 19.9 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.025e-05/0.6292, allocations: 7.594 kB / 0.9439 GB, free: 19.9 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001823/0.6293, allocations: 192.2 kB / 0.9441 GB, free: 19.86 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1017/0.731, allocations: 15.38 MB / 0.9591 GB, free: 18.7 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002415/0.7335, allocations: 1.338 MB / 0.9604 GB, free: 18.09 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001222/0.7336, allocations: 99.12 kB / 0.9605 GB, free: 18.09 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004196/0.734, allocations: 124.6 kB / 0.9606 GB, free: 18.09 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03389/0.7679, allocations: 7.935 MB / 0.9683 GB, free: 14.97 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.715e-05/0.768, allocations: 0 / 0.9683 GB, free: 14.97 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003371/0.7683, allocations: 50.62 kB / 0.9684 GB, free: 14.97 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.265e-05/0.7684, allocations: 32.53 kB / 0.9684 GB, free: 14.97 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06158/0.83, allocations: 14.06 MB / 0.9822 GB, free: 9.863 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03741/0.8674, allocations: 10.31 MB / 0.9922 GB, free: 5.113 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03507/0.9025, allocations: 8.166 MB / 1 GB, free: 2.344 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02939/0.9319, allocations: 6.463 MB / 1.007 GB, free: 13.56 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004652/0.9324, allocations: 0.5938 MB / 1.007 GB, free: 12.85 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03012/0.9626, allocations: 6.965 MB / 1.014 GB, free: 5.855 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=103): time 2.956e-06/0.9626, allocations: 0 / 1.014 GB, free: 5.855 MB / 0.7637 GB Notification: Performance of matching and sorting (n=103): time 0.08719/1.05, allocations: 18.78 MB / 1.032 GB, free: 3.027 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.404e-05/1.05, allocations: 194.8 kB / 1.032 GB, free: 2.793 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001031/1.051, allocations: 0.7469 MB / 1.033 GB, free: 2.035 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0004343/1.051, allocations: 45.7 kB / 1.033 GB, free: 1.984 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.000395/1.052, allocations: 0.5196 MB / 1.034 GB, free: 1.457 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005703/1.052, allocations: 339.7 kB / 1.034 GB, free: 1.129 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001062/1.053, allocations: 338.1 kB / 1.034 GB, free: 0.793 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001085/1.054, allocations: 341.9 kB / 1.035 GB, free: 464 kB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02957/1.083, allocations: 6.509 MB / 1.041 GB, free: 9.934 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02896/1.112, allocations: 6.642 MB / 1.048 GB, free: 3.25 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05403/1.166, allocations: 11.13 MB / 1.058 GB, free: 8.102 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/1.166, allocations: 0 / 1.058 GB, free: 8.102 MB / 0.8106 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.05781/1.224, allocations: 12.51 MB / 1.071 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/1.224, allocations: 4 kB / 1.071 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.799e-06/1.224, allocations: 12.03 kB / 1.071 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005481/1.225, allocations: 82.55 kB / 1.071 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01649/1.241, allocations: 2.647 MB / 1.073 GB, free: 8.836 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001795/1.243, allocations: 1.531 MB / 1.075 GB, free: 7.184 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01604/1.259, allocations: 2.437 MB / 1.077 GB, free: 4.742 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003999/1.259, allocations: 95.81 kB / 1.077 GB, free: 4.648 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.001051/1.26, allocations: 320.7 kB / 1.078 GB, free: 4.336 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000584/1.261, allocations: 98.78 kB / 1.078 GB, free: 4.238 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06032/1.321, allocations: 13.06 MB / 1.09 GB, free: 7.156 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.166e-05/1.321, allocations: 12 kB / 1.09 GB, free: 7.145 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/1.321, allocations: 3.938 kB / 1.09 GB, free: 7.141 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.8e-05/1.321, allocations: 15.91 kB / 1.09 GB, free: 7.125 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06345/1.385, allocations: 15.91 MB / 1.106 GB, free: 7.172 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/1.385, allocations: 0 / 1.106 GB, free: 7.172 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01651/1.401, allocations: 2.651 MB / 1.109 GB, free: 4.527 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004761/1.402, allocations: 84.77 kB / 1.109 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003037/1.402, allocations: 91.81 kB / 1.109 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001609/1.404, allocations: 1.547 MB / 1.11 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/1.404, allocations: 4.094 kB / 1.11 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05963/1.463, allocations: 12.49 MB / 1.122 GB, free: 6.148 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001565/1.465, allocations: 0.7839 MB / 1.123 GB, free: 5.344 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006209/1.466, allocations: 27.92 kB / 1.123 GB, free: 5.316 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01659/1.482, allocations: 2.387 MB / 1.126 GB, free: 2.926 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002189/1.483, allocations: 84.88 kB / 1.126 GB, free: 2.844 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004014/1.483, allocations: 101.6 kB / 1.126 GB, free: 2.746 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0007332/1.484, allocations: 0.5381 MB / 1.126 GB, free: 2.211 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.5e-07/1.484, allocations: 0 / 1.126 GB, free: 2.211 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001977/1.486, allocations: 0.6629 MB / 1.127 GB, free: 1.547 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.05988/1.546, allocations: 13.54 MB / 1.14 GB, free: 4.176 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.06259/1.608, allocations: 13.31 MB / 1.153 GB, free: 6.855 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 6.211e-06/1.608, allocations: 0 / 1.153 GB, free: 6.855 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.03085/1.639, allocations: 6.756 MB / 1.16 GB, free: 108 kB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002119/1.641, allocations: 286.2 kB / 1.16 GB, free: 15.84 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1888/1.83, allocations: 45.74 MB / 1.205 GB, free: 1.836 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007079/1.831, allocations: 1.147 MB / 1.206 GB, free: 0.6562 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.003677/1.835, allocations: 0.7266 MB / 1.206 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00204/1.837, allocations: 0.6239 MB / 1.207 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of SimCode: time 6.61e-07/1.837, allocations: 0 / 1.207 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.773/7.61, allocations: 45.44 MB / 1.251 GB, free: 2.18 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003894/7.61, allocations: 271.1 kB / 1.252 GB, free: 1.828 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.702/12.31, allocations: 3.938 kB / 1.252 GB, free: 1.824 MB / 0.9981 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)