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 1.412/1.412, allocations: 251.5 MB / 266.7 MB, free: 11.05 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.0009181/0.0009181, allocations: 172 kB / 325.8 MB, free: 2.691 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.472/1.472, allocations: 205 MB / 0.576 GB, free: 20.98 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.0007347/0.0007347, allocations: 90.89 kB / 0.6797 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000298/0.000298, allocations: 12.59 kB / 0.7933 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1592/0.1595, allocations: 105.4 MB / 0.8962 GB, free: 68.07 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang): time 0.004132/0.1637, allocations: 4.486 MB / 0.9006 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1324/0.2962, allocations: 148.8 MB / 1.046 GB, free: 10.19 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007889/0.297, allocations: 15.94 kB / 1.046 GB, free: 10.18 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0006481/0.2977, allocations: 142.9 kB / 1.046 GB, free: 10.04 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.001517/0.2992, allocations: 435.2 kB / 1.046 GB, free: 9.609 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.00199/0.3012, allocations: 0.7969 MB / 1.047 GB, free: 8.82 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001595/0.3028, allocations: 1.543 MB / 1.049 GB, free: 7.27 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001131/0.304, allocations: 0.793 MB / 1.05 GB, free: 6.441 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006547/0.3046, allocations: 457.8 kB / 1.05 GB, free: 5.992 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005264/0.3052, allocations: 0.5091 MB / 1.05 GB, free: 5.48 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.000101/0.3053, allocations: 36 kB / 1.05 GB, free: 5.445 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007566/0.306, allocations: 427.5 kB / 1.051 GB, free: 5.027 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002232/0.3063, allocations: 250.9 kB / 1.051 GB, free: 4.781 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0004193/0.3067, allocations: 0.5356 MB / 1.052 GB, free: 4.242 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001408/0.3081, allocations: 1.81 MB / 1.053 GB, free: 2.426 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.3081, allocations: 0 / 1.053 GB, free: 2.426 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.382e-06/0.3081, allocations: 0 / 1.053 GB, free: 2.426 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.173e-05/0.3082, allocations: 0 / 1.053 GB, free: 2.426 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: 289 * Number of variables: 289 Notification: Performance of Generate backend data structure: time 0.002473/0.3106, allocations: 1.399 MB / 1.055 GB, free: 0.9727 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.3107, allocations: 12.02 kB / 1.055 GB, free: 0.9609 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001775/0.3109, allocations: 173.4 kB / 1.055 GB, free: 0.7812 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.4119/0.7228, allocations: 20.9 MB / 1.075 GB, free: 155.3 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001826/0.7247, allocations: 1.158 MB / 1.077 GB, free: 154.5 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002054/0.7249, allocations: 183.2 kB / 1.077 GB, free: 154.3 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002997/0.7252, allocations: 107.5 kB / 1.077 GB, free: 154.3 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02971/0.7549, allocations: 9.274 MB / 1.086 GB, free: 146 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.51e-05/0.7549, allocations: 0 / 1.086 GB, free: 146 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002617/0.7552, allocations: 46.31 kB / 1.086 GB, free: 146 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.646e-05/0.7552, allocations: 28 kB / 1.086 GB, free: 146 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05675/0.812, allocations: 16.89 MB / 1.102 GB, free: 130.4 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03223/0.8443, allocations: 10.62 MB / 1.113 GB, free: 119.7 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03336/0.8777, allocations: 9.543 MB / 1.122 GB, free: 110.1 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0274/0.9051, allocations: 7.86 MB / 1.13 GB, free: 102.3 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003365/0.9055, allocations: 0.5929 MB / 1.13 GB, free: 101.6 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02834/0.9338, allocations: 8.363 MB / 1.139 GB, free: 93.18 MB / 0.698 GB Notification: Performance of pre-optimization done (n=101): time 2.976e-06/0.9338, allocations: 0 / 1.139 GB, free: 93.18 MB / 0.698 GB Notification: Performance of matching and sorting (n=101): time 0.08094/1.015, allocations: 23 MB / 1.161 GB, free: 70.12 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.077e-05/1.015, allocations: 192.9 kB / 1.161 GB, free: 69.89 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007007/1.016, allocations: 0.6959 MB / 1.162 GB, free: 69.19 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002971/1.016, allocations: 45.7 kB / 1.162 GB, free: 69.14 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002569/1.016, allocations: 476.9 kB / 1.162 GB, free: 68.67 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000335/1.016, allocations: 335.3 kB / 1.163 GB, free: 68.34 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002739/1.017, allocations: 77.67 kB / 1.163 GB, free: 68.26 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.042e-05/1.017, allocations: 402.7 kB / 1.163 GB, free: 67.86 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02834/1.045, allocations: 7.95 MB / 1.171 GB, free: 59.9 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03175/1.077, allocations: 8.086 MB / 1.179 GB, free: 51.77 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05483/1.132, allocations: 14 MB / 1.192 GB, free: 37.75 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/1.132, allocations: 0 / 1.192 GB, free: 37.75 MB / 0.698 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.0555/1.187, allocations: 15.38 MB / 1.207 GB, free: 22.34 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.475e-05/1.187, allocations: 10.5 kB / 1.207 GB, free: 22.33 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/1.187, allocations: 4.688 kB / 1.207 GB, free: 22.33 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005328/1.188, allocations: 84.86 kB / 1.208 GB, free: 22.24 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01634/1.204, allocations: 3.52 MB / 1.211 GB, free: 18.72 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001602/1.206, allocations: 1.529 MB / 1.213 GB, free: 17.06 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01488/1.221, allocations: 3.312 MB / 1.216 GB, free: 13.75 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004921/1.221, allocations: 99.81 kB / 1.216 GB, free: 13.65 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 (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 (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.0007721/1.222, allocations: 295.5 kB / 1.216 GB, free: 13.35 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003965/1.223, allocations: 94.86 kB / 1.216 GB, free: 13.26 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05798/1.281, allocations: 15.88 MB / 1.232 GB, free: 13.35 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.299e-05/1.281, allocations: 12 kB / 1.232 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/1.281, allocations: 3.938 kB / 1.232 GB, free: 13.33 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.34e-05/1.281, allocations: 6.828 kB / 1.232 GB, free: 13.33 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06064/1.341, allocations: 17.88 MB / 1.249 GB, free: 11.39 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/1.341, allocations: 3.844 kB / 1.249 GB, free: 11.39 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01691/1.358, allocations: 3.523 MB / 1.253 GB, free: 7.863 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000514/1.359, allocations: 80.78 kB / 1.253 GB, free: 7.781 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000402/1.359, allocations: 91.81 kB / 1.253 GB, free: 7.691 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001764/1.361, allocations: 1.545 MB / 1.254 GB, free: 6.016 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/1.361, allocations: 3.938 kB / 1.254 GB, free: 6.012 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05841/1.419, allocations: 15.3 MB / 1.269 GB, free: 6.672 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001369/1.421, allocations: 0.6395 MB / 1.27 GB, free: 6.012 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004059/1.421, allocations: 27.94 kB / 1.27 GB, free: 5.984 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01643/1.438, allocations: 3.273 MB / 1.273 GB, free: 2.707 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002078/1.438, allocations: 80.88 kB / 1.273 GB, free: 2.625 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003472/1.438, allocations: 103.8 kB / 1.273 GB, free: 2.523 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0005933/1.439, allocations: 0.5029 MB / 1.274 GB, free: 2.027 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.6e-07/1.439, allocations: 0 / 1.274 GB, free: 2.027 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001523/1.44, allocations: 0.629 MB / 1.274 GB, free: 1.414 MB / 0.7448 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.06742/1.508, allocations: 16.35 MB / 1.29 GB, free: 1.246 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.06087/1.569, allocations: 16.15 MB / 1.306 GB, free: 1.066 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 5.75e-06/1.569, allocations: 2.031 kB / 1.306 GB, free: 1.066 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.02969/1.599, allocations: 8.156 MB / 1.314 GB, free: 8.895 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00155/1.6, allocations: 278.6 kB / 1.314 GB, free: 8.621 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1881/1.788, allocations: 53.74 MB / 1.367 GB, free: 2.633 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005859/1.789, allocations: 1.123 MB / 1.368 GB, free: 1.484 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.003436/1.792, allocations: 0.7107 MB / 1.369 GB, free: 0.7695 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001696/1.794, allocations: 0.581 MB / 1.369 GB, free: 192 kB / 0.8386 GB Notification: Performance of SimCode: time 4.51e-07/1.794, allocations: 7.938 kB / 1.369 GB, free: 184 kB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.716/2.51, allocations: 41.58 MB / 1.41 GB, free: 274.4 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001594/2.51, allocations: 303.6 kB / 1.41 GB, free: 274 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.266/5.776, allocations: 4.062 kB / 1.41 GB, free: 274 MB / 0.8386 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)