Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.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.BaseClasses.Examples.Overhang,fileNamePrefix="Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang,fileNamePrefix="Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_BaseClasses_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.454/2.454, allocations: 252 MB / 267.3 MB, free: 10.84 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.002251/0.002251, allocations: 175 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.823/3.823, allocations: 205.4 MB / 0.578 GB, free: 20.45 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.001246/0.001246, allocations: 87.2 kB / 0.6826 GB, free: 13.22 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.00053/0.0005301, allocations: 9.312 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3645/0.3651, allocations: 106.3 MB / 0.9009 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang): time 0.007877/0.3731, allocations: 4.38 MB / 0.9052 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.2878/0.661, allocations: 146.7 MB / 1.048 GB, free: 8.016 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00158/0.6627, allocations: 15.94 kB / 1.048 GB, free: 8 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0009959/0.6637, allocations: 146.8 kB / 1.049 GB, free: 7.855 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.003349/0.6671, allocations: 424.5 kB / 1.049 GB, free: 7.441 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.004426/0.6715, allocations: 0.802 MB / 1.05 GB, free: 6.648 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003808/0.6753, allocations: 1.551 MB / 1.051 GB, free: 5.09 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00228/0.6777, allocations: 0.7854 MB / 1.052 GB, free: 4.27 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001589/0.6793, allocations: 453.9 kB / 1.053 GB, free: 3.824 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001366/0.6807, allocations: 0.514 MB / 1.053 GB, free: 3.309 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002493/0.681, allocations: 36 kB / 1.053 GB, free: 3.273 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00195/0.6829, allocations: 419.5 kB / 1.053 GB, free: 2.863 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0005333/0.6835, allocations: 262.9 kB / 1.054 GB, free: 2.605 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001143/0.6847, allocations: 0.5568 MB / 1.054 GB, free: 2.039 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.004698/0.6894, allocations: 1.814 MB / 1.056 GB, free: 224 kB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.5e-05/0.6895, allocations: 0 / 1.056 GB, free: 224 kB / 0.698 GB Notification: Performance of FrontEnd: time 6.843e-06/0.6895, allocations: 0 / 1.056 GB, free: 224 kB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001021/0.6896, allocations: 0 / 1.056 GB, free: 224 kB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 289 * Number of variables: 289 Notification: Performance of Generate backend data structure: time 0.834/1.524, allocations: 1.4 MB / 1.057 GB, free: 156.2 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 8.197e-05/1.524, allocations: 9.562 kB / 1.057 GB, free: 156.2 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008798/1.525, allocations: 180.3 kB / 1.058 GB, free: 156.2 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2028/1.728, allocations: 20.9 MB / 1.078 GB, free: 150.8 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004492/1.732, allocations: 1.155 MB / 1.079 GB, free: 150 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005686/1.733, allocations: 180.6 kB / 1.079 GB, free: 149.8 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001096/1.734, allocations: 118.6 kB / 1.079 GB, free: 149.7 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06321/1.797, allocations: 9.263 MB / 1.088 GB, free: 141.5 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.52e-05/1.797, allocations: 4 kB / 1.088 GB, free: 141.5 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005281/1.798, allocations: 48.67 kB / 1.089 GB, free: 141.5 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.415e-05/1.798, allocations: 28 kB / 1.089 GB, free: 141.5 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1184/1.916, allocations: 16.89 MB / 1.105 GB, free: 126.4 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07577/1.992, allocations: 10.64 MB / 1.115 GB, free: 116.2 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06787/2.06, allocations: 9.53 MB / 1.125 GB, free: 106.7 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.05828/2.118, allocations: 7.862 MB / 1.132 GB, free: 98.83 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000813/2.119, allocations: 0.5982 MB / 1.133 GB, free: 98.11 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.06111/2.181, allocations: 8.358 MB / 1.141 GB, free: 89.73 MB / 0.698 GB Notification: Performance of pre-optimization done (n=101): time 1.182e-05/2.181, allocations: 0 / 1.141 GB, free: 89.73 MB / 0.698 GB Notification: Performance of matching and sorting (n=101): time 0.1759/2.357, allocations: 22.99 MB / 1.164 GB, free: 66.69 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001404/2.357, allocations: 204.8 kB / 1.164 GB, free: 66.45 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001469/2.358, allocations: 0.6881 MB / 1.164 GB, free: 65.75 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0009483/2.359, allocations: 48.52 kB / 1.165 GB, free: 65.7 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000467/2.36, allocations: 481.6 kB / 1.165 GB, free: 65.22 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007612/2.361, allocations: 331.7 kB / 1.165 GB, free: 64.9 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003874/2.361, allocations: 20 kB / 1.165 GB, free: 64.88 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001777/2.361, allocations: 398.7 kB / 1.166 GB, free: 64.48 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.05295/2.414, allocations: 7.946 MB / 1.173 GB, free: 56.53 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.05194/2.466, allocations: 8.089 MB / 1.181 GB, free: 48.39 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.09531/2.562, allocations: 14.02 MB / 1.195 GB, free: 34.35 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-05/2.562, allocations: 0 / 1.195 GB, free: 34.35 MB / 0.698 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.08727/2.649, allocations: 15.38 MB / 1.21 GB, free: 18.94 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.091e-05/2.649, allocations: 8 kB / 1.21 GB, free: 18.93 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.462e-05/2.649, allocations: 0 / 1.21 GB, free: 18.93 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007306/2.65, allocations: 85.91 kB / 1.21 GB, free: 18.84 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02469/2.674, allocations: 3.519 MB / 1.214 GB, free: 15.32 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002702/2.677, allocations: 1.525 MB / 1.215 GB, free: 13.66 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02533/2.703, allocations: 3.313 MB / 1.218 GB, free: 10.34 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001052/2.704, allocations: 99.8 kB / 1.218 GB, free: 10.25 MB / 0.698 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 (115): * Single equations (assignments): 114 * 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.001657/2.705, allocations: 301.5 kB / 1.219 GB, free: 9.941 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007152/2.706, allocations: 95.53 kB / 1.219 GB, free: 9.848 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.09762/2.804, allocations: 15.87 MB / 1.234 GB, free: 9.945 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.749e-05/2.804, allocations: 12 kB / 1.234 GB, free: 9.934 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/2.804, allocations: 3.938 kB / 1.234 GB, free: 9.93 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-05/2.804, allocations: 13.09 kB / 1.234 GB, free: 9.918 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1046/2.909, allocations: 17.87 MB / 1.252 GB, free: 7.992 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.622e-05/2.909, allocations: 0 / 1.252 GB, free: 7.992 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02747/2.936, allocations: 3.523 MB / 1.255 GB, free: 4.465 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008767/2.937, allocations: 84.77 kB / 1.255 GB, free: 4.379 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001017/2.938, allocations: 87.81 kB / 1.255 GB, free: 4.293 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002699/2.941, allocations: 1.553 MB / 1.257 GB, free: 2.605 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/2.941, allocations: 8 kB / 1.257 GB, free: 2.598 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09614/3.037, allocations: 15.29 MB / 1.272 GB, free: 3.27 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002753/3.04, allocations: 0.659 MB / 1.272 GB, free: 2.59 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008639/3.041, allocations: 24 kB / 1.273 GB, free: 2.566 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02546/3.066, allocations: 3.281 MB / 1.276 GB, free: 15.28 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004313/3.067, allocations: 80.88 kB / 1.276 GB, free: 15.2 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007773/3.068, allocations: 95.81 kB / 1.276 GB, free: 15.11 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.001117/3.069, allocations: 0.5068 MB / 1.276 GB, free: 14.61 MB / 0.7605 GB Notification: Performance of sort global known variables: time 2.11e-07/3.069, allocations: 0 / 1.276 GB, free: 14.61 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.003119/3.072, allocations: 0.6318 MB / 1.277 GB, free: 13.97 MB / 0.7605 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 (121): * Single equations (assignments): 118 * 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.09926/3.171, allocations: 16.35 MB / 1.293 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.1107/3.282, allocations: 16.14 MB / 1.309 GB, free: 13.6 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.066e-05/3.282, allocations: 4 kB / 1.309 GB, free: 13.59 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.05779/3.34, allocations: 8.156 MB / 1.317 GB, free: 5.422 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003376/3.343, allocations: 281.7 kB / 1.317 GB, free: 5.148 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3902/3.734, allocations: 53.76 MB / 1.369 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001216/3.735, allocations: 1.115 MB / 1.371 GB, free: 13.97 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.008289/3.743, allocations: 0.7107 MB / 1.371 GB, free: 13.26 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003872/3.747, allocations: 0.5849 MB / 1.372 GB, free: 12.67 MB / 0.8542 GB Notification: Performance of SimCode: time 1.513e-06/3.747, allocations: 0 / 1.372 GB, free: 12.67 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8508/4.598, allocations: 41.58 MB / 1.412 GB, free: 299.6 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003022/4.598, allocations: 303.8 kB / 1.413 GB, free: 299.2 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.996/10.59, allocations: 0 / 1.413 GB, free: 299.2 MB / 0.8542 GB (rm -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.pipe >> ../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang.fmu > Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.pipe 2>&1)