Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.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: translateModel(Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom") translateModel(Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.371/1.371, allocations: 252 MB / 268 MB, free: 10.85 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.0009621/0.0009622, allocations: 177.8 kB / 327.6 MB, free: 2.078 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.798/1.798, allocations: 205.4 MB / 0.5786 GB, free: 20.16 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.0007957/0.0007956, allocations: 97.98 kB / 0.6832 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003497/0.0003499, allocations: 9.875 kB / 0.7976 GB, free: 134.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2193/0.2197, allocations: 106.3 MB / 0.9014 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom): time 0.003729/0.2235, allocations: 4.081 MB / 0.9054 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.004185/0.2277, allocations: 2.617 MB / 0.908 GB, free: 56.62 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005065/0.2282, allocations: 27.88 kB / 0.908 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.000124/0.2284, allocations: 63.28 kB / 0.9081 GB, free: 56.53 MB / 0.6042 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‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.001267/0.2296, allocations: 404.9 kB / 0.9085 GB, free: 56.13 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005266/0.2302, allocations: 395.6 kB / 0.9088 GB, free: 55.75 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.1771/0.4073, allocations: 7.654 MB / 0.9163 GB, free: 49.1 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001221/0.4085, allocations: 479.7 kB / 0.9168 GB, free: 48.61 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.7622/1.171, allocations: 35.81 MB / 0.9517 GB, free: 12.57 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005507/1.171, allocations: 361.9 kB / 0.9521 GB, free: 12.21 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.00011/1.171, allocations: 24 kB / 0.9521 GB, free: 12.19 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001608/1.172, allocations: 35.98 kB / 0.9521 GB, free: 12.15 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.384e-05/1.172, allocations: 135.1 kB / 0.9523 GB, free: 12.02 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0003266/1.172, allocations: 431.1 kB / 0.9527 GB, free: 11.59 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0007108/1.173, allocations: 0.9663 MB / 0.9536 GB, free: 10.62 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/1.173, allocations: 0 / 0.9536 GB, free: 10.62 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.074e-06/1.173, allocations: 3.938 kB / 0.9536 GB, free: 10.62 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.517e-05/1.173, allocations: 0 / 0.9536 GB, free: 10.62 MB / 0.6042 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.002126/1.175, allocations: 1.075 MB / 0.9547 GB, free: 9.492 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/1.175, allocations: 8.031 kB / 0.9547 GB, free: 9.484 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001488/1.175, allocations: 103.7 kB / 0.9548 GB, free: 9.383 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007982/1.176, allocations: 0.696 MB / 0.9555 GB, free: 8.645 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002812/1.176, allocations: 189.3 kB / 0.9556 GB, free: 8.438 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.986e-05/1.176, allocations: 75.94 kB / 0.9557 GB, free: 8.363 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001428/1.178, allocations: 0.795 MB / 0.9565 GB, free: 7.547 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.835e-05/1.178, allocations: 0 / 0.9565 GB, free: 7.547 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.687e-05/1.178, allocations: 28 kB / 0.9565 GB, free: 7.52 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.256e-05/1.178, allocations: 23.94 kB / 0.9565 GB, free: 7.496 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001683/1.18, allocations: 0.6509 MB / 0.9572 GB, free: 6.844 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002882/1.182, allocations: 2.28 MB / 0.9594 GB, free: 4.504 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003652/1.186, allocations: 1.05 MB / 0.9604 GB, free: 3.422 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008437/1.187, allocations: 379.2 kB / 0.9608 GB, free: 3.039 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 6.486e-05/1.187, allocations: 27.89 kB / 0.9608 GB, free: 3.012 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.06e-05/1.187, allocations: 42.56 kB / 0.9609 GB, free: 2.961 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=80): time 2.696e-06/1.187, allocations: 0 / 0.9609 GB, free: 2.961 MB / 0.6042 GB Notification: Performance of matching and sorting (n=80): time 0.002574/1.19, allocations: 0.9785 MB / 0.9618 GB, free: 1.98 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.051e-05/1.19, allocations: 136.5 kB / 0.9619 GB, free: 1.816 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005262/1.19, allocations: 0.5744 MB / 0.9625 GB, free: 1.23 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.106e-05/1.19, allocations: 37.7 kB / 0.9625 GB, free: 1.188 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000171/1.191, allocations: 352.6 kB / 0.9629 GB, free: 0.8359 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001482/1.191, allocations: 268.1 kB / 0.9631 GB, free: 0.5703 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.35e-05/1.191, allocations: 16 kB / 0.9632 GB, free: 0.5547 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.646e-05/1.191, allocations: 386.7 kB / 0.9635 GB, free: 172 kB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007487/1.192, allocations: 245.9 kB / 0.9638 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008385/1.192, allocations: 360.1 kB / 0.9641 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001672/1.194, allocations: 0.615 MB / 0.9647 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/1.194, allocations: 0 / 0.9647 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.002021/1.196, allocations: 0.7444 MB / 0.9654 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/1.196, allocations: 4 kB / 0.9654 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.699e-06/1.196, allocations: 8.125 kB / 0.9654 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.088e-05/1.196, allocations: 4 kB / 0.9654 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000914/1.197, allocations: 179.7 kB / 0.9656 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.245e-05/1.197, allocations: 7.938 kB / 0.9656 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006377/1.198, allocations: 79.3 kB / 0.9657 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.617e-05/1.198, allocations: 31.97 kB / 0.9657 GB, free: 13.85 MB / 0.6198 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.0003161/1.198, allocations: 237.7 kB / 0.966 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001507/1.198, allocations: 75.06 kB / 0.966 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002703/1.201, allocations: 1.112 MB / 0.9671 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.147e-05/1.201, allocations: 19.94 kB / 0.9671 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/1.201, allocations: 0 / 0.9671 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.224e-05/1.201, allocations: 7.922 kB / 0.9671 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001137/1.202, allocations: 0.9298 MB / 0.968 GB, free: 11.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.68e-06/1.202, allocations: 4 kB / 0.968 GB, free: 11.4 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001044/1.203, allocations: 219.7 kB / 0.9683 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.236e-06/1.203, allocations: 4 kB / 0.9683 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.622e-05/1.203, allocations: 27.98 kB / 0.9683 GB, free: 11.15 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.515e-06/1.203, allocations: 8 kB / 0.9683 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/1.203, allocations: 0 / 0.9683 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002881/1.206, allocations: 1.253 MB / 0.9695 GB, free: 9.875 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005078/1.207, allocations: 267.6 kB / 0.9698 GB, free: 9.594 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.565e-05/1.207, allocations: 19.98 kB / 0.9698 GB, free: 9.574 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006615/1.208, allocations: 39.98 kB / 0.9698 GB, free: 9.535 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001064/1.208, allocations: 71.83 kB / 0.9699 GB, free: 9.465 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.085e-05/1.208, allocations: 39.98 kB / 0.9699 GB, free: 9.426 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0005061/1.208, allocations: 411.1 kB / 0.9703 GB, free: 9.031 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.21e-07/1.208, allocations: 0 / 0.9703 GB, free: 9.031 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0006973/1.209, allocations: 195.4 kB / 0.9705 GB, free: 8.84 MB / 0.6198 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.0003447/1.209, allocations: 166.8 kB / 0.9707 GB, free: 8.664 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002047/1.211, allocations: 0.7213 MB / 0.9714 GB, free: 7.945 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/1.211, allocations: 3.938 kB / 0.9714 GB, free: 7.941 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001024/1.212, allocations: 472.4 kB / 0.9718 GB, free: 7.477 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007002/1.213, allocations: 78.94 kB / 0.9719 GB, free: 7.398 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003042/1.216, allocations: 2.022 MB / 0.9739 GB, free: 5.332 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004847/1.217, allocations: 0.9938 MB / 0.9749 GB, free: 4.312 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000317/1.217, allocations: 115.4 kB / 0.975 GB, free: 4.199 MB / 0.6198 GB Notification: Performance of SimCode: time 7.62e-07/1.217, allocations: 0 / 0.975 GB, free: 4.199 MB / 0.6198 GB Notification: Performance of Templates: time 0.0139/1.231, allocations: 10.07 MB / 0.9848 GB, free: 10.13 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.makefile (rm -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.pipe >> ../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.sim & ./Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.pipe 2>&1)