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/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom") translateModel(Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.773/1.773, allocations: 292.3 MB / 308.1 MB, free: 4.328 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001407/0.001407, allocations: 185.5 kB / 376.9 MB, free: 1.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.537/1.537, allocations: 205.1 MB / 0.6354 GB, free: 9.801 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001076/0.001076, allocations: 100.2 kB / 0.748 GB, free: 61.01 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001449/0.001449, allocations: 55.92 kB / 0.8704 GB, free: 13.13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2597/0.2612, allocations: 114.5 MB / 0.9822 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom): time 0.005838/0.2671, allocations: 4.504 MB / 0.9866 GB, free: 5.883 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.004376/0.2715, allocations: 2.691 MB / 0.9892 GB, free: 3.176 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008069/0.2723, allocations: 23.88 kB / 0.9893 GB, free: 3.152 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.000341/0.2727, allocations: 67.27 kB / 0.9893 GB, free: 3.086 MB / 0.7136 GB [/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.001669/0.2744, allocations: 410 kB / 0.9897 GB, free: 2.684 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007575/0.2752, allocations: 375.7 kB / 0.9901 GB, free: 2.316 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.001387/0.2766, allocations: 1.174 MB / 0.9912 GB, free: 1.141 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007117/0.2773, allocations: 487.8 kB / 0.9917 GB, free: 0.6367 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 1.386/1.663, allocations: 42.36 MB / 1.033 GB, free: 93.46 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001196/1.665, allocations: 445.1 kB / 1.033 GB, free: 93.38 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0004602/1.665, allocations: 45.06 kB / 1.034 GB, free: 93.38 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008112/1.666, allocations: 83.14 kB / 1.034 GB, free: 93.38 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.000297/1.666, allocations: 164 kB / 1.034 GB, free: 93.35 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.001156/1.667, allocations: 453.7 kB / 1.034 GB, free: 93.2 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.002377/1.67, allocations: 1.242 MB / 1.035 GB, free: 93.04 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/1.67, allocations: 0 / 1.035 GB, free: 93.04 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.567e-06/1.67, allocations: 3.938 kB / 1.035 GB, free: 93.04 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.529e-05/1.67, allocations: 2.438 kB / 1.035 GB, free: 93.04 MB / 0.7448 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.004278/1.674, allocations: 1.232 MB / 1.037 GB, free: 92.34 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 6.646e-05/1.674, allocations: 9.719 kB / 1.037 GB, free: 92.34 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005119/1.675, allocations: 106.4 kB / 1.037 GB, free: 92.29 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001892/1.677, allocations: 0.6821 MB / 1.037 GB, free: 91.99 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.483e-05/1.677, allocations: 57.5 kB / 1.037 GB, free: 91.99 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002058/1.677, allocations: 74 kB / 1.038 GB, free: 91.99 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002215/1.679, allocations: 0.7592 MB / 1.038 GB, free: 91.89 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.461e-05/1.679, allocations: 4.719 kB / 1.038 GB, free: 91.89 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.426e-05/1.679, allocations: 28.38 kB / 1.038 GB, free: 91.89 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.693e-05/1.679, allocations: 18.03 kB / 1.038 GB, free: 91.89 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001795/1.681, allocations: 0.5674 MB / 1.039 GB, free: 91.89 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004602/1.686, allocations: 2.267 MB / 1.041 GB, free: 91.23 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003531/1.689, allocations: 0.9729 MB / 1.042 GB, free: 91.13 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006788/1.69, allocations: 328.4 kB / 1.042 GB, free: 91.1 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003799/1.69, allocations: 430.5 kB / 1.043 GB, free: 90.63 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.847e-05/1.69, allocations: 49.27 kB / 1.043 GB, free: 90.59 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=80): time 3.146e-06/1.691, allocations: 0 / 1.043 GB, free: 90.59 MB / 0.7448 GB Notification: Performance of matching and sorting (n=80): time 0.002455/1.693, allocations: 0.8611 MB / 1.044 GB, free: 90.51 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.337e-05/1.693, allocations: 138 kB / 1.044 GB, free: 90.35 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009418/1.694, allocations: 0.5719 MB / 1.044 GB, free: 90.22 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 6.275e-05/1.694, allocations: 41.64 kB / 1.044 GB, free: 90.19 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002421/1.694, allocations: 355.4 kB / 1.045 GB, free: 90.02 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001921/1.695, allocations: 261.9 kB / 1.045 GB, free: 89.86 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002399/1.695, allocations: 135.3 kB / 1.045 GB, free: 89.84 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001326/1.695, allocations: 385.2 kB / 1.045 GB, free: 89.52 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004987/1.695, allocations: 203.6 kB / 1.046 GB, free: 89.52 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005889/1.696, allocations: 322.3 kB / 1.046 GB, free: 89.42 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001065/1.697, allocations: 0.5472 MB / 1.046 GB, free: 89.34 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/1.697, allocations: 0.875 kB / 1.046 GB, free: 89.34 MB / 0.7448 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001469/1.699, allocations: 0.664 MB / 1.047 GB, free: 89.27 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/1.699, allocations: 10.28 kB / 1.047 GB, free: 89.26 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/1.699, allocations: 3.406 kB / 1.047 GB, free: 89.26 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.885e-05/1.699, allocations: 7.938 kB / 1.047 GB, free: 89.26 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007247/1.699, allocations: 156.4 kB / 1.047 GB, free: 89.26 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.129e-05/1.699, allocations: 5.922 kB / 1.047 GB, free: 89.26 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005504/1.7, allocations: 57.64 kB / 1.047 GB, free: 89.23 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.653e-05/1.7, allocations: 30.34 kB / 1.047 GB, free: 89.23 MB / 0.7448 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.0004345/1.7, allocations: 241.9 kB / 1.048 GB, free: 89.11 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002303/1.701, allocations: 76.14 kB / 1.048 GB, free: 89.07 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002372/1.703, allocations: 1.042 MB / 1.049 GB, free: 88.95 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.166e-05/1.703, allocations: 13.67 kB / 1.049 GB, free: 88.95 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.7e-05/1.703, allocations: 4 kB / 1.049 GB, free: 88.95 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-05/1.703, allocations: 12.69 kB / 1.049 GB, free: 88.95 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0016/1.705, allocations: 0.9245 MB / 1.05 GB, free: 88.71 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.165e-05/1.705, allocations: 0 / 1.05 GB, free: 88.71 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007942/1.706, allocations: 199.3 kB / 1.05 GB, free: 88.71 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.916e-05/1.706, allocations: 6.438 kB / 1.05 GB, free: 88.71 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.932e-05/1.706, allocations: 31.95 kB / 1.05 GB, free: 88.71 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.107e-06/1.706, allocations: 3.609 kB / 1.05 GB, free: 88.71 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/1.706, allocations: 4.906 kB / 1.05 GB, free: 88.71 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002497/1.708, allocations: 2.204 MB / 1.052 GB, free: 87.26 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004393/1.709, allocations: 273.3 kB / 1.052 GB, free: 87.05 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000136/1.709, allocations: 22.44 kB / 1.052 GB, free: 87.04 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005241/1.709, allocations: 27.81 kB / 1.052 GB, free: 87.02 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001432/1.71, allocations: 69.98 kB / 1.052 GB, free: 87.01 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.361e-05/1.71, allocations: 33.61 kB / 1.052 GB, free: 87 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0005138/1.71, allocations: 414 kB / 1.053 GB, free: 86.81 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.182e-06/1.71, allocations: 0 / 1.053 GB, free: 86.81 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0009713/1.711, allocations: 197.9 kB / 1.053 GB, free: 86.76 MB / 0.7448 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.0003844/1.712, allocations: 163 kB / 1.053 GB, free: 86.64 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001398/1.713, allocations: 0.6349 MB / 1.054 GB, free: 86.45 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/1.713, allocations: 0 / 1.054 GB, free: 86.45 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0007593/1.714, allocations: 432.1 kB / 1.054 GB, free: 86.33 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007344/1.714, allocations: 73.91 kB / 1.054 GB, free: 86.27 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003395/1.718, allocations: 2.524 MB / 1.057 GB, free: 84.59 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007135/1.719, allocations: 1.022 MB / 1.058 GB, free: 83.88 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0007468/1.719, allocations: 138.5 kB / 1.058 GB, free: 83.84 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003256/1.72, allocations: 100.4 kB / 1.058 GB, free: 83.82 MB / 0.7448 GB Notification: Performance of SimCode: time 1.092e-06/1.72, allocations: 0 / 1.058 GB, free: 83.82 MB / 0.7448 GB Notification: Performance of Templates: time 0.01625/1.736, allocations: 6.937 MB / 1.065 GB, free: 83.28 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.makefile (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 & ./Buildings_8_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.pipe 2>&1)