Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom") translateModel(Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.26/2.26, allocations: 251.3 MB / 266.2 MB, free: 11.53 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001383/0.001383, allocations: 173.4 kB / 325.8 MB, free: 2.785 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.539/2.539, allocations: 205.4 MB / 0.5767 GB, free: 20.77 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009261/0.000926, allocations: 83.2 kB / 0.6812 GB, free: 13.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007617/0.0007622, allocations: 8.625 kB / 0.7953 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2207/0.2215, allocations: 106.3 MB / 0.899 GB, free: 65.42 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom): time 0.008805/0.2304, allocations: 3.862 MB / 0.9028 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.008328/0.2388, allocations: 2.52 MB / 0.9053 GB, free: 59 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001061/0.2399, allocations: 19.94 kB / 0.9053 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002756/0.2402, allocations: 63.28 kB / 0.9053 GB, free: 58.92 MB / 0.6042 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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‘. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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‘. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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‘. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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‘. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.003295/0.2435, allocations: 394.9 kB / 0.9057 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001394/0.2449, allocations: 271.6 kB / 0.906 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.02289/0.2679, allocations: 7.121 MB / 0.9129 GB, free: 51.14 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001377/0.2693, allocations: 454.6 kB / 0.9134 GB, free: 50.68 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.09645/0.3658, allocations: 33.28 MB / 0.9459 GB, free: 17.37 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001044/0.3669, allocations: 350.1 kB / 0.9462 GB, free: 17.02 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0002296/0.3672, allocations: 20 kB / 0.9462 GB, free: 17 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003154/0.3675, allocations: 39.98 kB / 0.9462 GB, free: 16.96 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001774/0.3677, allocations: 135.2 kB / 0.9464 GB, free: 16.83 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0003052/0.368, allocations: 193.2 kB / 0.9466 GB, free: 16.64 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001737/0.3698, allocations: 0.9624 MB / 0.9475 GB, free: 15.67 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 8.165e-06/0.3698, allocations: 0 / 0.9475 GB, free: 15.67 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.226e-06/0.3699, allocations: 0 / 0.9475 GB, free: 15.67 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.987e-05/0.3699, allocations: 4 kB / 0.9475 GB, free: 15.67 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.005577/0.3755, allocations: 1.079 MB / 0.9486 GB, free: 14.54 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.251e-05/0.3756, allocations: 8.031 kB / 0.9486 GB, free: 14.53 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004591/0.3761, allocations: 107.6 kB / 0.9487 GB, free: 14.43 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002278/0.3784, allocations: 0.6693 MB / 0.9493 GB, free: 13.71 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007729/0.3792, allocations: 185.3 kB / 0.9495 GB, free: 13.51 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002561/0.3795, allocations: 75.94 kB / 0.9496 GB, free: 13.43 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004283/0.3838, allocations: 0.791 MB / 0.9503 GB, free: 12.62 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.551e-05/0.3839, allocations: 7.938 kB / 0.9504 GB, free: 12.61 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001545/0.3841, allocations: 32 kB / 0.9504 GB, free: 12.58 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.335e-05/0.3841, allocations: 16 kB / 0.9504 GB, free: 12.57 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005324/0.3895, allocations: 0.6354 MB / 0.951 GB, free: 11.93 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007712/0.3973, allocations: 2.295 MB / 0.9533 GB, free: 9.574 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01098/0.4083, allocations: 1.045 MB / 0.9543 GB, free: 8.496 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002488/0.4108, allocations: 371.2 kB / 0.9546 GB, free: 8.121 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001452/0.411, allocations: 31.95 kB / 0.9547 GB, free: 8.09 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.498e-05/0.4111, allocations: 38.56 kB / 0.9547 GB, free: 8.043 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=80): time 5.22e-06/0.4111, allocations: 0 / 0.9547 GB, free: 8.043 MB / 0.6042 GB Notification: Performance of matching and sorting (n=80): time 0.008432/0.4196, allocations: 0.9722 MB / 0.9557 GB, free: 7.07 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.253e-05/0.4197, allocations: 144.5 kB / 0.9558 GB, free: 6.898 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001405/0.4211, allocations: 0.5628 MB / 0.9563 GB, free: 6.324 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001647/0.4213, allocations: 41.7 kB / 0.9564 GB, free: 6.277 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002669/0.4216, allocations: 352.5 kB / 0.9567 GB, free: 5.926 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002359/0.4218, allocations: 268.1 kB / 0.957 GB, free: 5.66 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.817e-05/0.4219, allocations: 8 kB / 0.957 GB, free: 5.652 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.422, allocations: 386.7 kB / 0.9573 GB, free: 5.266 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00148/0.4235, allocations: 249.8 kB / 0.9576 GB, free: 5.02 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00159/0.4251, allocations: 360.1 kB / 0.9579 GB, free: 4.633 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001607/0.4268, allocations: 288.1 kB / 0.9582 GB, free: 4.355 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.893e-06/0.4268, allocations: 0 / 0.9582 GB, free: 4.355 MB / 0.6042 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.003513/0.4303, allocations: 0.7256 MB / 0.9589 GB, free: 3.625 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.542e-05/0.4304, allocations: 8 kB / 0.9589 GB, free: 3.617 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.4304, allocations: 0 / 0.9589 GB, free: 3.617 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.464e-05/0.4305, allocations: 8 kB / 0.9589 GB, free: 3.609 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001726/0.4322, allocations: 175.8 kB / 0.9591 GB, free: 3.438 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.638e-05/0.4322, allocations: 12 kB / 0.9591 GB, free: 3.426 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001238/0.4335, allocations: 83.19 kB / 0.9592 GB, free: 3.344 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001004/0.4336, allocations: 31.97 kB / 0.9592 GB, free: 3.312 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004944/0.4341, allocations: 233.7 kB / 0.9594 GB, free: 3.074 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002548/0.4344, allocations: 75.06 kB / 0.9595 GB, free: 3 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004666/0.4391, allocations: 1.115 MB / 0.9606 GB, free: 1.871 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.819e-05/0.4391, allocations: 12 kB / 0.9606 GB, free: 1.859 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/0.4391, allocations: 7.938 kB / 0.9606 GB, free: 1.852 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.715e-05/0.4392, allocations: 15.84 kB / 0.9606 GB, free: 1.836 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001665/0.4408, allocations: 0.9298 MB / 0.9615 GB, free: 0.8555 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.306e-06/0.4409, allocations: 0 / 0.9615 GB, free: 0.8555 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002063/0.443, allocations: 219.7 kB / 0.9618 GB, free: 0.6406 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.388e-05/0.443, allocations: 8 kB / 0.9618 GB, free: 0.6328 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.721e-05/0.4431, allocations: 27.98 kB / 0.9618 GB, free: 0.6055 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.013e-05/0.4431, allocations: 4 kB / 0.9618 GB, free: 0.6016 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.4431, allocations: 4 kB / 0.9618 GB, free: 0.5977 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004228/0.4474, allocations: 1.245 MB / 0.963 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006449/0.4481, allocations: 271.6 kB / 0.9633 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001768/0.4483, allocations: 20 kB / 0.9633 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001326/0.4496, allocations: 43.97 kB / 0.9633 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001938/0.4498, allocations: 71.84 kB / 0.9634 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001034/0.4499, allocations: 35.98 kB / 0.9634 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0008107/0.4508, allocations: 407.1 kB / 0.9638 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.12e-07/0.4508, allocations: 0 / 0.9638 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0012/0.452, allocations: 191.5 kB / 0.964 GB, free: 14.3 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005041/0.4525, allocations: 154.3 kB / 0.9642 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.003881/0.4564, allocations: 0.7051 MB / 0.9648 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 6.171e-06/0.4565, allocations: 8.188 kB / 0.9648 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.002052/0.4586, allocations: 468.4 kB / 0.9653 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001111/0.4597, allocations: 71 kB / 0.9654 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005796/0.4656, allocations: 1.925 MB / 0.9672 GB, free: 10.95 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007839/0.4664, allocations: 1.002 MB / 0.9682 GB, free: 9.918 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001136/0.4676, allocations: 142 kB / 0.9684 GB, free: 9.777 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004649/0.4681, allocations: 103.4 kB / 0.9685 GB, free: 9.676 MB / 0.6198 GB Notification: Performance of SimCode: time 1.122e-06/0.4681, allocations: 0 / 0.9685 GB, free: 9.676 MB / 0.6198 GB Notification: Performance of Templates: time 0.02316/0.4913, allocations: 6.427 MB / 0.9747 GB, free: 3.309 MB / 0.6198 GB make -j1 -f Buildings_7.0.0_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.makefile (rm -f Buildings_7.0.0_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.pipe ; mkfifo Buildings_7.0.0_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.pipe >> ../files/Buildings_7.0.0_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.sim & ./Buildings_7.0.0_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.pipe 2>&1)