Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.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.BaseClasses.Examples.TransmittedRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001138/0.001138, allocations: 195.6 kB / 16.25 MB, free: 6.621 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.41/1.41, allocations: 205.1 MB / 222.1 MB, free: 4.695 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.674/1.674, allocations: 292.2 MB / 0.5485 GB, free: 13.66 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.002104/0.002104, allocations: 70.89 kB / 0.671 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3125/0.3146, allocations: 114.6 MB / 0.7829 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation): time 0.008814/0.3235, allocations: 5.454 MB / 0.7882 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.7357/1.059, allocations: 152.6 MB / 0.9372 GB, free: 5.133 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001436/1.061, allocations: 21.53 kB / 0.9372 GB, free: 5.133 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.005639/1.066, allocations: 1.612 MB / 0.9388 GB, free: 5.109 MB / 0.7325 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‘. Notification: Performance of NFTyping.typeBindings: time 0.002439/1.069, allocations: 0.6231 MB / 0.9394 GB, free: 5.082 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002404/1.071, allocations: 0.8129 MB / 0.9402 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002852/1.074, allocations: 2.194 MB / 0.9424 GB, free: 5.039 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001338/1.075, allocations: 0.9496 MB / 0.9433 GB, free: 4.844 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001553/1.077, allocations: 0.8111 MB / 0.9441 GB, free: 4.844 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001355/1.078, allocations: 0.8454 MB / 0.9449 GB, free: 4.84 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0002691/1.079, allocations: 163 kB / 0.9451 GB, free: 4.84 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005451/1.084, allocations: 2.137 MB / 0.9472 GB, free: 4.816 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.001681/1.086, allocations: 1.113 MB / 0.9482 GB, free: 4.816 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001574/1.087, allocations: 0.8277 MB / 0.9491 GB, free: 4.816 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.01113/1.099, allocations: 3.391 MB / 0.9524 GB, free: 4.473 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/1.099, allocations: 0 / 0.9524 GB, free: 4.473 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.896e-06/1.099, allocations: 1.156 kB / 0.9524 GB, free: 4.473 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.895e-05/1.099, allocations: 3.938 kB / 0.9524 GB, free: 4.469 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 300 * Number of variables: 300 Notification: Performance of Generate backend data structure: time 0.005813/1.104, allocations: 2.191 MB / 0.9545 GB, free: 19.33 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 7.447e-05/1.105, allocations: 9.562 kB / 0.9545 GB, free: 19.33 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001435/1.106, allocations: 250.7 kB / 0.9548 GB, free: 19.23 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005222/1.111, allocations: 2.859 MB / 0.9575 GB, free: 18.81 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001166/1.111, allocations: 93.86 kB / 0.9576 GB, free: 18.81 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002057/1.112, allocations: 125.8 kB / 0.9578 GB, free: 18.81 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002533/1.114, allocations: 1.247 MB / 0.959 GB, free: 18.63 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.769e-05/1.114, allocations: 4.094 kB / 0.959 GB, free: 18.63 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001165/1.114, allocations: 49.28 kB / 0.959 GB, free: 18.63 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-05/1.114, allocations: 27.97 kB / 0.9591 GB, free: 18.63 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002886/1.117, allocations: 1.415 MB / 0.9604 GB, free: 18.61 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008676/1.126, allocations: 4.784 MB / 0.9651 GB, free: 17.72 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001982/1.128, allocations: 0.9952 MB / 0.9661 GB, free: 17.68 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006696/1.129, allocations: 400.5 kB / 0.9665 GB, free: 17.67 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000101/1.129, allocations: 37.78 kB / 0.9665 GB, free: 17.67 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009963/1.13, allocations: 0.5625 MB / 0.967 GB, free: 17.59 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=88): time 4.288e-06/1.13, allocations: 0 / 0.967 GB, free: 17.59 MB / 0.7481 GB Notification: Performance of matching and sorting (n=88): time 0.003787/1.134, allocations: 1.482 MB / 0.9685 GB, free: 17.34 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001296/1.134, allocations: 189.6 kB / 0.9687 GB, free: 17.12 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005067/1.139, allocations: 4.029 MB / 0.9726 GB, free: 16.95 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0002824/1.139, allocations: 48.45 kB / 0.9727 GB, free: 16.92 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006049/1.14, allocations: 0.6181 MB / 0.9733 GB, free: 16.68 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002713/1.14, allocations: 299.1 kB / 0.9735 GB, free: 16.49 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009517/1.141, allocations: 0.9311 MB / 0.9745 GB, free: 16.31 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001435/1.141, allocations: 305.1 kB / 0.9747 GB, free: 16.01 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005369/1.146, allocations: 6.291 MB / 0.9809 GB, free: 15.15 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006479/1.153, allocations: 6.526 MB / 0.9873 GB, free: 13.08 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008503/1.162, allocations: 7.392 MB / 0.9945 GB, free: 10.37 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.228e-05/1.162, allocations: 0 / 0.9945 GB, free: 10.37 MB / 0.7481 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01994/1.182, allocations: 14.07 MB / 1.008 GB, free: 14.41 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 4.036e-05/1.182, allocations: 4 kB / 1.008 GB, free: 14.4 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.079e-05/1.182, allocations: 4 kB / 1.008 GB, free: 14.4 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007121/1.182, allocations: 87.39 kB / 1.008 GB, free: 14.31 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001345/1.184, allocations: 232.6 kB / 1.009 GB, free: 14.1 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002592/1.186, allocations: 1.634 MB / 1.01 GB, free: 12.33 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00189/1.188, allocations: 114.7 kB / 1.01 GB, free: 12.22 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004475/1.189, allocations: 55.97 kB / 1.01 GB, free: 12.17 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (143): * Single equations (assignments): 130 * Array equations: 12 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0017/1.19, allocations: 0.5975 MB / 1.011 GB, free: 11.58 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006919/1.191, allocations: 138.5 kB / 1.011 GB, free: 11.45 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003773/1.195, allocations: 1.333 MB / 1.012 GB, free: 10.11 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-05/1.195, allocations: 12 kB / 1.012 GB, free: 10.09 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.986e-06/1.195, allocations: 0 / 1.012 GB, free: 10.09 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.739e-05/1.195, allocations: 7.922 kB / 1.012 GB, free: 10.09 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005864/1.201, allocations: 2.525 MB / 1.015 GB, free: 7.535 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.363e-06/1.201, allocations: 4 kB / 1.015 GB, free: 7.531 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007594/1.202, allocations: 174.1 kB / 1.015 GB, free: 7.371 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004953/1.202, allocations: 72.72 kB / 1.015 GB, free: 7.297 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.916e-05/1.202, allocations: 31.98 kB / 1.015 GB, free: 7.266 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002163/1.204, allocations: 1.659 MB / 1.017 GB, free: 5.465 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/1.204, allocations: 4.031 kB / 1.017 GB, free: 5.461 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002872/1.207, allocations: 1.195 MB / 1.018 GB, free: 4.25 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009178/1.208, allocations: 331.1 kB / 1.018 GB, free: 3.906 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004865/1.209, allocations: 23.94 kB / 1.018 GB, free: 3.883 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001051/1.21, allocations: 58.44 kB / 1.018 GB, free: 3.828 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001962/1.21, allocations: 68.91 kB / 1.018 GB, free: 3.762 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.917e-05/1.21, allocations: 43.97 kB / 1.018 GB, free: 3.719 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.003357/1.214, allocations: 2.587 MB / 1.021 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2.81e-07/1.214, allocations: 0 / 1.021 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.004272/1.218, allocations: 0.942 MB / 1.022 GB, free: 192 kB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004365/1.222, allocations: 0.898 MB / 1.023 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.01111/1.233, allocations: 8.543 MB / 1.031 GB, free: 6.973 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.213e-05/1.233, allocations: 4 kB / 1.031 GB, free: 6.969 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.001748/1.235, allocations: 0.6103 MB / 1.032 GB, free: 6.367 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00265/1.238, allocations: 328.6 kB / 1.032 GB, free: 6.074 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01034/1.248, allocations: 5.524 MB / 1.037 GB, free: 0.5156 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002191/1.25, allocations: 1.679 MB / 1.039 GB, free: 14.8 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.001879/1.252, allocations: 381.4 kB / 1.039 GB, free: 14.43 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006432/1.253, allocations: 131.4 kB / 1.039 GB, free: 14.3 MB / 0.795 GB Notification: Performance of SimCode: time 1.703e-06/1.253, allocations: 3.938 kB / 1.039 GB, free: 14.3 MB / 0.795 GB Notification: Performance of Templates: time 0.05751/1.311, allocations: 27.07 MB / 1.066 GB, free: 3.465 MB / 0.8106 GB make -j1 -f Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.makefile (rm -f Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe ; mkfifo Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe ; head -c 1048576 < Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe >> ../files/Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.sim & ./Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe 2>&1)