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.394/1.394, allocations: 252 MB / 267 MB, free: 10.98 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.001272/0.001272, allocations: 178.3 kB / 326.6 MB, free: 2.215 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.67/1.67, allocations: 205.4 MB / 0.5777 GB, free: 20.29 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.0007555/0.0007554, allocations: 99.02 kB / 0.6823 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004085/0.0004086, allocations: 9.938 kB / 0.7965 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2082/0.2086, allocations: 106.3 MB / 0.9003 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang): time 0.005049/0.2137, allocations: 4.153 MB / 0.9044 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.16/0.3738, allocations: 136.9 MB / 1.038 GB, free: 2.387 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008272/0.3746, allocations: 19.88 kB / 1.038 GB, free: 2.367 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0006441/0.3753, allocations: 134.9 kB / 1.038 GB, free: 2.234 MB / 0.6823 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.001614/0.3769, allocations: 412.4 kB / 1.039 GB, free: 1.832 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001994/0.3789, allocations: 0.7059 MB / 1.039 GB, free: 1.133 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001669/0.3806, allocations: 1.414 MB / 1.041 GB, free: 15.71 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009642/0.3816, allocations: 0.6061 MB / 1.041 GB, free: 15.09 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007574/0.3823, allocations: 450 kB / 1.042 GB, free: 14.64 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007376/0.3831, allocations: 0.4899 MB / 1.042 GB, free: 14.15 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001928/0.3833, allocations: 36 kB / 1.042 GB, free: 14.12 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009081/0.3842, allocations: 391.6 kB / 1.043 GB, free: 13.73 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.000323/0.3845, allocations: 251 kB / 1.043 GB, free: 13.49 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002812/0.3848, allocations: 229 kB / 1.043 GB, free: 13.26 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001647/0.3865, allocations: 1.426 MB / 1.044 GB, free: 11.83 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.3865, allocations: 0 / 1.044 GB, free: 11.83 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.893e-06/0.3865, allocations: 0 / 1.044 GB, free: 11.83 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.668e-05/0.3866, allocations: 4 kB / 1.044 GB, free: 11.82 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.003595/0.3902, allocations: 1.411 MB / 1.046 GB, free: 10.36 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.3902, allocations: 12.03 kB / 1.046 GB, free: 10.35 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003483/0.3906, allocations: 181.1 kB / 1.046 GB, free: 10.16 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.5149/0.9056, allocations: 20.9 MB / 1.066 GB, free: 154.2 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002799/0.9084, allocations: 1.125 MB / 1.067 GB, free: 153.9 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002949/0.9087, allocations: 180.9 kB / 1.068 GB, free: 153.8 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004656/0.9092, allocations: 110.6 kB / 1.068 GB, free: 153.8 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03713/0.9463, allocations: 9.261 MB / 1.077 GB, free: 150.5 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.152e-05/0.9464, allocations: 9.344 kB / 1.077 GB, free: 150.5 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003158/0.9467, allocations: 48.7 kB / 1.077 GB, free: 150.5 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.151e-05/0.9468, allocations: 27.88 kB / 1.077 GB, free: 150.5 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0651/1.012, allocations: 16.88 MB / 1.093 GB, free: 136.9 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0384/1.05, allocations: 10.62 MB / 1.104 GB, free: 127.3 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03756/1.088, allocations: 9.529 MB / 1.113 GB, free: 117.8 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03122/1.119, allocations: 7.86 MB / 1.121 GB, free: 109.9 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004872/1.12, allocations: 0.6018 MB / 1.121 GB, free: 109.2 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03244/1.152, allocations: 8.356 MB / 1.129 GB, free: 100.8 MB / 0.698 GB Notification: Performance of pre-optimization done (n=101): time 3.687e-06/1.152, allocations: 0 / 1.129 GB, free: 100.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=101): time 0.09264/1.245, allocations: 22.99 MB / 1.152 GB, free: 77.79 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.298e-05/1.245, allocations: 192.9 kB / 1.152 GB, free: 77.55 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008508/1.246, allocations: 0.6842 MB / 1.153 GB, free: 76.86 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0005029/1.246, allocations: 45.7 kB / 1.153 GB, free: 76.81 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002834/1.247, allocations: 474.1 kB / 1.153 GB, free: 76.34 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005261/1.247, allocations: 339.3 kB / 1.154 GB, free: 76.01 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002416/1.248, allocations: 20 kB / 1.154 GB, free: 75.99 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001151/1.248, allocations: 395.9 kB / 1.154 GB, free: 75.6 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03139/1.279, allocations: 7.943 MB / 1.162 GB, free: 67.65 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.031/1.31, allocations: 8.082 MB / 1.17 GB, free: 59.52 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0287/1.339, allocations: 6.999 MB / 1.176 GB, free: 52.52 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.948e-06/1.339, allocations: 0 / 1.176 GB, free: 52.52 MB / 0.698 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.06274/1.402, allocations: 15.38 MB / 1.191 GB, free: 37.12 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.803e-05/1.402, allocations: 8.781 kB / 1.191 GB, free: 37.11 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.329e-05/1.402, allocations: 0 / 1.191 GB, free: 37.11 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000613/1.402, allocations: 91.52 kB / 1.192 GB, free: 37.02 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01824/1.421, allocations: 3.527 MB / 1.195 GB, free: 33.49 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002126/1.423, allocations: 1.508 MB / 1.196 GB, free: 31.84 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01838/1.441, allocations: 3.316 MB / 1.2 GB, free: 28.53 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007334/1.442, allocations: 99.8 kB / 1.2 GB, free: 28.43 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 (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.001575/1.444, allocations: 300.1 kB / 1.2 GB, free: 28.13 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007859/1.444, allocations: 94.83 kB / 1.2 GB, free: 28.04 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06579/1.51, allocations: 15.89 MB / 1.216 GB, free: 12.12 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.199e-05/1.51, allocations: 12 kB / 1.216 GB, free: 12.11 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/1.51, allocations: 0 / 1.216 GB, free: 12.11 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.293e-05/1.51, allocations: 3.984 kB / 1.216 GB, free: 12.1 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06932/1.58, allocations: 17.88 MB / 1.233 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.448e-05/1.58, allocations: 0 / 1.233 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01902/1.599, allocations: 3.523 MB / 1.237 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006301/1.599, allocations: 84.78 kB / 1.237 GB, free: 6.551 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007731/1.6, allocations: 87.81 kB / 1.237 GB, free: 6.465 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002067/1.602, allocations: 1.547 MB / 1.238 GB, free: 4.785 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/1.602, allocations: 64 / 1.238 GB, free: 4.785 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06881/1.671, allocations: 15.3 MB / 1.253 GB, free: 5.449 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001764/1.673, allocations: 0.659 MB / 1.254 GB, free: 4.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007584/1.674, allocations: 21.31 kB / 1.254 GB, free: 4.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01813/1.692, allocations: 3.281 MB / 1.257 GB, free: 1.465 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003366/1.692, allocations: 80.88 kB / 1.257 GB, free: 1.387 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000628/1.693, allocations: 99.81 kB / 1.257 GB, free: 1.289 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0009069/1.694, allocations: 0.4912 MB / 1.258 GB, free: 0.8047 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.345e-06/1.694, allocations: 0 / 1.258 GB, free: 0.8047 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.002411/1.696, allocations: 0.6487 MB / 1.258 GB, free: 180 kB / 0.7292 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.06916/1.765, allocations: 16.33 MB / 1.274 GB, free: 20 kB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.06875/1.834, allocations: 16.15 MB / 1.29 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 9.989e-06/1.834, allocations: 1.25 kB / 1.29 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.03451/1.869, allocations: 8.148 MB / 1.298 GB, free: 7.68 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002488/1.871, allocations: 279.1 kB / 1.298 GB, free: 7.406 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1466/2.018, allocations: 36.83 MB / 1.334 GB, free: 2.391 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008129/2.019, allocations: 1.119 MB / 1.335 GB, free: 1.246 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.004841/2.024, allocations: 0.7106 MB / 1.336 GB, free: 0.5312 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002168/2.026, allocations: 0.5857 MB / 1.337 GB, free: 15.95 MB / 0.823 GB Notification: Performance of SimCode: time 5.71e-07/2.026, allocations: 0 / 1.337 GB, free: 15.95 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07701/2.103, allocations: 42.5 MB / 1.378 GB, free: 5.684 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002203/2.103, allocations: 276.6 kB / 1.378 GB, free: 5.328 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.32/5.423, allocations: 4 kB / 1.378 GB, free: 5.324 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)