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/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 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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: 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008197/0.0008197, allocations: 90.28 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005884/0.005884, allocations: 171.3 kB / 16.26 MB, free: 6.676 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.418/1.418, allocations: 205.4 MB / 222.5 MB, free: 5.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.522/1.522, allocations: 252 MB / 0.5105 GB, free: 4.707 MB / 414.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.0005196/0.0005196, allocations: 19.98 kB / 0.6249 GB, free: 0.7383 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4912/0.4917, allocations: 106.3 MB / 0.7287 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom): time 0.004344/0.4961, allocations: 4.085 MB / 0.7327 GB, free: 7.324 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004114/0.5003, allocations: 2.621 MB / 0.7353 GB, free: 4.688 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004558/0.5008, allocations: 23.88 kB / 0.7353 GB, free: 4.664 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001404/0.5009, allocations: 63.28 kB / 0.7353 GB, free: 4.602 MB / 0.545 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.001263/0.5022, allocations: 405.2 kB / 0.7357 GB, free: 4.207 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005833/0.5028, allocations: 399.6 kB / 0.7361 GB, free: 3.816 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.1149/0.6177, allocations: 7.636 MB / 0.7436 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001138/0.6188, allocations: 479.8 kB / 0.744 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.5595/1.178, allocations: 35.82 MB / 0.779 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007562/1.179, allocations: 377.8 kB / 0.7794 GB, free: 9.672 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002629/1.179, allocations: 20 kB / 0.7794 GB, free: 9.652 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005061/1.18, allocations: 35.98 kB / 0.7794 GB, free: 9.617 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001696/1.18, allocations: 135.2 kB / 0.7795 GB, free: 9.484 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005397/1.181, allocations: 427.1 kB / 0.78 GB, free: 9.059 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001307/1.182, allocations: 1.179 MB / 0.7811 GB, free: 7.875 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/1.182, allocations: 0 / 0.7811 GB, free: 7.875 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.993e-06/1.182, allocations: 0 / 0.7811 GB, free: 7.875 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.389e-05/1.182, allocations: 0 / 0.7811 GB, free: 7.875 MB / 0.5919 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.002648/1.185, allocations: 1.071 MB / 0.7822 GB, free: 6.754 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/1.185, allocations: 8.031 kB / 0.7822 GB, free: 6.746 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002429/1.185, allocations: 107.7 kB / 0.7823 GB, free: 6.641 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001164/1.186, allocations: 0.696 MB / 0.7829 GB, free: 5.902 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003356/1.187, allocations: 189.3 kB / 0.7831 GB, free: 5.695 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001363/1.187, allocations: 75.94 kB / 0.7832 GB, free: 5.621 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001887/1.189, allocations: 0.7988 MB / 0.784 GB, free: 4.801 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.78e-05/1.189, allocations: 3.938 kB / 0.784 GB, free: 4.797 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.779e-05/1.189, allocations: 28 kB / 0.784 GB, free: 4.77 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.807e-05/1.189, allocations: 24 kB / 0.784 GB, free: 4.746 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001904/1.191, allocations: 0.6431 MB / 0.7847 GB, free: 4.102 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003601/1.194, allocations: 2.28 MB / 0.7869 GB, free: 1.762 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004045/1.198, allocations: 1.054 MB / 0.7879 GB, free: 0.6719 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009609/1.199, allocations: 374.4 kB / 0.7883 GB, free: 304 kB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 6.688e-05/1.199, allocations: 19.97 kB / 0.7883 GB, free: 284 kB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.443e-05/1.199, allocations: 46.5 kB / 0.7883 GB, free: 228 kB / 0.5919 GB Notification: Performance of pre-optimization done (n=80): time 3.146e-06/1.199, allocations: 3.938 kB / 0.7883 GB, free: 224 kB / 0.5919 GB Notification: Performance of matching and sorting (n=80): time 0.003268/1.203, allocations: 0.9733 MB / 0.7893 GB, free: 15.24 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.82e-05/1.203, allocations: 144.5 kB / 0.7894 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007706/1.204, allocations: 0.5744 MB / 0.79 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.84e-05/1.204, allocations: 41.7 kB / 0.79 GB, free: 14.44 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002631/1.204, allocations: 352.6 kB / 0.7904 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002665/1.204, allocations: 268.1 kB / 0.7906 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.449e-05/1.204, allocations: 57.69 kB / 0.7907 GB, free: 13.76 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001501/1.204, allocations: 386.7 kB / 0.791 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008042/1.205, allocations: 245.9 kB / 0.7913 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009181/1.206, allocations: 356.1 kB / 0.7916 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001736/1.208, allocations: 0.6173 MB / 0.7922 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/1.208, allocations: 0 / 0.7922 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001987/1.21, allocations: 0.7481 MB / 0.793 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/1.21, allocations: 4 kB / 0.793 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/1.21, allocations: 7.984 kB / 0.793 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.038e-05/1.21, allocations: 4 kB / 0.793 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008769/1.211, allocations: 171.8 kB / 0.7931 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.734e-05/1.211, allocations: 4 kB / 0.7931 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006952/1.212, allocations: 83.31 kB / 0.7932 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.31e-05/1.212, allocations: 31.97 kB / 0.7932 GB, free: 11.06 MB / 0.6075 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.0004323/1.212, allocations: 237.7 kB / 0.7935 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002407/1.212, allocations: 75.06 kB / 0.7935 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002932/1.215, allocations: 1.113 MB / 0.7946 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.021e-05/1.215, allocations: 12 kB / 0.7946 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.385e-05/1.215, allocations: 7.984 kB / 0.7946 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.503e-05/1.215, allocations: 11.92 kB / 0.7947 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001366/1.217, allocations: 0.9298 MB / 0.7956 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-05/1.217, allocations: 4 kB / 0.7956 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009925/1.218, allocations: 219.6 kB / 0.7958 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-05/1.218, allocations: 4 kB / 0.7958 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.95e-05/1.218, allocations: 35.91 kB / 0.7958 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.504e-06/1.218, allocations: 12 kB / 0.7958 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/1.218, allocations: 3.938 kB / 0.7958 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002303/1.22, allocations: 1.241 MB / 0.797 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003747/1.221, allocations: 271.6 kB / 0.7973 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001123/1.221, allocations: 20 kB / 0.7973 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006856/1.221, allocations: 39.97 kB / 0.7974 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/1.222, allocations: 75.78 kB / 0.7974 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.728e-05/1.222, allocations: 39.97 kB / 0.7975 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005073/1.222, allocations: 411.1 kB / 0.7979 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/1.222, allocations: 4 kB / 0.7979 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0007863/1.223, allocations: 191.4 kB / 0.7981 GB, free: 6.031 MB / 0.6075 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.0003948/1.223, allocations: 146.9 kB / 0.7982 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002062/1.225, allocations: 0.7196 MB / 0.7989 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/1.225, allocations: 0 / 0.7989 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001011/1.226, allocations: 468.9 kB / 0.7993 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007811/1.227, allocations: 82.92 kB / 0.7994 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003609/1.231, allocations: 1.993 MB / 0.8014 GB, free: 2.59 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006322/1.231, allocations: 0.9938 MB / 0.8023 GB, free: 1.57 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0006276/1.232, allocations: 142 kB / 0.8025 GB, free: 1.43 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002852/1.232, allocations: 107.4 kB / 0.8026 GB, free: 1.324 MB / 0.6075 GB Notification: Performance of SimCode: time 8.52e-07/1.232, allocations: 0 / 0.8026 GB, free: 1.324 MB / 0.6075 GB Notification: Performance of Templates: time 0.01466/1.247, allocations: 6.591 MB / 0.809 GB, free: 10.76 MB / 0.6231 GB make -j1 -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: