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.0008319/0.0008321, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005474/0.005474, allocations: 168.9 kB / 16.26 MB, free: 6.656 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.496/1.496, allocations: 205.4 MB / 222.4 MB, free: 5.57 MB / 174.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.684/1.684, allocations: 292.7 MB / 0.5502 GB, free: 14.47 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.0005328/0.0005328, allocations: 26.05 kB / 0.6743 GB, free: 25.73 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2223/0.2229, allocations: 116.3 MB / 0.7879 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom): time 0.004906/0.2278, allocations: 4.089 MB / 0.7919 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004719/0.2326, allocations: 2.656 MB / 0.7945 GB, free: 4.801 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009241/0.2335, allocations: 19.94 kB / 0.7945 GB, free: 4.781 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003866/0.2339, allocations: 71.22 kB / 0.7945 GB, free: 4.711 MB / 0.6075 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.00199/0.236, allocations: 405.2 kB / 0.7949 GB, free: 4.316 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008157/0.2368, allocations: 379.6 kB / 0.7953 GB, free: 3.945 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001375/0.2382, allocations: 1.151 MB / 0.7964 GB, free: 2.789 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007003/0.2389, allocations: 471.8 kB / 0.7969 GB, free: 2.305 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.668/0.9069, allocations: 42.3 MB / 0.8382 GB, free: 10.14 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007179/0.9077, allocations: 373.8 kB / 0.8385 GB, free: 9.77 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001155/0.9078, allocations: 24 kB / 0.8385 GB, free: 9.746 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000264/0.9081, allocations: 63.97 kB / 0.8386 GB, free: 9.684 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.000123/0.9082, allocations: 123.2 kB / 0.8387 GB, free: 9.562 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0004729/0.9087, allocations: 423.1 kB / 0.8391 GB, free: 9.141 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001175/0.9099, allocations: 1.199 MB / 0.8403 GB, free: 7.938 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.9099, allocations: 0 / 0.8403 GB, free: 7.938 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.944e-06/0.9099, allocations: 0 / 0.8403 GB, free: 7.938 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.698e-05/0.9099, allocations: 0 / 0.8403 GB, free: 7.938 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.001825/0.9117, allocations: 1.04 MB / 0.8413 GB, free: 6.848 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.9118, allocations: 15.97 kB / 0.8413 GB, free: 6.832 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001851/0.912, allocations: 103.6 kB / 0.8414 GB, free: 6.73 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009854/0.913, allocations: 0.696 MB / 0.8421 GB, free: 5.988 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.96e-05/0.913, allocations: 58.38 kB / 0.8422 GB, free: 5.934 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001068/0.9131, allocations: 72.12 kB / 0.8422 GB, free: 5.863 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001293/0.9144, allocations: 0.7598 MB / 0.843 GB, free: 5.082 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.713e-05/0.9145, allocations: 0 / 0.843 GB, free: 5.082 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.094e-05/0.9145, allocations: 32 kB / 0.843 GB, free: 5.051 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.819e-05/0.9146, allocations: 20 kB / 0.843 GB, free: 5.031 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001041/0.9156, allocations: 0.5612 MB / 0.8436 GB, free: 4.469 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003264/0.9189, allocations: 2.268 MB / 0.8458 GB, free: 2.141 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003183/0.9221, allocations: 0.9711 MB / 0.8467 GB, free: 1.137 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005476/0.9226, allocations: 327.3 kB / 0.847 GB, free: 0.8047 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003912/0.923, allocations: 433.5 kB / 0.8475 GB, free: 296 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.006e-05/0.9231, allocations: 42.55 kB / 0.8475 GB, free: 244 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=80): time 2.164e-06/0.9231, allocations: 4 kB / 0.8475 GB, free: 240 kB / 0.6544 GB Notification: Performance of matching and sorting (n=80): time 0.00174/0.9248, allocations: 0.8672 MB / 0.8484 GB, free: 15.37 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.871e-05/0.9249, allocations: 136.5 kB / 0.8485 GB, free: 15.2 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006138/0.9255, allocations: 0.5667 MB / 0.849 GB, free: 14.63 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 4.901e-05/0.9256, allocations: 41.7 kB / 0.8491 GB, free: 14.58 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002411/0.9258, allocations: 352.6 kB / 0.8494 GB, free: 14.23 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001776/0.926, allocations: 276 kB / 0.8497 GB, free: 13.96 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.632e-05/0.9261, allocations: 57.69 kB / 0.8497 GB, free: 13.89 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.9263, allocations: 386.7 kB / 0.8501 GB, free: 13.51 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004056/0.9267, allocations: 201.9 kB / 0.8503 GB, free: 13.31 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004605/0.9272, allocations: 320.2 kB / 0.8506 GB, free: 12.96 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009179/0.9281, allocations: 0.5466 MB / 0.8511 GB, free: 12.39 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.9281, allocations: 0 / 0.8511 GB, free: 12.39 MB / 0.67 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001127/0.9292, allocations: 0.666 MB / 0.8518 GB, free: 11.73 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.9293, allocations: 4 kB / 0.8518 GB, free: 11.72 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.9293, allocations: 7.938 kB / 0.8518 GB, free: 11.71 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.9293, allocations: 4 kB / 0.8518 GB, free: 11.71 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006884/0.93, allocations: 159.8 kB / 0.8519 GB, free: 11.55 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.899e-06/0.93, allocations: 4 kB / 0.852 GB, free: 11.55 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004021/0.9304, allocations: 63.36 kB / 0.852 GB, free: 11.49 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.002e-05/0.9305, allocations: 31.91 kB / 0.852 GB, free: 11.46 MB / 0.67 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.0002991/0.9308, allocations: 242.4 kB / 0.8523 GB, free: 11.21 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001591/0.9309, allocations: 83 kB / 0.8524 GB, free: 11.13 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001968/0.9329, allocations: 1.038 MB / 0.8534 GB, free: 10.08 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.144e-05/0.9329, allocations: 12 kB / 0.8534 GB, free: 10.07 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.428e-06/0.933, allocations: 8 kB / 0.8534 GB, free: 10.06 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.257e-05/0.933, allocations: 3.984 kB / 0.8534 GB, free: 10.05 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001273/0.9343, allocations: 0.918 MB / 0.8543 GB, free: 9.086 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/0.9343, allocations: 0 / 0.8543 GB, free: 9.086 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007817/0.9351, allocations: 207.7 kB / 0.8545 GB, free: 8.883 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.885e-06/0.9351, allocations: 4 kB / 0.8545 GB, free: 8.879 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.167e-05/0.9351, allocations: 27.98 kB / 0.8545 GB, free: 8.852 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.305e-06/0.9351, allocations: 4 kB / 0.8545 GB, free: 8.848 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.9352, allocations: 4 kB / 0.8545 GB, free: 8.844 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001422/0.9366, allocations: 1.175 MB / 0.8557 GB, free: 7.652 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002911/0.9369, allocations: 271.6 kB / 0.8559 GB, free: 7.367 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.826e-05/0.937, allocations: 24 kB / 0.856 GB, free: 7.344 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000464/0.9375, allocations: 20 kB / 0.856 GB, free: 7.324 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/0.9376, allocations: 75.83 kB / 0.856 GB, free: 7.25 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.39e-05/0.9376, allocations: 35.98 kB / 0.8561 GB, free: 7.215 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0004579/0.9381, allocations: 407.1 kB / 0.8565 GB, free: 6.824 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9381, allocations: 4 kB / 0.8565 GB, free: 6.82 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0007073/0.9388, allocations: 203.5 kB / 0.8567 GB, free: 6.621 MB / 0.67 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.0003381/0.9392, allocations: 154.9 kB / 0.8568 GB, free: 6.457 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001135/0.9403, allocations: 0.6418 MB / 0.8574 GB, free: 5.82 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.9403, allocations: 256 / 0.8574 GB, free: 5.82 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0006204/0.9409, allocations: 433 kB / 0.8578 GB, free: 5.398 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007507/0.9417, allocations: 75 kB / 0.8579 GB, free: 5.32 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002883/0.9446, allocations: 1.953 MB / 0.8598 GB, free: 3.324 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004797/0.9451, allocations: 0.9976 MB / 0.8608 GB, free: 2.301 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0005515/0.9457, allocations: 150 kB / 0.8609 GB, free: 2.152 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002339/0.9459, allocations: 99.38 kB / 0.861 GB, free: 2.055 MB / 0.67 GB Notification: Performance of SimCode: time 9.82e-07/0.9459, allocations: 0 / 0.861 GB, free: 2.055 MB / 0.67 GB Notification: Performance of Templates: time 0.01405/0.96, allocations: 6.57 MB / 0.8675 GB, free: 11.51 MB / 0.6856 GB make -j1 -f Buildings_8_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: