Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 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.BaseClasses.Examples.TransmittedRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.001072/0.001072, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001072/0.001072, allocations: 191.2 kB / 16.14 MB, free: 6.703 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.299/1.299, allocations: 205.1 MB / 222 MB, free: 4.777 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.51/1.51, allocations: 251.6 MB / 0.5088 GB, free: 3.352 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.001442/0.001442, allocations: 71.89 kB / 0.6216 GB, free: 1.996 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4591/0.4605, allocations: 104.7 MB / 0.7238 GB, free: 13.16 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation): time 0.006805/0.4674, allocations: 5.465 MB / 0.7291 GB, free: 7.668 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1467/0.6141, allocations: 152.7 MB / 0.8783 GB, free: 14.38 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008561/0.615, allocations: 23.88 kB / 0.8783 GB, free: 14.36 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.003442/0.6185, allocations: 1.616 MB / 0.8799 GB, free: 12.73 MB / 0.7012 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‘. Notification: Performance of NFTyping.typeBindings: time 0.00145/0.6199, allocations: 0.6143 MB / 0.8805 GB, free: 12.12 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001707/0.6216, allocations: 0.7852 MB / 0.8812 GB, free: 11.34 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.001664/0.6233, allocations: 2.264 MB / 0.8835 GB, free: 9.07 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009563/0.6243, allocations: 0.9288 MB / 0.8844 GB, free: 8.098 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006784/0.625, allocations: 0.6963 MB / 0.885 GB, free: 7.398 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007076/0.6257, allocations: 0.8011 MB / 0.8858 GB, free: 6.594 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0001488/0.6258, allocations: 92 kB / 0.8859 GB, free: 6.504 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002407/0.6283, allocations: 1.958 MB / 0.8878 GB, free: 4.543 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0006978/0.629, allocations: 1.033 MB / 0.8888 GB, free: 3.508 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0005451/0.6295, allocations: 0.7572 MB / 0.8896 GB, free: 2.746 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.002842/0.6324, allocations: 3.319 MB / 0.8928 GB, free: 15.42 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.6324, allocations: 0 / 0.8928 GB, free: 15.42 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.41e-07/0.6324, allocations: 0 / 0.8928 GB, free: 15.42 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.392e-05/0.6324, allocations: 0 / 0.8928 GB, free: 15.42 MB / 0.7169 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.003057/0.6355, allocations: 2.181 MB / 0.8949 GB, free: 13.18 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.215e-05/0.6355, allocations: 12.03 kB / 0.895 GB, free: 13.17 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000925/0.6364, allocations: 254.6 kB / 0.8952 GB, free: 12.92 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002623/0.6391, allocations: 2.861 MB / 0.898 GB, free: 10 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.033e-05/0.6392, allocations: 94.36 kB / 0.8981 GB, free: 9.906 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000132/0.6393, allocations: 124 kB / 0.8982 GB, free: 9.785 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001831/0.6411, allocations: 1.248 MB / 0.8994 GB, free: 8.473 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.509e-05/0.6412, allocations: 4 kB / 0.8994 GB, free: 8.469 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.69e-05/0.6413, allocations: 48 kB / 0.8995 GB, free: 8.422 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.917e-05/0.6413, allocations: 36 kB / 0.8995 GB, free: 8.387 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001968/0.6433, allocations: 1.41 MB / 0.9009 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005545/0.6488, allocations: 4.775 MB / 0.9055 GB, free: 2.121 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001603/0.6504, allocations: 0.9908 MB / 0.9065 GB, free: 1.121 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005941/0.6511, allocations: 407.7 kB / 0.9069 GB, free: 0.7227 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.665e-05/0.6511, allocations: 33.03 kB / 0.9069 GB, free: 0.6914 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008507/0.652, allocations: 0.5631 MB / 0.9075 GB, free: 112 kB / 0.7169 GB Notification: Performance of pre-optimization done (n=88): time 2.344e-06/0.652, allocations: 0 / 0.9075 GB, free: 112 kB / 0.7169 GB Notification: Performance of matching and sorting (n=88): time 0.3527/1.005, allocations: 1.483 MB / 0.9089 GB, free: 181.3 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.405e-05/1.005, allocations: 195 kB / 0.9091 GB, free: 181.1 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005375/1.01, allocations: 4.024 MB / 0.913 GB, free: 180.1 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001253/1.01, allocations: 46.33 kB / 0.9131 GB, free: 180 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005469/1.011, allocations: 0.6212 MB / 0.9137 GB, free: 179.6 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002608/1.011, allocations: 298.7 kB / 0.914 GB, free: 179.4 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001342/1.012, allocations: 0.9286 MB / 0.9149 GB, free: 179 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.968e-05/1.013, allocations: 306.5 kB / 0.9152 GB, free: 178.7 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005833/1.018, allocations: 6.295 MB / 0.9213 GB, free: 176.8 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004927/1.023, allocations: 6.526 MB / 0.9277 GB, free: 171.2 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005992/1.029, allocations: 7.396 MB / 0.9349 GB, free: 164.2 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.586e-06/1.029, allocations: 0 / 0.9349 GB, free: 164.2 MB / 0.7169 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01155/1.041, allocations: 14.05 MB / 0.9486 GB, free: 150.5 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.538e-05/1.041, allocations: 11.19 kB / 0.9487 GB, free: 150.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.528e-05/1.041, allocations: 0 / 0.9487 GB, free: 150.5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000618/1.042, allocations: 83.61 kB / 0.9487 GB, free: 150.4 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009069/1.043, allocations: 229.2 kB / 0.949 GB, free: 150.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001868/1.044, allocations: 1.527 MB / 0.9504 GB, free: 148.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001136/1.046, allocations: 126.6 kB / 0.9506 GB, free: 148.4 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.771e-05/1.046, allocations: 51.97 kB / 0.9506 GB, free: 148.4 MB / 0.7169 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.0007045/1.046, allocations: 0.5952 MB / 0.9512 GB, free: 147.8 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001953/1.047, allocations: 126.4 kB / 0.9513 GB, free: 147.7 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002448/1.049, allocations: 1.327 MB / 0.9526 GB, free: 146.3 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/1.049, allocations: 15.94 kB / 0.9526 GB, free: 146.3 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/1.049, allocations: 0 / 0.9526 GB, free: 146.3 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.858e-06/1.049, allocations: 7.969 kB / 0.9526 GB, free: 146.3 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003399/1.052, allocations: 2.53 MB / 0.9551 GB, free: 143.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/1.053, allocations: 0 / 0.9551 GB, free: 143.8 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006774/1.053, allocations: 171.8 kB / 0.9553 GB, free: 143.6 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005102/1.054, allocations: 84.33 kB / 0.9554 GB, free: 143.5 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.794e-05/1.054, allocations: 31.97 kB / 0.9554 GB, free: 143.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00145/1.055, allocations: 1.55 MB / 0.9569 GB, free: 141.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/1.055, allocations: 0 / 0.9569 GB, free: 141.8 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001947/1.057, allocations: 1.196 MB / 0.9581 GB, free: 140.6 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003704/1.058, allocations: 327.2 kB / 0.9584 GB, free: 140.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001572/1.058, allocations: 24.88 kB / 0.9584 GB, free: 140.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006639/1.058, allocations: 61.59 kB / 0.9585 GB, free: 140.2 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001381/1.059, allocations: 84.02 kB / 0.9585 GB, free: 140.1 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.747e-05/1.059, allocations: 35.98 kB / 0.9586 GB, free: 140 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.00173/1.06, allocations: 2.581 MB / 0.9611 GB, free: 137.5 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.6e-07/1.06, allocations: 4 kB / 0.9611 GB, free: 137.5 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.00194/1.062, allocations: 0.9387 MB / 0.962 GB, free: 136.6 MB / 0.7169 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.002129/1.064, allocations: 0.9063 MB / 0.9629 GB, free: 136 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.006258/1.071, allocations: 8.272 MB / 0.971 GB, free: 127.7 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/1.071, allocations: 0 / 0.971 GB, free: 127.7 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0008944/1.072, allocations: 0.602 MB / 0.9716 GB, free: 127.1 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001429/1.073, allocations: 306.3 kB / 0.9719 GB, free: 126.8 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006247/1.079, allocations: 5.529 MB / 0.9773 GB, free: 121.2 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009137/1.08, allocations: 1.68 MB / 0.9789 GB, free: 119.5 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001062/1.081, allocations: 373.4 kB / 0.9793 GB, free: 119.2 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003304/1.082, allocations: 131.4 kB / 0.9794 GB, free: 119 MB / 0.7169 GB Notification: Performance of SimCode: time 5.01e-07/1.082, allocations: 0 / 0.9794 GB, free: 119 MB / 0.7169 GB Notification: Performance of Templates: time 0.03992/1.122, allocations: 26.45 MB / 1.005 GB, free: 92.75 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.makefile (rm -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe >> ../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.sim & ./Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe 2>&1)