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: 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001147/0.001147, allocations: 103.2 kB / 16.29 MB, free: 6.43 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.001125/0.001125, allocations: 184.1 kB / 17.22 MB, free: 5.934 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.4/1.4, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.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.782/1.782, allocations: 292.3 MB / 0.5495 GB, free: 17.57 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.00143/0.00143, allocations: 67.91 kB / 0.6722 GB, free: 6.523 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2397/0.2412, allocations: 114.6 MB / 0.7841 GB, free: 3.859 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom): time 0.3797/0.6209, allocations: 4.507 MB / 0.7885 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.003825/0.6247, allocations: 2.717 MB / 0.7911 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003003/0.625, allocations: 27.62 kB / 0.7911 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001925/0.6252, allocations: 103.9 kB / 0.7912 GB, free: 45.75 MB / 0.6544 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.001148/0.6264, allocations: 494.8 kB / 0.7917 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004253/0.6269, allocations: 415.6 kB / 0.7921 GB, free: 45.72 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0007227/0.6276, allocations: 1.26 MB / 0.7933 GB, free: 45.65 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004982/0.6281, allocations: 0.4924 MB / 0.7938 GB, free: 45.6 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.2677/0.8958, allocations: 45.94 MB / 0.8387 GB, free: 23.91 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001148/0.897, allocations: 483.7 kB / 0.8391 GB, free: 23.65 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002361/0.8972, allocations: 115.8 kB / 0.8393 GB, free: 23.65 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004942/0.8977, allocations: 157.9 kB / 0.8394 GB, free: 23.64 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0002551/0.898, allocations: 241.9 kB / 0.8396 GB, free: 23.46 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0007891/0.8988, allocations: 0.5075 MB / 0.8401 GB, free: 23.11 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002603/0.9014, allocations: 1.339 MB / 0.8414 GB, free: 22.5 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 9.528e-06/0.9014, allocations: 1.375 kB / 0.8414 GB, free: 22.5 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.715e-06/0.9014, allocations: 0 / 0.8414 GB, free: 22.5 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 3.763e-05/0.9015, allocations: 0 / 0.8414 GB, free: 22.5 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.002955/0.9044, allocations: 1.238 MB / 0.8427 GB, free: 21.62 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 7.571e-05/0.9045, allocations: 9.625 kB / 0.8427 GB, free: 21.62 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002006/0.9047, allocations: 107 kB / 0.8428 GB, free: 21.57 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009574/0.9057, allocations: 0.6862 MB / 0.8434 GB, free: 21.09 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.451e-05/0.9057, allocations: 56.19 kB / 0.8435 GB, free: 21.07 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.285e-05/0.9058, allocations: 77.66 kB / 0.8436 GB, free: 21.04 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001532/0.9074, allocations: 0.7547 MB / 0.8443 GB, free: 20.71 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.722e-05/0.9074, allocations: 0 / 0.8443 GB, free: 20.71 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.817e-05/0.9075, allocations: 34.62 kB / 0.8443 GB, free: 20.68 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.621e-05/0.9075, allocations: 18.75 kB / 0.8443 GB, free: 20.68 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001259/0.9088, allocations: 0.5683 MB / 0.8449 GB, free: 20.47 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004144/0.913, allocations: 2.217 MB / 0.8471 GB, free: 19.16 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003322/0.9163, allocations: 0.9774 MB / 0.848 GB, free: 18.75 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005669/0.9169, allocations: 336 kB / 0.8483 GB, free: 18.59 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003552/0.9172, allocations: 429.7 kB / 0.8488 GB, free: 18.11 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.746e-05/0.9173, allocations: 52.41 kB / 0.8488 GB, free: 18.06 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=80): time 2.705e-06/0.9173, allocations: 0 / 0.8488 GB, free: 18.06 MB / 0.6544 GB Notification: Performance of matching and sorting (n=80): time 0.002425/0.9197, allocations: 0.8623 MB / 0.8496 GB, free: 17.7 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.26e-05/0.9198, allocations: 137.6 kB / 0.8498 GB, free: 17.55 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006703/0.9205, allocations: 0.5702 MB / 0.8503 GB, free: 17.29 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.992e-05/0.9205, allocations: 41.8 kB / 0.8504 GB, free: 17.24 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002267/0.9207, allocations: 353.8 kB / 0.8507 GB, free: 16.96 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001606/0.9209, allocations: 269.3 kB / 0.851 GB, free: 16.75 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002031/0.9211, allocations: 136.2 kB / 0.8511 GB, free: 16.68 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001049/0.9212, allocations: 381.1 kB / 0.8515 GB, free: 16.34 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004219/0.9217, allocations: 203.5 kB / 0.8517 GB, free: 16.26 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004911/0.9222, allocations: 322.9 kB / 0.852 GB, free: 16.06 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009506/0.9231, allocations: 0.5484 MB / 0.8525 GB, free: 15.77 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.9231, allocations: 0 / 0.8525 GB, free: 15.77 MB / 0.6544 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001195/0.9243, allocations: 0.6646 MB / 0.8531 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.9244, allocations: 6.281 kB / 0.8532 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.9244, allocations: 2.344 kB / 0.8532 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/0.9244, allocations: 13.81 kB / 0.8532 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007026/0.9251, allocations: 155.8 kB / 0.8533 GB, free: 15.46 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.201e-05/0.9251, allocations: 4.312 kB / 0.8533 GB, free: 15.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004553/0.9256, allocations: 59.94 kB / 0.8534 GB, free: 15.42 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.327e-05/0.9257, allocations: 38.28 kB / 0.8534 GB, free: 15.41 MB / 0.6544 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.0002654/0.9259, allocations: 235.7 kB / 0.8536 GB, free: 15.21 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001635/0.9261, allocations: 76.73 kB / 0.8537 GB, free: 15.17 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002003/0.9281, allocations: 1.04 MB / 0.8547 GB, free: 14.74 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.325e-05/0.9281, allocations: 11.72 kB / 0.8547 GB, free: 14.74 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/0.9282, allocations: 2.984 kB / 0.8547 GB, free: 14.74 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.663e-05/0.9282, allocations: 6.688 kB / 0.8548 GB, free: 14.74 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001205/0.9294, allocations: 0.915 MB / 0.8556 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5e-06/0.9294, allocations: 1.094 kB / 0.8556 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008136/0.9302, allocations: 206.2 kB / 0.8558 GB, free: 14.19 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.305e-06/0.9302, allocations: 8.641 kB / 0.8559 GB, free: 14.19 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.591e-05/0.9303, allocations: 29.27 kB / 0.8559 GB, free: 14.17 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.494e-06/0.9303, allocations: 4.438 kB / 0.8559 GB, free: 14.17 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.9303, allocations: 1.094 kB / 0.8559 GB, free: 14.17 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003832/0.9342, allocations: 1.17 MB / 0.857 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003411/0.9345, allocations: 272.6 kB / 0.8573 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.701e-05/0.9346, allocations: 18.5 kB / 0.8573 GB, free: 13.26 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004776/0.9351, allocations: 22.98 kB / 0.8573 GB, free: 13.25 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001204/0.9352, allocations: 72.61 kB / 0.8574 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.035e-05/0.9353, allocations: 39.62 kB / 0.8574 GB, free: 13.22 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004968/0.9358, allocations: 413.6 kB / 0.8578 GB, free: 13.04 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.5e-07/0.9358, allocations: 4 kB / 0.8578 GB, free: 13.03 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007505/0.9366, allocations: 190.8 kB / 0.858 GB, free: 12.98 MB / 0.6544 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.0003111/0.9369, allocations: 166.9 kB / 0.8582 GB, free: 12.84 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001228/0.9381, allocations: 0.6339 MB / 0.8588 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.9381, allocations: 1.594 kB / 0.8588 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0006502/0.9388, allocations: 439.8 kB / 0.8592 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006621/0.9395, allocations: 80.72 kB / 0.8593 GB, free: 12.42 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002331/0.9418, allocations: 1.514 MB / 0.8608 GB, free: 11.59 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005083/0.9423, allocations: 0.9999 MB / 0.8617 GB, free: 10.88 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0007032/0.943, allocations: 142.9 kB / 0.8619 GB, free: 10.83 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002581/0.9433, allocations: 102.5 kB / 0.862 GB, free: 10.81 MB / 0.6544 GB Notification: Performance of SimCode: time 8.62e-07/0.9433, allocations: 0 / 0.862 GB, free: 10.81 MB / 0.6544 GB Notification: Performance of Templates: time 0.01258/0.9559, allocations: 6.953 MB / 0.8688 GB, free: 6.754 MB / 0.6544 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.pipe 2>&1)