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.001501/0.001501, allocations: 109.4 kB / 15.69 MB, free: 128 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.00187/0.00187, allocations: 187.9 kB / 16.62 MB, free: 6.613 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.525/1.525, allocations: 205.1 MB / 222.5 MB, free: 4.566 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.913/1.913, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.001706/0.001706, allocations: 65.88 kB / 0.6718 GB, free: 26.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2556/0.2573, 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.006177/0.2636, allocations: 4.51 MB / 0.788 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005654/0.2693, allocations: 2.715 MB / 0.7907 GB, free: 6 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001121/0.2705, allocations: 19.94 kB / 0.7907 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000442/0.271, allocations: 114.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.002099/0.2731, allocations: 492.5 kB / 0.7913 GB, free: 5.387 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001048/0.2742, allocations: 415.5 kB / 0.7917 GB, free: 4.98 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001911/0.2761, allocations: 1.26 MB / 0.7929 GB, free: 3.715 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008128/0.2769, allocations: 0.4959 MB / 0.7934 GB, free: 3.199 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.2714/0.5483, allocations: 46.29 MB / 0.8386 GB, free: 6.953 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009729/0.5493, allocations: 485.7 kB / 0.8391 GB, free: 6.477 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002197/0.5496, allocations: 116 kB / 0.8392 GB, free: 6.363 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004015/0.55, allocations: 156 kB / 0.8393 GB, free: 6.211 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0002146/0.5502, allocations: 243.2 kB / 0.8396 GB, free: 5.973 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0005949/0.5508, allocations: 0.5053 MB / 0.84 GB, free: 5.465 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001526/0.5523, allocations: 1.347 MB / 0.8414 GB, free: 4.113 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.5524, allocations: 0 / 0.8414 GB, free: 4.113 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.014e-06/0.5524, allocations: 0 / 0.8414 GB, free: 4.113 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.421e-05/0.5524, allocations: 0 / 0.8414 GB, free: 4.113 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.003301/0.5557, allocations: 1.235 MB / 0.8426 GB, free: 2.828 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.67e-05/0.5558, allocations: 8.031 kB / 0.8426 GB, free: 2.82 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001535/0.5559, allocations: 118.8 kB / 0.8427 GB, free: 2.695 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001981/0.5561, allocations: 107.6 kB / 0.8428 GB, free: 2.59 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003338/0.5595, allocations: 0.7117 MB / 0.8435 GB, free: 1.836 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.283e-05/0.5595, allocations: 54.38 kB / 0.8435 GB, free: 1.785 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.635e-05/0.5596, allocations: 87.88 kB / 0.8436 GB, free: 1.699 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001228/0.5609, allocations: 0.7481 MB / 0.8444 GB, free: 0.9297 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.669e-05/0.5609, allocations: 3.938 kB / 0.8444 GB, free: 0.9258 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.971e-05/0.561, allocations: 35.94 kB / 0.8444 GB, free: 0.8906 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.78e-05/0.561, allocations: 19.98 kB / 0.8444 GB, free: 0.8711 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001083/0.5621, allocations: 0.5729 MB / 0.845 GB, free: 304 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003095/0.5652, allocations: 2.233 MB / 0.8472 GB, free: 14 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003781/0.569, allocations: 0.9707 MB / 0.8481 GB, free: 13 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005743/0.5696, allocations: 335.2 kB / 0.8484 GB, free: 12.66 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003961/0.57, allocations: 429.5 kB / 0.8488 GB, free: 12.15 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.706e-05/0.57, allocations: 46.5 kB / 0.8489 GB, free: 12.09 MB / 0.67 GB Notification: Performance of pre-optimization done (n=80): time 2.375e-06/0.57, allocations: 4 kB / 0.8489 GB, free: 12.09 MB / 0.67 GB Notification: Performance of matching and sorting (n=80): time 0.00185/0.5719, allocations: 0.8616 MB / 0.8497 GB, free: 11.23 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.309e-05/0.572, allocations: 136.5 kB / 0.8498 GB, free: 11.06 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006338/0.5726, allocations: 0.5706 MB / 0.8504 GB, free: 10.48 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 5.222e-05/0.5727, allocations: 37.7 kB / 0.8504 GB, free: 10.44 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.000224/0.5729, allocations: 356.5 kB / 0.8508 GB, free: 10.09 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001761/0.5731, allocations: 264.1 kB / 0.851 GB, free: 9.824 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001906/0.5733, allocations: 134.5 kB / 0.8512 GB, free: 9.684 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001345/0.5734, allocations: 382.7 kB / 0.8515 GB, free: 9.301 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004196/0.5739, allocations: 205.9 kB / 0.8517 GB, free: 9.102 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005144/0.5744, allocations: 324.1 kB / 0.852 GB, free: 8.746 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009695/0.5754, allocations: 0.5459 MB / 0.8526 GB, free: 8.184 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.5754, allocations: 4 kB / 0.8526 GB, free: 8.18 MB / 0.67 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001232/0.5766, allocations: 0.6587 MB / 0.8532 GB, free: 7.516 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.5766, allocations: 8 kB / 0.8532 GB, free: 7.508 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.5767, allocations: 0 / 0.8532 GB, free: 7.508 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.5767, allocations: 4 kB / 0.8532 GB, free: 7.504 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007011/0.5774, allocations: 163.9 kB / 0.8534 GB, free: 7.344 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.289e-05/0.5774, allocations: 11.94 kB / 0.8534 GB, free: 7.332 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004324/0.5778, allocations: 59.3 kB / 0.8534 GB, free: 7.273 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-05/0.5779, allocations: 35.97 kB / 0.8535 GB, free: 7.238 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.000305/0.5782, allocations: 229.7 kB / 0.8537 GB, free: 7.004 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001945/0.5784, allocations: 78.97 kB / 0.8538 GB, free: 6.926 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002037/0.5805, allocations: 1.053 MB / 0.8548 GB, free: 5.859 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.407e-05/0.5805, allocations: 12 kB / 0.8548 GB, free: 5.848 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.635e-06/0.5805, allocations: 0 / 0.8548 GB, free: 5.848 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.584e-05/0.5805, allocations: 11.92 kB / 0.8548 GB, free: 5.836 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001251/0.5818, allocations: 0.9104 MB / 0.8557 GB, free: 4.875 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/0.5818, allocations: 0 / 0.8557 GB, free: 4.875 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008464/0.5827, allocations: 203.7 kB / 0.8559 GB, free: 4.676 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.11e-05/0.5827, allocations: 8 kB / 0.8559 GB, free: 4.668 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.87e-05/0.5827, allocations: 31.98 kB / 0.8559 GB, free: 4.637 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.043e-06/0.5828, allocations: 4 kB / 0.856 GB, free: 4.633 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.5828, allocations: 0 / 0.856 GB, free: 4.633 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001582/0.5844, allocations: 1.174 MB / 0.8571 GB, free: 3.441 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003255/0.5847, allocations: 263.6 kB / 0.8574 GB, free: 3.164 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001097/0.5848, allocations: 23.98 kB / 0.8574 GB, free: 3.141 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005066/0.5853, allocations: 20 kB / 0.8574 GB, free: 3.121 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.906e-05/0.5854, allocations: 75.83 kB / 0.8575 GB, free: 3.047 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.407e-05/0.5855, allocations: 35.98 kB / 0.8575 GB, free: 3.012 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0005663/0.5861, allocations: 411.1 kB / 0.8579 GB, free: 2.617 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.5e-07/0.5861, allocations: 0 / 0.8579 GB, free: 2.617 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001176/0.5873, allocations: 199.4 kB / 0.8581 GB, free: 2.422 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.002069/0.5893, allocations: 1.782 MB / 0.8598 GB, free: 0.6094 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001286/0.5907, allocations: 0.6381 MB / 0.8604 GB, free: 15.97 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.5907, allocations: 0 / 0.8604 GB, free: 15.97 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0006831/0.5914, allocations: 429 kB / 0.8609 GB, free: 15.55 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007977/0.5922, allocations: 70.94 kB / 0.8609 GB, free: 15.48 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.008768/0.601, allocations: 5.816 MB / 0.8666 GB, free: 9.523 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006335/0.6016, allocations: 0.9974 MB / 0.8676 GB, free: 8.5 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0005182/0.6022, allocations: 142 kB / 0.8677 GB, free: 8.359 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005404/0.6027, allocations: 367.2 kB / 0.8681 GB, free: 8 MB / 0.6856 GB Notification: Performance of SimCode: time 9.41e-07/0.6027, allocations: 0 / 0.8681 GB, free: 8 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7098/1.312, allocations: 12.91 MB / 0.8807 GB, free: 11.13 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.49/10.8, allocations: 6.766 kB / 0.8807 GB, free: 11.13 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_HeatTransfer_Windows_Examples_BeamDepthInRoom.fmu > Buildings_8_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.pipe 2>&1)