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.001808/0.001808, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001491/0.001491, allocations: 188.2 kB / 16.62 MB, free: 6.582 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.525/1.525, allocations: 205.1 MB / 222.5 MB, free: 4.492 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.763/1.763, allocations: 292.3 MB / 0.549 GB, free: 12.73 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.001456/0.001456, allocations: 71.31 kB / 0.6723 GB, free: 25.83 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2418/0.2433, allocations: 114.5 MB / 0.7841 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation): time 0.008076/0.2514, allocations: 5.502 MB / 0.7895 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.6512/0.9027, allocations: 155.1 MB / 0.9409 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001226/0.904, allocations: 25.78 kB / 0.941 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.004719/0.9088, allocations: 1.758 MB / 0.9427 GB, free: 2.52 MB / 0.7169 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:216:3-259:11:writable] Warning: Pure function 'Modelica.Utilities.Strings.find' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/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/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.002148/0.9109, allocations: 0.6734 MB / 0.9433 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002267/0.9132, allocations: 0.9494 MB / 0.9443 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003964/0.9172, allocations: 3.285 MB / 0.9475 GB, free: 2.012 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001614/0.9188, allocations: 0.9238 MB / 0.9484 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002945/0.9217, allocations: 1.096 MB / 0.9494 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00213/0.9239, allocations: 0.9499 MB / 0.9504 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.00046/0.9244, allocations: 180.7 kB / 0.9505 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006133/0.9305, allocations: 2.139 MB / 0.9526 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.00184/0.9324, allocations: 1.32 MB / 0.9539 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001137/0.9335, allocations: 0.9133 MB / 0.9548 GB, free: 1.383 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.006717/0.9402, allocations: 3.702 MB / 0.9584 GB, free: 0.8984 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.9403, allocations: 3.75 kB / 0.9584 GB, free: 0.8984 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.655e-06/0.9403, allocations: 1.219 kB / 0.9584 GB, free: 0.8984 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.702e-05/0.9403, allocations: 0 / 0.9584 GB, free: 0.8984 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: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.005008/0.9453, allocations: 2.432 MB / 0.9608 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.9454, allocations: 9.625 kB / 0.9608 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008808/0.9463, allocations: 252.2 kB / 0.9611 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003879/0.9502, allocations: 2.968 MB / 0.964 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001262/0.9503, allocations: 104.9 kB / 0.9641 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002302/0.9506, allocations: 142 kB / 0.9642 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002708/0.9533, allocations: 1.43 MB / 0.9656 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.317e-05/0.9533, allocations: 0 / 0.9656 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001132/0.9534, allocations: 45.91 kB / 0.9656 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.732e-05/0.9535, allocations: 27.03 kB / 0.9657 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002241/0.9557, allocations: 1.53 MB / 0.9671 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007533/0.9633, allocations: 4.978 MB / 0.972 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001888/0.9652, allocations: 1.324 MB / 0.9733 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001394/0.9666, allocations: 0.8439 MB / 0.9741 GB, free: 11.15 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001276/0.9667, allocations: 39.23 kB / 0.9742 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001351/0.9681, allocations: 0.8551 MB / 0.975 GB, free: 10.75 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=92): time 2.985e-06/0.9681, allocations: 4 kB / 0.975 GB, free: 10.75 MB / 0.7325 GB Notification: Performance of matching and sorting (n=92): time 0.00418/0.9723, allocations: 2.487 MB / 0.9774 GB, free: 9.84 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002232/0.9725, allocations: 331.4 kB / 0.9777 GB, free: 9.543 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005204/0.9777, allocations: 4.308 MB / 0.982 GB, free: 7.992 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0003008/0.9781, allocations: 59.7 kB / 0.982 GB, free: 7.938 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006232/0.9787, allocations: 0.6536 MB / 0.9827 GB, free: 7.379 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003282/0.979, allocations: 317.7 kB / 0.983 GB, free: 7.113 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001174/0.9802, allocations: 1.052 MB / 0.984 GB, free: 6.586 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001146/0.9803, allocations: 305.1 kB / 0.9843 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006522/0.9869, allocations: 6.996 MB / 0.9911 GB, free: 3.793 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006843/0.9937, allocations: 7.26 MB / 0.9982 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008804/1.003, allocations: 8.915 MB / 1.007 GB, free: 4.133 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.815e-06/1.003, allocations: 0 / 1.007 GB, free: 4.133 MB / 0.7481 GB Notification: Performance of matching and sorting (n=435) (initialization): time 0.01616/1.019, allocations: 15.75 MB / 1.022 GB, free: 4.371 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001796/1.019, allocations: 149.6 kB / 1.022 GB, free: 4.219 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.522e-05/1.019, allocations: 0 / 1.022 GB, free: 4.219 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.072e-05/1.019, allocations: 8 kB / 1.022 GB, free: 4.211 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001241/1.02, allocations: 301.4 kB / 1.023 GB, free: 3.918 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.711e-05/1.02, allocations: 11.94 kB / 1.023 GB, free: 3.906 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001348/1.022, allocations: 172.6 kB / 1.023 GB, free: 3.738 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002054/1.022, allocations: 72 kB / 1.023 GB, free: 3.668 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.00132/1.023, allocations: 0.8263 MB / 1.024 GB, free: 2.832 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000444/1.024, allocations: 138.2 kB / 1.024 GB, free: 2.695 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003603/1.027, allocations: 2.168 MB / 1.026 GB, free: 0.5078 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.036e-05/1.027, allocations: 8 kB / 1.026 GB, free: 0.5 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.228e-06/1.027, allocations: 3.938 kB / 1.026 GB, free: 0.4961 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.123e-05/1.027, allocations: 7.984 kB / 1.026 GB, free: 500 kB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005891/1.033, allocations: 3.613 MB / 1.03 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.203e-06/1.033, allocations: 3.984 kB / 1.03 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006018/1.034, allocations: 151.8 kB / 1.03 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.581e-05/1.034, allocations: 7.938 kB / 1.03 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.867e-05/1.034, allocations: 31.97 kB / 1.03 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.115e-06/1.034, allocations: 4 kB / 1.03 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/1.034, allocations: 1.75 kB / 1.03 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003199/1.037, allocations: 2.179 MB / 1.032 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006738/1.038, allocations: 378.8 kB / 1.032 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003027/1.038, allocations: 24 kB / 1.032 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007852/1.039, allocations: 58.44 kB / 1.032 GB, free: 9.965 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001701/1.039, allocations: 68.91 kB / 1.032 GB, free: 9.898 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.784e-05/1.039, allocations: 47.97 kB / 1.032 GB, free: 9.852 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.002862/1.042, allocations: 2.746 MB / 1.035 GB, free: 7.105 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/1.042, allocations: 0 / 1.035 GB, free: 7.105 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.003066/1.045, allocations: 1.01 MB / 1.036 GB, free: 6.094 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.003359/1.049, allocations: 0.903 MB / 1.037 GB, free: 5.402 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.01026/1.059, allocations: 10.59 MB / 1.047 GB, free: 10.8 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/1.059, allocations: 0 / 1.047 GB, free: 10.8 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.00166/1.061, allocations: 1.46 MB / 1.049 GB, free: 9.324 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001798/1.062, allocations: 334.2 kB / 1.049 GB, free: 9.012 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007932/1.07, allocations: 5.385 MB / 1.054 GB, free: 3.594 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001799/1.072, allocations: 1.745 MB / 1.056 GB, free: 1.809 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.001135/1.073, allocations: 361.9 kB / 1.056 GB, free: 1.453 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004352/1.074, allocations: 131.4 kB / 1.057 GB, free: 1.324 MB / 0.795 GB Notification: Performance of SimCode: time 5.11e-07/1.074, allocations: 0 / 1.057 GB, free: 1.324 MB / 0.795 GB Notification: Performance of Templates: time 0.05808/1.132, allocations: 29.83 MB / 1.086 GB, free: 3.668 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)