Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.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.WindowRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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: 193.8 kB / 16.13 MB, free: 6.66 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.315/1.315, allocations: 205.1 MB / 222 MB, free: 4.746 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.616/1.616, allocations: 292.2 MB / 0.5484 GB, free: 13.68 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.00128/0.00128, allocations: 70.72 kB / 0.6708 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.237/0.2383, allocations: 114.5 MB / 0.7827 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.01003/0.2484, allocations: 6.696 MB / 0.7892 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.5917/0.8401, allocations: 157 MB / 0.9425 GB, free: 4.926 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002039/0.8422, allocations: 30 kB / 0.9425 GB, free: 4.926 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.006152/0.8485, allocations: 1.779 MB / 0.9443 GB, free: 4.895 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.003035/0.8515, allocations: 0.9993 MB / 0.9453 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002812/0.8543, allocations: 1.177 MB / 0.9464 GB, free: 4.828 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.005572/0.8599, allocations: 5.046 MB / 0.9513 GB, free: 4.656 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002132/0.8621, allocations: 1.105 MB / 0.9524 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003713/0.8658, allocations: 1.356 MB / 0.9537 GB, free: 4.309 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00269/0.8685, allocations: 1.336 MB / 0.955 GB, free: 4.277 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.000368/0.8689, allocations: 122.2 kB / 0.9552 GB, free: 4.277 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004952/0.8738, allocations: 2.001 MB / 0.9571 GB, free: 4.195 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.002894/0.8767, allocations: 2.665 MB / 0.9597 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001808/0.8786, allocations: 1.147 MB / 0.9608 GB, free: 3.887 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.007696/0.8863, allocations: 4.666 MB / 0.9654 GB, free: 3.301 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.8863, allocations: 0 / 0.9654 GB, free: 3.301 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.415e-06/0.8863, allocations: 0 / 0.9654 GB, free: 3.301 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.017e-05/0.8864, allocations: 5.188 kB / 0.9654 GB, free: 3.297 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: 362 * Number of variables: 362 Notification: Performance of Generate backend data structure: time 0.006797/0.8932, allocations: 3.2 MB / 0.9685 GB, free: 17.75 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.8933, allocations: 10.16 kB / 0.9685 GB, free: 17.75 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001249/0.8945, allocations: 340.3 kB / 0.9689 GB, free: 17.61 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007817/0.9023, allocations: 7.358 MB / 0.976 GB, free: 16.99 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001055/0.9025, allocations: 136.1 kB / 0.9762 GB, free: 16.98 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002712/0.9028, allocations: 173 kB / 0.9763 GB, free: 16.98 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003164/0.9059, allocations: 1.848 MB / 0.9781 GB, free: 16.73 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.664e-05/0.906, allocations: 2.562 kB / 0.9781 GB, free: 16.73 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001305/0.9061, allocations: 69.7 kB / 0.9782 GB, free: 16.73 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.728e-05/0.9062, allocations: 36.44 kB / 0.9782 GB, free: 16.73 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002572/0.9087, allocations: 1.896 MB / 0.9801 GB, free: 16.38 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01276/0.9215, allocations: 9.77 MB / 0.9896 GB, free: 11.23 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002548/0.9241, allocations: 1.658 MB / 0.9913 GB, free: 10.48 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001227/0.9254, allocations: 1.049 MB / 0.9923 GB, free: 10.01 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 8.69e-05/0.9255, allocations: 32.7 kB / 0.9923 GB, free: 10 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001516/0.927, allocations: 1.106 MB / 0.9934 GB, free: 9.465 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=105): time 2.945e-06/0.927, allocations: 4 kB / 0.9934 GB, free: 9.461 MB / 0.7481 GB Notification: Performance of matching and sorting (n=105): time 0.006462/0.9335, allocations: 3.267 MB / 0.9966 GB, free: 8.082 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002927/0.9338, allocations: 345.4 kB / 0.9969 GB, free: 7.777 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01468/0.9485, allocations: 11.51 MB / 1.008 GB, free: 15.89 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0006752/0.9492, allocations: 61.7 kB / 1.008 GB, free: 15.82 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.001156/0.9504, allocations: 0.932 MB / 1.009 GB, free: 14.89 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005239/0.9509, allocations: 372.3 kB / 1.009 GB, free: 14.53 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002464/0.9534, allocations: 2.655 MB / 1.012 GB, free: 11.88 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 9.615e-05/0.9535, allocations: 301.1 kB / 1.012 GB, free: 11.58 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01727/0.9708, allocations: 20.07 MB / 1.032 GB, free: 7.504 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0195/0.9903, allocations: 20.64 MB / 1.052 GB, free: 2.812 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02344/1.014, allocations: 23.49 MB / 1.075 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.436e-05/1.014, allocations: 0 / 1.075 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of matching and sorting (n=973) (initialization): time 0.04436/1.058, allocations: 44.12 MB / 1.118 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002542/1.059, allocations: 165.6 kB / 1.118 GB, free: 14.97 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.24e-05/1.059, allocations: 4 kB / 1.118 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006625/1.059, allocations: 93.11 kB / 1.118 GB, free: 14.87 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00182/1.061, allocations: 379.4 kB / 1.119 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002028/1.063, allocations: 1.537 MB / 1.12 GB, free: 12.82 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001992/1.065, allocations: 215.5 kB / 1.12 GB, free: 12.62 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002179/1.065, allocations: 102.2 kB / 1.121 GB, free: 12.52 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (263): * Single equations (assignments): 225 * Array equations: 36 * Algorithm blocks: 1 * 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.001976/1.067, allocations: 1.527 MB / 1.122 GB, free: 10.98 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004256/1.068, allocations: 197.4 kB / 1.122 GB, free: 10.79 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005007/1.073, allocations: 2.795 MB / 1.125 GB, free: 7.977 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.227e-05/1.073, allocations: 12 kB / 1.125 GB, free: 7.965 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/1.073, allocations: 0 / 1.125 GB, free: 7.965 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.251e-05/1.073, allocations: 3.984 kB / 1.125 GB, free: 7.961 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007338/1.08, allocations: 4.607 MB / 1.129 GB, free: 3.305 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.724e-06/1.08, allocations: 8 kB / 1.129 GB, free: 3.297 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007555/1.081, allocations: 175.7 kB / 1.13 GB, free: 3.125 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005672/1.082, allocations: 88.75 kB / 1.13 GB, free: 3.035 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001009/1.082, allocations: 39.92 kB / 1.13 GB, free: 2.996 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002141/1.084, allocations: 1.544 MB / 1.131 GB, free: 1.309 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/1.084, allocations: 0 / 1.131 GB, free: 1.309 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004438/1.088, allocations: 2.701 MB / 1.134 GB, free: 14.58 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008486/1.089, allocations: 466 kB / 1.134 GB, free: 14.11 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002685/1.089, allocations: 24 kB / 1.134 GB, free: 14.08 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000892/1.09, allocations: 63.88 kB / 1.134 GB, free: 14.02 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001951/1.091, allocations: 80.89 kB / 1.135 GB, free: 13.94 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001111/1.091, allocations: 59.91 kB / 1.135 GB, free: 13.88 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.00675/1.097, allocations: 7.212 MB / 1.142 GB, free: 6.652 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.9e-07/1.097, allocations: 4 kB / 1.142 GB, free: 6.648 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.004153/1.102, allocations: 1.308 MB / 1.143 GB, free: 5.344 MB / 0.8887 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 (104): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 1 * 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.002509/1.104, allocations: 0.9037 MB / 1.144 GB, free: 4.652 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.02385/1.128, allocations: 26.65 MB / 1.17 GB, free: 9.996 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/1.128, allocations: 0 / 1.17 GB, free: 9.996 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.002588/1.131, allocations: 1.845 MB / 1.172 GB, free: 8.129 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002243/1.133, allocations: 381.7 kB / 1.172 GB, free: 7.758 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01637/1.149, allocations: 12.4 MB / 1.184 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002822/1.152, allocations: 2.975 MB / 1.187 GB, free: 8.316 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001818/1.154, allocations: 0.4941 MB / 1.187 GB, free: 7.816 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005411/1.155, allocations: 183.4 kB / 1.188 GB, free: 7.637 MB / 0.9356 GB Notification: Performance of SimCode: time 1.062e-06/1.155, allocations: 0 / 1.188 GB, free: 7.637 MB / 0.9356 GB Notification: Performance of Templates: time 0.09211/1.247, allocations: 43.92 MB / 1.231 GB, free: 11.93 MB / 0.9825 GB make -j1 -f Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.makefile (rm -f Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; mkfifo Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; head -c 1048576 < Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe >> ../files/Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.sim & ./Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe 2>&1)