Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.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.BaseClasses.Examples.Overhang,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.637/1.637, allocations: 288.4 MB / 303.3 MB, free: 8.199 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.0009964/0.0009964, allocations: 172.5 kB / 372 MB, free: 10.28 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.426/1.426, allocations: 205.4 MB / 0.6307 GB, free: 10.01 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.0008364/0.0008365, allocations: 90.36 kB / 0.744 GB, free: 5.926 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003576/0.0003577, allocations: 12.28 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.192/0.1924, allocations: 115.3 MB / 0.9796 GB, free: 27.58 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang): time 0.004422/0.1968, allocations: 4.142 MB / 0.9837 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.5526/0.7495, allocations: 136.9 MB / 1.117 GB, free: 1.945 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007247/0.7502, allocations: 19.5 kB / 1.117 GB, free: 1.938 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0004908/0.7507, allocations: 136.5 kB / 1.118 GB, free: 1.875 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.001431/0.7522, allocations: 413.3 kB / 1.118 GB, free: 1.758 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002045/0.7542, allocations: 0.717 MB / 1.119 GB, free: 1.699 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002047/0.7563, allocations: 1.41 MB / 1.12 GB, free: 1.484 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009439/0.7573, allocations: 0.6084 MB / 1.121 GB, free: 1.367 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008546/0.7581, allocations: 440.7 kB / 1.121 GB, free: 1.258 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006795/0.7588, allocations: 0.4934 MB / 1.121 GB, free: 1.141 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001205/0.7589, allocations: 35.38 kB / 1.122 GB, free: 1.141 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001045/0.76, allocations: 404.8 kB / 1.122 GB, free: 1.125 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002229/0.7602, allocations: 251.8 kB / 1.122 GB, free: 1.074 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002116/0.7604, allocations: 233.1 kB / 1.122 GB, free: 0.9961 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.001394/0.7618, allocations: 1.43 MB / 1.124 GB, free: 0.8867 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.7619, allocations: 3.375 kB / 1.124 GB, free: 0.8867 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.774e-06/0.7619, allocations: 0 / 1.124 GB, free: 0.8867 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.95e-05/0.7619, allocations: 1.156 kB / 1.124 GB, free: 0.8867 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: 289 * Number of variables: 289 Notification: Performance of Generate backend data structure: time 0.003016/0.7649, allocations: 1.403 MB / 1.125 GB, free: 16.06 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.263e-05/0.765, allocations: 12.67 kB / 1.125 GB, free: 16.05 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002457/0.7652, allocations: 170.2 kB / 1.125 GB, free: 16.01 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1136/0.8788, allocations: 20.9 MB / 1.146 GB, free: 9.484 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002573/0.8814, allocations: 1.123 MB / 1.147 GB, free: 8.902 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001174/0.8816, allocations: 96.08 kB / 1.147 GB, free: 8.891 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004254/0.882, allocations: 111.2 kB / 1.147 GB, free: 8.891 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0362/0.9182, allocations: 9.236 MB / 1.156 GB, free: 5.602 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.831e-05/0.9183, allocations: 3.953 kB / 1.156 GB, free: 5.598 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003119/0.9186, allocations: 44.97 kB / 1.156 GB, free: 5.598 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.144e-05/0.9186, allocations: 27.56 kB / 1.156 GB, free: 5.598 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06887/0.9875, allocations: 16.84 MB / 1.173 GB, free: 9.348 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04139/1.029, allocations: 10.62 MB / 1.183 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04192/1.071, allocations: 9.49 MB / 1.192 GB, free: 7.402 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03454/1.105, allocations: 7.837 MB / 1.2 GB, free: 340 kB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000566/1.106, allocations: 0.6039 MB / 1.2 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03445/1.141, allocations: 8.336 MB / 1.209 GB, free: 8.035 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=101): time 4.92e-06/1.141, allocations: 0 / 1.209 GB, free: 8.035 MB / 0.7448 GB Notification: Performance of matching and sorting (n=101): time 0.09818/1.239, allocations: 22.92 MB / 1.231 GB, free: 3.152 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001553/1.239, allocations: 192.9 kB / 1.231 GB, free: 2.918 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001172/1.24, allocations: 0.6873 MB / 1.232 GB, free: 2.387 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0005727/1.241, allocations: 48.33 kB / 1.232 GB, free: 2.348 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.000368/1.241, allocations: 474.9 kB / 1.232 GB, free: 2.02 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004687/1.242, allocations: 339 kB / 1.233 GB, free: 1.738 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002352/1.242, allocations: 18.5 kB / 1.233 GB, free: 1.734 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001932/1.242, allocations: 396.2 kB / 1.233 GB, free: 1.375 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03358/1.276, allocations: 7.929 MB / 1.241 GB, free: 10.09 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03299/1.309, allocations: 8.066 MB / 1.249 GB, free: 1.984 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03053/1.339, allocations: 6.984 MB / 1.255 GB, free: 10.99 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.826e-06/1.339, allocations: 0 / 1.255 GB, free: 10.99 MB / 0.7917 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.06444/1.404, allocations: 15.34 MB / 1.27 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.571e-05/1.404, allocations: 4.094 kB / 1.27 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/1.404, allocations: 8 kB / 1.27 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005785/1.404, allocations: 80.77 kB / 1.271 GB, free: 11.53 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01943/1.424, allocations: 3.515 MB / 1.274 GB, free: 8.012 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002057/1.426, allocations: 1.516 MB / 1.275 GB, free: 6.355 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01913/1.445, allocations: 3.307 MB / 1.279 GB, free: 3.047 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007936/1.446, allocations: 101.6 kB / 1.279 GB, free: 2.949 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 (115): * Single equations (assignments): 114 * 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.001178/1.447, allocations: 293.6 kB / 1.279 GB, free: 2.652 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004965/1.448, allocations: 94.88 kB / 1.279 GB, free: 2.559 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06954/1.517, allocations: 15.84 MB / 1.295 GB, free: 2.688 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-05/1.517, allocations: 15.95 kB / 1.295 GB, free: 2.672 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/1.517, allocations: 0 / 1.295 GB, free: 2.672 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-05/1.517, allocations: 7.969 kB / 1.295 GB, free: 2.664 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07291/1.59, allocations: 17.83 MB / 1.312 GB, free: 0.793 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.177e-05/1.59, allocations: 3.938 kB / 1.312 GB, free: 0.7891 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01902/1.609, allocations: 3.513 MB / 1.316 GB, free: 13.27 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005728/1.61, allocations: 84.77 kB / 1.316 GB, free: 13.19 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005081/1.611, allocations: 91.81 kB / 1.316 GB, free: 13.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001844/1.612, allocations: 1.548 MB / 1.317 GB, free: 11.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/1.612, allocations: 0 / 1.317 GB, free: 11.4 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06722/1.68, allocations: 15.26 MB / 1.332 GB, free: 12.11 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001718/1.681, allocations: 0.6629 MB / 1.333 GB, free: 11.43 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004954/1.682, allocations: 20 kB / 1.333 GB, free: 11.41 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01933/1.701, allocations: 3.269 MB / 1.336 GB, free: 8.133 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002547/1.702, allocations: 80.88 kB / 1.336 GB, free: 8.055 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004744/1.702, allocations: 103.8 kB / 1.336 GB, free: 7.953 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0007584/1.703, allocations: 0.4912 MB / 1.337 GB, free: 7.465 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.4e-07/1.703, allocations: 0 / 1.337 GB, free: 7.465 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002173/1.705, allocations: 0.6453 MB / 1.337 GB, free: 6.82 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 (121): * Single equations (assignments): 118 * 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.06906/1.774, allocations: 16.3 MB / 1.353 GB, free: 6.648 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.06916/1.843, allocations: 16.11 MB / 1.369 GB, free: 6.516 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/1.843, allocations: 0 / 1.369 GB, free: 6.516 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.03564/1.879, allocations: 8.128 MB / 1.377 GB, free: 14.37 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001945/1.881, allocations: 274.5 kB / 1.377 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1476/2.029, allocations: 36.75 MB / 1.413 GB, free: 9.168 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006504/2.029, allocations: 1.123 MB / 1.414 GB, free: 8.012 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.004222/2.033, allocations: 0.7146 MB / 1.415 GB, free: 7.293 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001982/2.035, allocations: 0.5887 MB / 1.415 GB, free: 6.703 MB / 0.948 GB Notification: Performance of SimCode: time 9.41e-07/2.035, allocations: 0 / 1.415 GB, free: 6.703 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4351/2.471, allocations: 42.43 MB / 1.457 GB, free: 370.4 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001559/2.471, allocations: 280.9 kB / 1.457 GB, free: 370 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.301/5.772, allocations: 4 kB / 1.457 GB, free: 370 MB / 0.9636 GB (rm -f Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.pipe >> ../files/Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang.fmu > Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.pipe 2>&1)