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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.Overhang,fileNamePrefix="Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_Examples_Overhang",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.Overhang,fileNamePrefix="Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_Examples_Overhang",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 2.69/2.69, allocations: 252 MB / 267.3 MB, free: 10.85 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002787/0.002787, allocations: 182.3 kB / 327 MB, free: 2.094 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.891/3.891, allocations: 205.4 MB / 0.578 GB, free: 20.15 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001222/0.001222, allocations: 91.7 kB / 0.6826 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006281/0.0006281, allocations: 10.56 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3986/0.3993, allocations: 106.3 MB / 0.9009 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.Overhang): time 0.01063/0.41, allocations: 4.664 MB / 0.9055 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.2895/0.6996, allocations: 146.8 MB / 1.049 GB, free: 7.348 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001942/0.7017, allocations: 19.94 kB / 1.049 GB, free: 7.328 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001246/0.703, allocations: 158.8 kB / 1.049 GB, free: 7.172 MB / 0.698 GB [/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‘. Notification: Performance of NFTyping.typeBindings: time 0.003948/0.707, allocations: 438.5 kB / 1.049 GB, free: 6.746 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.004743/0.7117, allocations: 0.842 MB / 1.05 GB, free: 5.91 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004132/0.7159, allocations: 1.663 MB / 1.052 GB, free: 4.238 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002707/0.7186, allocations: 0.9124 MB / 1.053 GB, free: 3.285 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00166/0.7203, allocations: 481.7 kB / 1.053 GB, free: 2.812 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001708/0.722, allocations: 0.5426 MB / 1.054 GB, free: 2.27 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0005065/0.7226, allocations: 36 kB / 1.054 GB, free: 2.234 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002484/0.7251, allocations: 431.5 kB / 1.054 GB, free: 1.812 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0008889/0.726, allocations: 266.8 kB / 1.054 GB, free: 1.551 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.002527/0.7285, allocations: 0.6072 MB / 1.055 GB, free: 0.9336 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.9897/1.718, allocations: 2.082 MB / 1.057 GB, free: 5.188 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.184e-05/1.718, allocations: 0 / 1.057 GB, free: 5.188 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.508e-06/1.718, allocations: 1.281 kB / 1.057 GB, free: 5.188 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.153e-05/1.718, allocations: 0.9688 kB / 1.057 GB, free: 5.188 MB / 0.698 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.006042/1.725, allocations: 1.49 MB / 1.059 GB, free: 4.367 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.505e-05/1.725, allocations: 8.188 kB / 1.059 GB, free: 4.367 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004911/1.725, allocations: 189 kB / 1.059 GB, free: 4.324 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2079/1.933, allocations: 20.92 MB / 1.079 GB, free: 3.227 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006949/1.94, allocations: 1.332 MB / 1.08 GB, free: 2.895 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006174/1.941, allocations: 188.6 kB / 1.081 GB, free: 2.793 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001704/1.943, allocations: 128.8 kB / 1.081 GB, free: 2.793 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06928/2.012, allocations: 9.63 MB / 1.09 GB, free: 1.676 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001323/2.012, allocations: 0 / 1.09 GB, free: 1.676 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001325/2.014, allocations: 59.41 kB / 1.09 GB, free: 1.672 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.271e-05/2.014, allocations: 30.52 kB / 1.09 GB, free: 1.672 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.126/2.14, allocations: 17.47 MB / 1.107 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06917/2.209, allocations: 12.09 MB / 1.119 GB, free: 5.84 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06089/2.27, allocations: 9.916 MB / 1.129 GB, free: 13.17 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.04977/2.32, allocations: 8.157 MB / 1.137 GB, free: 5.992 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001094/2.321, allocations: 0.6021 MB / 1.137 GB, free: 5.281 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05109/2.372, allocations: 8.652 MB / 1.146 GB, free: 13.61 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=103): time 1.014e-05/2.372, allocations: 0 / 1.146 GB, free: 13.61 MB / 0.7448 GB Notification: Performance of matching and sorting (n=103): time 0.1502/2.522, allocations: 23.77 MB / 1.169 GB, free: 8.414 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002503/2.523, allocations: 195.8 kB / 1.169 GB, free: 8.184 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002603/2.525, allocations: 0.747 MB / 1.17 GB, free: 7.609 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.001221/2.527, allocations: 46.31 kB / 1.17 GB, free: 7.574 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.001038/2.528, allocations: 0.516 MB / 1.17 GB, free: 7.211 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.001677/2.529, allocations: 345 kB / 1.171 GB, free: 6.926 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009948/2.53, allocations: 18.75 kB / 1.171 GB, free: 6.922 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0003447/2.531, allocations: 348.8 kB / 1.171 GB, free: 6.59 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.04949/2.58, allocations: 8.201 MB / 1.179 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.05087/2.631, allocations: 8.342 MB / 1.187 GB, free: 8.117 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.09343/2.725, allocations: 14.32 MB / 1.201 GB, free: 11.35 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.964e-05/2.725, allocations: 3.844 kB / 1.201 GB, free: 11.35 MB / 0.7917 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.1119/2.837, allocations: 15.8 MB / 1.217 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 5.158e-05/2.837, allocations: 4 kB / 1.217 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.756e-05/2.837, allocations: 4 kB / 1.217 GB, free: 13.37 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000934/2.838, allocations: 88.8 kB / 1.217 GB, free: 13.28 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03109/2.869, allocations: 3.523 MB / 1.22 GB, free: 9.766 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003609/2.873, allocations: 1.532 MB / 1.222 GB, free: 8.109 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02982/2.903, allocations: 3.315 MB / 1.225 GB, free: 4.789 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001341/2.904, allocations: 99.8 kB / 1.225 GB, free: 4.691 MB / 0.8073 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 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * 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.002924/2.907, allocations: 319.4 kB / 1.225 GB, free: 4.383 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001309/2.908, allocations: 102.7 kB / 1.225 GB, free: 4.281 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1164/3.025, allocations: 16.35 MB / 1.241 GB, free: 3.906 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.821e-05/3.025, allocations: 12 kB / 1.241 GB, free: 3.895 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.516e-05/3.025, allocations: 0 / 1.241 GB, free: 3.895 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.681e-05/3.025, allocations: 14.88 kB / 1.241 GB, free: 3.883 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.13/3.155, allocations: 19.21 MB / 1.26 GB, free: 0.6367 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-05/3.155, allocations: 0 / 1.26 GB, free: 0.6367 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.03297/3.188, allocations: 3.519 MB / 1.264 GB, free: 13.12 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009175/3.189, allocations: 92.77 kB / 1.264 GB, free: 13.03 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001206/3.19, allocations: 83.83 kB / 1.264 GB, free: 12.95 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003382/3.194, allocations: 1.562 MB / 1.265 GB, free: 11.26 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/3.194, allocations: 144 / 1.265 GB, free: 11.26 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1173/3.311, allocations: 15.78 MB / 1.281 GB, free: 11.45 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003237/3.314, allocations: 0.7918 MB / 1.282 GB, free: 10.64 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001471/3.316, allocations: 24 kB / 1.282 GB, free: 10.61 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03086/3.347, allocations: 3.284 MB / 1.285 GB, free: 7.328 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006467/3.348, allocations: 87.78 kB / 1.285 GB, free: 7.242 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001218/3.349, allocations: 103.3 kB / 1.285 GB, free: 7.145 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001937/3.351, allocations: 0.5381 MB / 1.285 GB, free: 6.609 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.603e-06/3.351, allocations: 0 / 1.285 GB, free: 6.609 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0046/3.355, allocations: 0.6568 MB / 1.286 GB, free: 5.953 MB / 0.8698 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.1189/3.474, allocations: 16.81 MB / 1.303 GB, free: 5.316 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.1151/3.59, allocations: 16.71 MB / 1.319 GB, free: 4.586 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.716e-05/3.59, allocations: 4 kB / 1.319 GB, free: 4.582 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.05761/3.647, allocations: 8.44 MB / 1.327 GB, free: 12.15 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004745/3.652, allocations: 286.2 kB / 1.327 GB, free: 11.88 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4108/4.063, allocations: 55.88 MB / 1.382 GB, free: 3.738 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001636/4.065, allocations: 1.147 MB / 1.383 GB, free: 2.559 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.009169/4.074, allocations: 0.7305 MB / 1.384 GB, free: 1.824 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004375/4.078, allocations: 0.6278 MB / 1.384 GB, free: 1.195 MB / 0.9636 GB Notification: Performance of SimCode: time 4.388e-06/4.078, allocations: 4 kB / 1.384 GB, free: 1.191 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.384/5.463, allocations: 45.1 MB / 1.428 GB, free: 427 MB / 0.9792 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003325/5.463, allocations: 291.6 kB / 1.429 GB, free: 426.6 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.634/12.1, allocations: 0 / 1.429 GB, free: 426.6 MB / 0.9792 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_Examples_Overhang_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_Examples_Overhang.fmu > Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe 2>&1)