Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.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.AbsorbedRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001036/0.001037, 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.001044/0.001044, allocations: 196.6 kB / 16.26 MB, free: 6.617 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.396/1.396, allocations: 205.1 MB / 222.1 MB, free: 4.73 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.702/1.702, allocations: 292.2 MB / 0.5485 GB, free: 13.62 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.001318/0.001317, allocations: 68.91 kB / 0.671 GB, free: 26.61 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2274/0.2287, allocations: 114.6 MB / 0.7829 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation): time 0.007897/0.2367, allocations: 5.501 MB / 0.7882 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.5672/0.8039, allocations: 152.9 MB / 0.9375 GB, free: 5.512 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000884/0.8048, allocations: 23.53 kB / 0.9375 GB, free: 5.512 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.004215/0.8091, allocations: 1.607 MB / 0.9391 GB, free: 5.488 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.001612/0.8107, allocations: 0.6246 MB / 0.9397 GB, free: 5.461 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001914/0.8127, allocations: 0.8592 MB / 0.9405 GB, free: 5.43 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002591/0.8153, allocations: 3.284 MB / 0.9437 GB, free: 5.406 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001041/0.8163, allocations: 0.9221 MB / 0.9446 GB, free: 5.219 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001464/0.8178, allocations: 1.126 MB / 0.9457 GB, free: 5.215 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001111/0.8189, allocations: 0.9881 MB / 0.9467 GB, free: 5.215 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0002997/0.8192, allocations: 178.9 kB / 0.9469 GB, free: 5.215 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003705/0.8229, allocations: 2.117 MB / 0.9489 GB, free: 5.191 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.001332/0.8243, allocations: 1.32 MB / 0.9502 GB, free: 5.188 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001149/0.8254, allocations: 0.9166 MB / 0.9511 GB, free: 5.188 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.004709/0.8301, allocations: 3.637 MB / 0.9547 GB, free: 4.789 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.207e-06/0.8302, allocations: 4 kB / 0.9547 GB, free: 4.785 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.613e-06/0.8302, allocations: 0 / 0.9547 GB, free: 4.785 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.934e-05/0.8302, allocations: 4.719 kB / 0.9547 GB, free: 4.785 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: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.003974/0.8342, allocations: 2.422 MB / 0.9571 GB, free: 19.55 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/0.8342, allocations: 12.19 kB / 0.9571 GB, free: 19.55 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007905/0.835, allocations: 255.6 kB / 0.9573 GB, free: 19.45 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003211/0.8382, allocations: 2.944 MB / 0.9602 GB, free: 19.02 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.999e-05/0.8383, allocations: 103.7 kB / 0.9603 GB, free: 19.02 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001855/0.8385, allocations: 141 kB / 0.9604 GB, free: 19.02 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002162/0.8407, allocations: 1.437 MB / 0.9618 GB, free: 18.84 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.314e-05/0.8407, allocations: 0 / 0.9618 GB, free: 18.84 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001037/0.8408, allocations: 48.47 kB / 0.9619 GB, free: 18.84 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.351e-05/0.8409, allocations: 27.19 kB / 0.9619 GB, free: 18.84 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002138/0.843, allocations: 1.522 MB / 0.9634 GB, free: 18.83 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006956/0.85, allocations: 5.026 MB / 0.9683 GB, free: 17.98 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001646/0.8517, allocations: 1.312 MB / 0.9696 GB, free: 17.95 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008821/0.8526, allocations: 0.8528 MB / 0.9704 GB, free: 17.93 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 7.365e-05/0.8526, allocations: 32.34 kB / 0.9704 GB, free: 17.93 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001113/0.8538, allocations: 0.8541 MB / 0.9713 GB, free: 17.87 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=92): time 2.815e-06/0.8538, allocations: 0 / 0.9713 GB, free: 17.87 MB / 0.7481 GB Notification: Performance of matching and sorting (n=92): time 0.003546/0.8573, allocations: 2.503 MB / 0.9737 GB, free: 17.7 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002067/0.8575, allocations: 329.2 kB / 0.974 GB, free: 17.44 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004674/0.8622, allocations: 4.312 MB / 0.9782 GB, free: 17.18 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0002021/0.8624, allocations: 53.64 kB / 0.9783 GB, free: 17.13 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004499/0.8629, allocations: 0.654 MB / 0.9789 GB, free: 16.64 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002265/0.8631, allocations: 312.4 kB / 0.9792 GB, free: 16.41 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009202/0.8641, allocations: 1.053 MB / 0.9803 GB, free: 15.99 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 9.724e-05/0.8642, allocations: 304.5 kB / 0.9805 GB, free: 15.69 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005592/0.8698, allocations: 6.997 MB / 0.9874 GB, free: 13.6 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006358/0.8761, allocations: 7.254 MB / 0.9945 GB, free: 11.39 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0085/0.8846, allocations: 8.921 MB / 1.003 GB, free: 3.828 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.747e-06/0.8847, allocations: 4 kB / 1.003 GB, free: 3.824 MB / 0.7481 GB Notification: Performance of matching and sorting (n=435) (initialization): time 0.01484/0.8995, allocations: 15.74 MB / 1.019 GB, free: 4.074 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001909/0.8998, allocations: 153.7 kB / 1.019 GB, free: 3.918 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.458e-05/0.8998, allocations: 0 / 1.019 GB, free: 3.918 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.321e-05/0.8998, allocations: 8 kB / 1.019 GB, free: 3.91 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001288/0.9011, allocations: 297.6 kB / 1.019 GB, free: 3.637 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.021e-05/0.9011, allocations: 15.92 kB / 1.019 GB, free: 3.621 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001274/0.9024, allocations: 172.3 kB / 1.019 GB, free: 3.453 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001502/0.9026, allocations: 71.33 kB / 1.019 GB, free: 3.387 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (189): * Single equations (assignments): 176 * Array equations: 12 * Algorithm blocks: 1 * 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.001137/0.9037, allocations: 0.8234 MB / 1.02 GB, free: 2.566 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002633/0.904, allocations: 138.2 kB / 1.02 GB, free: 2.43 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003359/0.9074, allocations: 2.234 MB / 1.022 GB, free: 184 kB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.706e-06/0.9074, allocations: 8 kB / 1.022 GB, free: 176 kB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.9074, allocations: 3.938 kB / 1.022 GB, free: 172 kB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.778e-06/0.9074, allocations: 3.984 kB / 1.022 GB, free: 168 kB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004886/0.9123, allocations: 3.62 MB / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.9123, allocations: 0 / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006091/0.9129, allocations: 147.6 kB / 1.026 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.011e-05/0.913, allocations: 7.938 kB / 1.026 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.537e-05/0.913, allocations: 27.98 kB / 1.026 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.781e-06/0.913, allocations: 4 kB / 1.026 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.9131, allocations: 6.531 kB / 1.026 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002934/0.916, allocations: 2.169 MB / 1.028 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005266/0.9165, allocations: 382.8 kB / 1.029 GB, free: 9.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001967/0.9167, allocations: 24 kB / 1.029 GB, free: 9.707 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007214/0.9175, allocations: 66.59 kB / 1.029 GB, free: 9.645 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001515/0.9176, allocations: 64.92 kB / 1.029 GB, free: 9.582 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.744e-05/0.9177, allocations: 43.97 kB / 1.029 GB, free: 9.539 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.002447/0.9202, allocations: 2.753 MB / 1.031 GB, free: 6.789 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.91e-07/0.9202, allocations: 0 / 1.031 GB, free: 6.789 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.002682/0.9229, allocations: 1.006 MB / 1.032 GB, free: 5.781 MB / 0.7794 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 (90): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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.002238/0.9251, allocations: 0.8958 MB / 1.033 GB, free: 5.105 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.01032/0.9354, allocations: 10.98 MB / 1.044 GB, free: 10.14 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/0.9355, allocations: 0 / 1.044 GB, free: 10.14 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.001632/0.9371, allocations: 1.467 MB / 1.045 GB, free: 8.68 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001769/0.9389, allocations: 322.6 kB / 1.046 GB, free: 8.387 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007646/0.9466, allocations: 6.195 MB / 1.052 GB, free: 2.16 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001326/0.9479, allocations: 1.741 MB / 1.054 GB, free: 392 kB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.001518/0.9495, allocations: 372.4 kB / 1.054 GB, free: 20 kB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003855/0.9499, allocations: 139.4 kB / 1.054 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of SimCode: time 1.062e-06/0.9499, allocations: 0 / 1.054 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of Templates: time 0.05225/1.002, allocations: 29.68 MB / 1.083 GB, free: 2.426 MB / 0.8262 GB make -j1 -f Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.makefile (rm -f Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe ; mkfifo Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe ; head -c 1048576 < Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe >> ../files/Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.sim & ./Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe 2>&1)