Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.Examples.Overhang.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.Overhang,fileNamePrefix="Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_Examples_Overhang",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.Overhang,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.439/1.439, allocations: 288.4 MB / 303.6 MB, free: 8.109 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009458/0.0009459, allocations: 188.5 kB / 372.3 MB, free: 10.12 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.132/1.132, allocations: 205.4 MB / 0.631 GB, free: 9.934 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007296/0.0007296, allocations: 100.7 kB / 0.7444 GB, free: 5.832 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.00033/0.0003301, allocations: 11.78 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1559/0.1563, allocations: 115.3 MB / 0.9802 GB, free: 27.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.Overhang): time 0.004334/0.1606, allocations: 4.415 MB / 0.9845 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.4415/0.6022, allocations: 137 MB / 1.118 GB, free: 2.391 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000469/0.6027, allocations: 21.66 kB / 1.118 GB, free: 2.383 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0003836/0.6031, allocations: 132.1 kB / 1.118 GB, free: 2.32 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1-maint.8.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 8.0.1-maint.8.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 8.0.1-maint.8.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.0009607/0.604, allocations: 432.7 kB / 1.119 GB, free: 2.203 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001491/0.6055, allocations: 0.7337 MB / 1.12 GB, free: 2.133 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001114/0.6066, allocations: 1.553 MB / 1.121 GB, free: 1.895 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008823/0.6075, allocations: 0.9072 MB / 1.122 GB, free: 1.672 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004354/0.608, allocations: 459.7 kB / 1.122 GB, free: 1.555 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004481/0.6084, allocations: 0.5195 MB / 1.123 GB, free: 1.422 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 9.32e-05/0.6085, allocations: 34.25 kB / 1.123 GB, free: 1.422 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006366/0.6092, allocations: 425 kB / 1.123 GB, free: 1.402 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001935/0.6094, allocations: 258 kB / 1.124 GB, free: 1.348 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0003463/0.6097, allocations: 0.5695 MB / 1.124 GB, free: 1.121 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.00123/0.611, allocations: 1.684 MB / 1.126 GB, free: 1 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.611, allocations: 0 / 1.126 GB, free: 1 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.372e-06/0.611, allocations: 4 kB / 1.126 GB, free: 0.9961 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.63e-05/0.611, allocations: 0 / 1.126 GB, free: 0.9961 MB / 0.6823 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.002265/0.6133, allocations: 1.477 MB / 1.127 GB, free: 16.12 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.6133, allocations: 11.67 kB / 1.127 GB, free: 16.12 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001817/0.6135, allocations: 191.2 kB / 1.127 GB, free: 16.08 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1074/0.721, allocations: 20.91 MB / 1.148 GB, free: 9.336 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002344/0.7233, allocations: 1.341 MB / 1.149 GB, free: 8.699 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.69e-05/0.7235, allocations: 98.5 kB / 1.149 GB, free: 8.691 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000365/0.7238, allocations: 126.5 kB / 1.149 GB, free: 8.691 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03477/0.7586, allocations: 9.597 MB / 1.159 GB, free: 5.387 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.858e-05/0.7587, allocations: 2.875 kB / 1.159 GB, free: 5.387 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003065/0.759, allocations: 50 kB / 1.159 GB, free: 5.387 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.07e-05/0.759, allocations: 30.38 kB / 1.159 GB, free: 5.387 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06643/0.8255, allocations: 17.4 MB / 1.176 GB, free: 8.387 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04082/0.8663, allocations: 12.07 MB / 1.188 GB, free: 14.14 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03921/0.9056, allocations: 9.863 MB / 1.197 GB, free: 5.531 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03302/0.9386, allocations: 8.133 MB / 1.205 GB, free: 14.38 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004662/0.9391, allocations: 0.5963 MB / 1.206 GB, free: 13.68 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03362/0.9727, allocations: 8.642 MB / 1.214 GB, free: 6.004 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=103): time 2.685e-06/0.9728, allocations: 0 / 1.214 GB, free: 6.004 MB / 0.7448 GB Notification: Performance of matching and sorting (n=103): time 0.0979/1.071, allocations: 23.71 MB / 1.237 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.216e-05/1.071, allocations: 192.9 kB / 1.238 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009324/1.072, allocations: 0.7392 MB / 1.238 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0003513/1.072, allocations: 49.7 kB / 1.238 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003533/1.072, allocations: 0.5145 MB / 1.239 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004317/1.073, allocations: 343.7 kB / 1.239 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002411/1.073, allocations: 16 kB / 1.239 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000101/1.073, allocations: 341.9 kB / 1.239 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03241/1.106, allocations: 8.189 MB / 1.247 GB, free: 3.938 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03264/1.138, allocations: 8.31 MB / 1.256 GB, free: 11.59 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06091/1.199, allocations: 14.28 MB / 1.27 GB, free: 13.28 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.063e-06/1.199, allocations: 0 / 1.27 GB, free: 13.28 MB / 0.8073 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.06573/1.265, allocations: 15.75 MB / 1.285 GB, free: 13.5 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.536e-05/1.265, allocations: 7.938 kB / 1.285 GB, free: 13.5 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/1.265, allocations: 4 kB / 1.285 GB, free: 13.49 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005449/1.266, allocations: 84.86 kB / 1.285 GB, free: 13.41 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01846/1.284, allocations: 3.515 MB / 1.288 GB, free: 9.887 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001847/1.286, allocations: 1.533 MB / 1.29 GB, free: 8.211 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01773/1.304, allocations: 3.305 MB / 1.293 GB, free: 4.902 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005498/1.304, allocations: 103.8 kB / 1.293 GB, free: 4.801 MB / 0.823 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001015/1.305, allocations: 326.8 kB / 1.294 GB, free: 4.473 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003619/1.306, allocations: 94.78 kB / 1.294 GB, free: 4.379 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06672/1.372, allocations: 16.3 MB / 1.31 GB, free: 4.051 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.996e-05/1.373, allocations: 12 kB / 1.31 GB, free: 4.039 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/1.373, allocations: 1.969 kB / 1.31 GB, free: 4.039 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.751e-05/1.373, allocations: 11.91 kB / 1.31 GB, free: 4.027 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06983/1.442, allocations: 19.16 MB / 1.328 GB, free: 0.8242 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.715e-06/1.442, allocations: 4 kB / 1.328 GB, free: 0.8203 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0182/1.461, allocations: 3.507 MB / 1.332 GB, free: 13.31 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005345/1.461, allocations: 88.77 kB / 1.332 GB, free: 13.22 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004102/1.462, allocations: 95.75 kB / 1.332 GB, free: 13.12 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001792/1.463, allocations: 1.559 MB / 1.333 GB, free: 11.42 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/1.463, allocations: 0 / 1.333 GB, free: 11.42 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06688/1.53, allocations: 15.73 MB / 1.349 GB, free: 11.66 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001656/1.532, allocations: 0.7935 MB / 1.35 GB, free: 10.84 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003887/1.532, allocations: 27.94 kB / 1.35 GB, free: 10.82 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01767/1.55, allocations: 3.273 MB / 1.353 GB, free: 7.539 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002302/1.55, allocations: 80.88 kB / 1.353 GB, free: 7.461 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004234/1.551, allocations: 103.8 kB / 1.353 GB, free: 7.359 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0007375/1.552, allocations: 0.5224 MB / 1.353 GB, free: 6.84 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.1e-07/1.552, allocations: 0 / 1.353 GB, free: 6.84 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001763/1.553, allocations: 0.6707 MB / 1.354 GB, free: 6.168 MB / 0.8855 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.06892/1.622, allocations: 16.8 MB / 1.371 GB, free: 5.504 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.06772/1.69, allocations: 16.65 MB / 1.387 GB, free: 4.82 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/1.69, allocations: 4 kB / 1.387 GB, free: 4.816 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.03441/1.725, allocations: 8.417 MB / 1.395 GB, free: 12.38 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001747/1.726, allocations: 274.9 kB / 1.395 GB, free: 12.11 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1457/1.872, allocations: 38.34 MB / 1.433 GB, free: 5.555 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006428/1.873, allocations: 1.159 MB / 1.434 GB, free: 4.363 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.003626/1.876, allocations: 0.7188 MB / 1.435 GB, free: 3.641 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001971/1.878, allocations: 0.6239 MB / 1.435 GB, free: 3.016 MB / 0.9636 GB Notification: Performance of SimCode: time 6.61e-07/1.878, allocations: 4 kB / 1.435 GB, free: 3.012 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.787/3.665, allocations: 46.26 MB / 1.48 GB, free: 359.4 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001583/3.665, allocations: 250 kB / 1.481 GB, free: 359 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.249/6.915, allocations: 0 / 1.481 GB, free: 359 MB / 0.9636 GB (rm -f Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe >> ../files/Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.Examples.Overhang.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_Examples_Overhang_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_Examples_Overhang.fmu > Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe 2>&1)