Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Windows_Examples_BeamDepthInRoom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Windows_Examples_BeamDepthInRoom",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001169/0.001174, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001207/0.001207, allocations: 198.8 kB / 16.64 MB, free: 6.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.466/1.466, allocations: 205.1 MB / 222.5 MB, free: 4.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.766/1.766, allocations: 292.3 MB / 0.549 GB, free: 12.77 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001462/0.001462, allocations: 68.95 kB / 0.6718 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2325/0.234, allocations: 114.6 MB / 0.7836 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom): time 0.005989/0.2401, allocations: 4.513 MB / 0.788 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004571/0.2447, allocations: 2.718 MB / 0.7907 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005364/0.2452, allocations: 23.88 kB / 0.7907 GB, free: 5.973 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002507/0.2455, allocations: 106.6 kB / 0.7908 GB, free: 5.867 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:216:3-259:11:writable] Warning: Pure function 'Modelica.Utilities.Strings.find' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4-maint.8.1.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.1.4-maint.8.1.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.1.4-maint.8.1.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'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/BoundaryConditions/WeatherData/BaseClasses/getAbsolutePath.mo:2:1-50:20:writable] Warning: Pure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getAbsolutePath' contains a call to impure function 'Modelica.Utilities.Files.exist'. Notification: Performance of NFTyping.typeBindings: time 0.001673/0.2472, allocations: 481.1 kB / 0.7913 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000746/0.248, allocations: 419.5 kB / 0.7917 GB, free: 4.984 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001197/0.2492, allocations: 1.264 MB / 0.7929 GB, free: 3.715 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006899/0.2499, allocations: 499.8 kB / 0.7934 GB, free: 3.207 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.2725/0.5224, allocations: 46.3 MB / 0.8386 GB, free: 6.969 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006724/0.5231, allocations: 485.7 kB / 0.8391 GB, free: 6.492 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001455/0.5232, allocations: 116 kB / 0.8392 GB, free: 6.379 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002679/0.5235, allocations: 152 kB / 0.8393 GB, free: 6.23 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001897/0.5237, allocations: 247.1 kB / 0.8396 GB, free: 5.988 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0004783/0.5242, allocations: 0.5092 MB / 0.8401 GB, free: 5.477 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001389/0.5256, allocations: 1.343 MB / 0.8414 GB, free: 4.129 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.5256, allocations: 0 / 0.8414 GB, free: 4.129 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.847e-06/0.5256, allocations: 4 kB / 0.8414 GB, free: 4.125 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.462e-05/0.5256, allocations: 0 / 0.8414 GB, free: 4.125 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.002066/0.5277, allocations: 1.235 MB / 0.8426 GB, free: 2.84 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/0.5278, allocations: 12.03 kB / 0.8426 GB, free: 2.828 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001327/0.5279, allocations: 118.8 kB / 0.8427 GB, free: 2.703 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001659/0.5281, allocations: 111.6 kB / 0.8428 GB, free: 2.594 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003265/0.5314, allocations: 0.7116 MB / 0.8435 GB, free: 1.84 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.554e-05/0.5314, allocations: 58.38 kB / 0.8436 GB, free: 1.785 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001624/0.5316, allocations: 75.94 kB / 0.8436 GB, free: 1.711 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001373/0.533, allocations: 0.7481 MB / 0.8444 GB, free: 0.9414 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.096e-05/0.533, allocations: 7.938 kB / 0.8444 GB, free: 0.9336 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.122e-05/0.5331, allocations: 28 kB / 0.8444 GB, free: 0.9062 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.668e-05/0.5331, allocations: 20 kB / 0.8444 GB, free: 0.8867 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001088/0.5342, allocations: 0.569 MB / 0.845 GB, free: 324 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003185/0.5374, allocations: 2.229 MB / 0.8472 GB, free: 14.03 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003221/0.5406, allocations: 0.9686 MB / 0.8481 GB, free: 13.02 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001029/0.5417, allocations: 337.7 kB / 0.8484 GB, free: 12.68 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004211/0.5421, allocations: 429.5 kB / 0.8488 GB, free: 12.17 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.078e-05/0.5421, allocations: 42.56 kB / 0.8489 GB, free: 12.12 MB / 0.67 GB Notification: Performance of pre-optimization done (n=80): time 2.454e-06/0.5422, allocations: 0 / 0.8489 GB, free: 12.12 MB / 0.67 GB Notification: Performance of matching and sorting (n=80): time 0.001833/0.544, allocations: 0.8694 MB / 0.8497 GB, free: 11.25 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.249e-05/0.5441, allocations: 136.5 kB / 0.8498 GB, free: 11.09 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007348/0.5448, allocations: 0.5667 MB / 0.8504 GB, free: 10.51 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 5.568e-05/0.5449, allocations: 41.7 kB / 0.8504 GB, free: 10.46 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002604/0.5452, allocations: 352.5 kB / 0.8508 GB, free: 10.11 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002064/0.5454, allocations: 268.1 kB / 0.851 GB, free: 9.848 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002058/0.5456, allocations: 134.5 kB / 0.8512 GB, free: 9.707 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001568/0.5458, allocations: 386.6 kB / 0.8515 GB, free: 9.32 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004243/0.5462, allocations: 213.8 kB / 0.8517 GB, free: 9.113 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004989/0.5467, allocations: 316.1 kB / 0.852 GB, free: 8.766 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009689/0.5477, allocations: 0.5525 MB / 0.8526 GB, free: 8.195 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.5477, allocations: 0 / 0.8526 GB, free: 8.195 MB / 0.67 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001296/0.549, allocations: 0.6635 MB / 0.8532 GB, free: 7.527 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.549, allocations: 11.91 kB / 0.8532 GB, free: 7.516 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.615e-06/0.549, allocations: 0 / 0.8532 GB, free: 7.516 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.245e-05/0.5491, allocations: 8 kB / 0.8532 GB, free: 7.508 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007162/0.5498, allocations: 159.7 kB / 0.8534 GB, free: 7.352 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.366e-05/0.5498, allocations: 4 kB / 0.8534 GB, free: 7.348 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005418/0.5504, allocations: 63.42 kB / 0.8535 GB, free: 7.285 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.465e-05/0.5504, allocations: 35.97 kB / 0.8535 GB, free: 7.25 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003883/0.5508, allocations: 236.6 kB / 0.8537 GB, free: 7.012 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003032/0.5511, allocations: 83 kB / 0.8538 GB, free: 6.93 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002217/0.5534, allocations: 1.041 MB / 0.8548 GB, free: 5.875 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.395e-05/0.5534, allocations: 12 kB / 0.8548 GB, free: 5.863 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.5534, allocations: 4 kB / 0.8548 GB, free: 5.859 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.501e-05/0.5534, allocations: 7.922 kB / 0.8548 GB, free: 5.852 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00125/0.5547, allocations: 0.9065 MB / 0.8557 GB, free: 4.895 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/0.5547, allocations: 7.938 kB / 0.8557 GB, free: 4.887 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008116/0.5555, allocations: 203.7 kB / 0.8559 GB, free: 4.688 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.002e-05/0.5555, allocations: 4 kB / 0.8559 GB, free: 4.684 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.421e-05/0.5556, allocations: 27.98 kB / 0.856 GB, free: 4.656 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.234e-06/0.5556, allocations: 4 kB / 0.856 GB, free: 4.652 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.5556, allocations: 4 kB / 0.856 GB, free: 4.648 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001655/0.5573, allocations: 1.17 MB / 0.8571 GB, free: 3.461 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003326/0.5576, allocations: 267.6 kB / 0.8574 GB, free: 3.18 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.596e-05/0.5577, allocations: 23.98 kB / 0.8574 GB, free: 3.156 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004744/0.5582, allocations: 24 kB / 0.8574 GB, free: 3.133 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001065/0.5583, allocations: 71.83 kB / 0.8575 GB, free: 3.062 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.949e-05/0.5584, allocations: 35.98 kB / 0.8575 GB, free: 3.027 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0004672/0.5589, allocations: 415.1 kB / 0.8579 GB, free: 2.629 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5589, allocations: 0 / 0.8579 GB, free: 2.629 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0007559/0.5596, allocations: 195.4 kB / 0.8581 GB, free: 2.438 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (120): * Single equations (assignments): 120 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002165/0.5618, allocations: 1.778 MB / 0.8598 GB, free: 0.6289 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0013/0.5631, allocations: 0.6417 MB / 0.8605 GB, free: 15.98 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.5631, allocations: 0 / 0.8605 GB, free: 15.98 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0006383/0.5638, allocations: 428.8 kB / 0.8609 GB, free: 15.57 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000663/0.5645, allocations: 78.94 kB / 0.8609 GB, free: 15.49 MB / 0.6856 GB Warning: Could not resolve URI (uri) at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009525/0.574, allocations: 5.809 MB / 0.8666 GB, free: 9.539 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008263/0.5749, allocations: 0.9974 MB / 0.8676 GB, free: 8.516 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0008138/0.5757, allocations: 142 kB / 0.8677 GB, free: 8.375 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007665/0.5765, allocations: 363.3 kB / 0.8681 GB, free: 8.02 MB / 0.6856 GB Notification: Performance of SimCode: time 1.232e-06/0.5765, allocations: 4 kB / 0.8681 GB, free: 8.016 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4842/1.061, allocations: 12.9 MB / 0.8807 GB, free: 11.16 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.315/10.38, allocations: 19.73 kB / 0.8807 GB, free: 11.14 MB / 0.7012 GB (rm -f Buildings_8_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.pipe ; mkfifo Buildings_8_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.pipe ; head -c 1048576 < Buildings_8_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.pipe >> ../files/Buildings_8_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_HeatTransfer_Windows_Examples_BeamDepthInRoom_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_HeatTransfer_Windows_Examples_BeamDepthInRoom.fmu > Buildings_8_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.pipe 2>&1)