Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.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.Examples.Overhang,fileNamePrefix="Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_Examples_Overhang",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.Overhang,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.266/1.266, allocations: 251.5 MB / 266.7 MB, free: 11.03 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.0009051/0.0009051, allocations: 170.2 kB / 325.8 MB, free: 2.695 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.405/1.405, allocations: 205 MB / 0.576 GB, free: 21.02 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.0006479/0.0006479, allocations: 91.98 kB / 0.6797 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003064/0.0003064, allocations: 10.53 kB / 0.7932 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1812/0.1815, allocations: 105.4 MB / 0.8962 GB, free: 68.1 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.Overhang): time 0.004368/0.1859, allocations: 4.77 MB / 0.9008 GB, free: 63.31 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1378/0.3237, allocations: 148.9 MB / 1.046 GB, free: 9.852 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007196/0.3244, allocations: 19.88 kB / 1.046 GB, free: 9.832 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0005021/0.325, allocations: 150.8 kB / 1.046 GB, free: 9.684 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.001137/0.3261, allocations: 443.8 kB / 1.047 GB, free: 9.25 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001675/0.3278, allocations: 0.8393 MB / 1.048 GB, free: 8.418 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001235/0.329, allocations: 1.675 MB / 1.049 GB, free: 6.734 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001002/0.33, allocations: 0.916 MB / 1.05 GB, free: 5.777 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005179/0.3306, allocations: 477.7 kB / 1.051 GB, free: 5.309 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005479/0.3311, allocations: 0.537 MB / 1.051 GB, free: 4.77 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001091/0.3312, allocations: 36 kB / 1.051 GB, free: 4.734 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006981/0.3319, allocations: 423.6 kB / 1.052 GB, free: 4.32 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002265/0.3322, allocations: 278.7 kB / 1.052 GB, free: 4.047 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.000421/0.3326, allocations: 0.5744 MB / 1.052 GB, free: 3.469 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001548/0.3342, allocations: 2.083 MB / 1.054 GB, free: 1.379 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.3342, allocations: 0 / 1.054 GB, free: 1.379 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.372e-06/0.3342, allocations: 7.938 kB / 1.054 GB, free: 1.371 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.216e-05/0.3342, allocations: 0 / 1.054 GB, free: 1.371 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: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.3551/0.6893, allocations: 1.471 MB / 1.056 GB, free: 159.7 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/0.6894, allocations: 12.11 kB / 1.056 GB, free: 159.7 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005561/0.6899, allocations: 192 kB / 1.056 GB, free: 159.6 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1004/0.7903, allocations: 20.92 MB / 1.077 GB, free: 153.9 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002308/0.7927, allocations: 1.334 MB / 1.078 GB, free: 153 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002195/0.7929, allocations: 197.3 kB / 1.078 GB, free: 152.8 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000332/0.7932, allocations: 119.3 kB / 1.078 GB, free: 152.8 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03074/0.824, allocations: 9.635 MB / 1.088 GB, free: 144.4 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.686e-05/0.8241, allocations: 0.75 kB / 1.088 GB, free: 144.4 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002757/0.8243, allocations: 54.31 kB / 1.088 GB, free: 144.4 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.893e-05/0.8244, allocations: 32 kB / 1.088 GB, free: 144.4 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05757/0.8819, allocations: 17.45 MB / 1.105 GB, free: 127.6 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03599/0.918, allocations: 12.08 MB / 1.116 GB, free: 115.5 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03409/0.9521, allocations: 9.916 MB / 1.126 GB, free: 105.6 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02817/0.9803, allocations: 8.163 MB / 1.134 GB, free: 97.41 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003641/0.9807, allocations: 0.6002 MB / 1.135 GB, free: 96.69 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02881/1.01, allocations: 8.655 MB / 1.143 GB, free: 88.01 MB / 0.698 GB Notification: Performance of pre-optimization done (n=103): time 4.118e-06/1.01, allocations: 0 / 1.143 GB, free: 88.01 MB / 0.698 GB Notification: Performance of matching and sorting (n=103): time 0.08492/1.094, allocations: 23.78 MB / 1.166 GB, free: 64.18 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.584e-05/1.095, allocations: 192.9 kB / 1.167 GB, free: 63.95 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007866/1.095, allocations: 0.747 MB / 1.167 GB, free: 63.18 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003719/1.096, allocations: 45.7 kB / 1.167 GB, free: 63.13 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002554/1.096, allocations: 0.5156 MB / 1.168 GB, free: 62.61 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003604/1.096, allocations: 336.4 kB / 1.168 GB, free: 62.29 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003002/1.097, allocations: 88.02 kB / 1.168 GB, free: 62.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.173e-05/1.097, allocations: 341.9 kB / 1.169 GB, free: 61.86 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0285/1.125, allocations: 8.208 MB / 1.177 GB, free: 53.64 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02812/1.153, allocations: 8.335 MB / 1.185 GB, free: 45.26 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05144/1.205, allocations: 14.3 MB / 1.199 GB, free: 30.94 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/1.205, allocations: 3.938 kB / 1.199 GB, free: 30.93 MB / 0.698 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.05596/1.261, allocations: 15.8 MB / 1.214 GB, free: 15.11 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.46e-05/1.261, allocations: 8 kB / 1.214 GB, free: 15.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/1.261, allocations: 4.094 kB / 1.214 GB, free: 15.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005208/1.261, allocations: 80.78 kB / 1.214 GB, free: 15.02 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01651/1.278, allocations: 3.527 MB / 1.218 GB, free: 11.48 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001617/1.28, allocations: 1.543 MB / 1.219 GB, free: 9.809 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01605/1.296, allocations: 3.31 MB / 1.222 GB, free: 6.496 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004766/1.296, allocations: 99.75 kB / 1.222 GB, free: 6.398 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 (117): * Single equations (assignments): 116 * 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.0008565/1.297, allocations: 321.5 kB / 1.223 GB, free: 6.074 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004142/1.298, allocations: 110.6 kB / 1.223 GB, free: 5.965 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06184/1.359, allocations: 16.34 MB / 1.239 GB, free: 5.594 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.878e-05/1.359, allocations: 12 kB / 1.239 GB, free: 5.582 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/1.359, allocations: 7.922 kB / 1.239 GB, free: 5.574 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.428e-05/1.359, allocations: 3.984 kB / 1.239 GB, free: 5.57 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06531/1.425, allocations: 19.19 MB / 1.258 GB, free: 2.324 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.688e-06/1.425, allocations: 4 kB / 1.258 GB, free: 2.32 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01682/1.442, allocations: 3.515 MB / 1.261 GB, free: 14.8 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005196/1.442, allocations: 92.7 kB / 1.261 GB, free: 14.71 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004218/1.443, allocations: 87.81 kB / 1.261 GB, free: 14.62 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001669/1.444, allocations: 1.569 MB / 1.263 GB, free: 12.92 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/1.444, allocations: 0 / 1.263 GB, free: 12.92 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06131/1.506, allocations: 15.77 MB / 1.278 GB, free: 13.11 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001523/1.507, allocations: 0.7726 MB / 1.279 GB, free: 12.32 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004488/1.508, allocations: 35.83 kB / 1.279 GB, free: 12.29 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01644/1.524, allocations: 3.273 MB / 1.282 GB, free: 9.008 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002694/1.524, allocations: 92.86 kB / 1.282 GB, free: 8.918 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004087/1.525, allocations: 99.81 kB / 1.282 GB, free: 8.82 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0007501/1.526, allocations: 0.5381 MB / 1.283 GB, free: 8.289 MB / 0.7605 GB Notification: Performance of sort global known variables: time 4.41e-07/1.526, allocations: 0 / 1.283 GB, free: 8.289 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.001894/1.528, allocations: 0.6533 MB / 1.283 GB, free: 7.648 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 (123): * Single equations (assignments): 120 * 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.06223/1.59, allocations: 16.81 MB / 1.3 GB, free: 7.008 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.06379/1.654, allocations: 16.71 MB / 1.316 GB, free: 6.273 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 6.152e-06/1.654, allocations: 0 / 1.316 GB, free: 6.273 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.03226/1.686, allocations: 8.449 MB / 1.324 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001758/1.688, allocations: 296.2 kB / 1.325 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4844/2.172, allocations: 55.84 MB / 1.379 GB, free: 297 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007036/2.173, allocations: 1.161 MB / 1.38 GB, free: 296.3 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.004415/2.177, allocations: 0.7126 MB / 1.381 GB, free: 296.1 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002203/2.18, allocations: 0.6369 MB / 1.382 GB, free: 296.1 MB / 0.8386 GB Notification: Performance of SimCode: time 1.173e-06/2.18, allocations: 0 / 1.382 GB, free: 296.1 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4595/2.639, allocations: 45.12 MB / 1.426 GB, free: 259.5 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001684/2.639, allocations: 288.8 kB / 1.426 GB, free: 259.1 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.736/6.376, allocations: 0 / 1.426 GB, free: 259.1 MB / 0.8386 GB (rm -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe >> ../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.Overhang.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_Examples_Overhang_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_Examples_Overhang.fmu > Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe 2>&1)