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.001091/0.001091, allocations: 108 kB / 15.6 MB, free: 132 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.001382/0.001382, allocations: 193.6 kB / 16.53 MB, free: 6.391 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.421/1.421, allocations: 205.1 MB / 222.4 MB, free: 4.566 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.794/1.794, allocations: 292.3 MB / 0.5488 GB, free: 12.8 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.001486/0.001486, allocations: 71.47 kB / 0.6715 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2261/0.2276, allocations: 114.6 MB / 0.7834 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation): time 0.007641/0.2353, allocations: 5.498 MB / 0.7887 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.6323/0.8677, allocations: 155.1 MB / 0.9402 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001127/0.8689, allocations: 25.5 kB / 0.9402 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.004609/0.8735, allocations: 1.75 MB / 0.9419 GB, free: 2.281 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.00206/0.8756, allocations: 0.6909 MB / 0.9426 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002175/0.8778, allocations: 0.9341 MB / 0.9435 GB, free: 2.012 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.004176/0.882, allocations: 3.276 MB / 0.9467 GB, free: 1.77 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00153/0.8835, allocations: 0.9229 MB / 0.9476 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002098/0.8856, allocations: 1.087 MB / 0.9487 GB, free: 1.551 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001585/0.8872, allocations: 0.9675 MB / 0.9496 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.000334/0.8876, allocations: 180.5 kB / 0.9498 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004285/0.8919, allocations: 2.1 MB / 0.9518 GB, free: 1.465 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001325/0.8932, allocations: 1.324 MB / 0.9531 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001028/0.8942, allocations: 0.9115 MB / 0.954 GB, free: 1.152 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00606/0.9003, allocations: 3.64 MB / 0.9576 GB, free: 0.707 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.9003, allocations: 1.406 kB / 0.9576 GB, free: 0.707 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.462e-06/0.9003, allocations: 0 / 0.9576 GB, free: 0.707 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.465e-05/0.9004, allocations: 0 / 0.9576 GB, free: 0.707 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.005192/0.9056, allocations: 2.422 MB / 0.9599 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.9057, allocations: 8.938 kB / 0.9599 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000903/0.9066, allocations: 259.4 kB / 0.9602 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003645/0.9102, allocations: 2.942 MB / 0.9631 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.834e-05/0.9103, allocations: 104.2 kB / 0.9632 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001808/0.9105, allocations: 144.8 kB / 0.9633 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002074/0.9126, allocations: 1.428 MB / 0.9647 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.243e-05/0.9126, allocations: 4.625 kB / 0.9647 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001074/0.9127, allocations: 50.98 kB / 0.9648 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.177e-05/0.9128, allocations: 25.44 kB / 0.9648 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002113/0.9149, allocations: 1.528 MB / 0.9663 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007194/0.9221, allocations: 5.017 MB / 0.9712 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001769/0.9239, allocations: 1.322 MB / 0.9725 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009671/0.9249, allocations: 0.8506 MB / 0.9733 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 7.649e-05/0.9249, allocations: 28.77 kB / 0.9733 GB, free: 11.13 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001152/0.9261, allocations: 0.8603 MB / 0.9742 GB, free: 10.75 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=92): time 2.825e-06/0.9261, allocations: 0 / 0.9742 GB, free: 10.75 MB / 0.7325 GB Notification: Performance of matching and sorting (n=92): time 0.003742/0.9299, allocations: 2.49 MB / 0.9766 GB, free: 9.832 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001938/0.9301, allocations: 335.9 kB / 0.9769 GB, free: 9.531 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004616/0.9347, allocations: 4.31 MB / 0.9811 GB, free: 7.98 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0002614/0.935, allocations: 57.39 kB / 0.9812 GB, free: 7.926 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005807/0.9356, allocations: 0.6538 MB / 0.9818 GB, free: 7.367 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002898/0.9359, allocations: 314.5 kB / 0.9821 GB, free: 7.105 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009751/0.9368, allocations: 1.051 MB / 0.9831 GB, free: 6.578 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 8.932e-05/0.9369, allocations: 301.1 kB / 0.9834 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005836/0.9428, allocations: 7.005 MB / 0.9903 GB, free: 3.781 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006704/0.9495, allocations: 7.253 MB / 0.9973 GB, free: 13.05 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008661/0.9582, allocations: 8.923 MB / 1.006 GB, free: 4.102 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.008e-05/0.9582, allocations: 0 / 1.006 GB, free: 4.102 MB / 0.7481 GB Notification: Performance of matching and sorting (n=435) (initialization): time 0.01607/0.9743, allocations: 15.75 MB / 1.021 GB, free: 4.348 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001963/0.9745, allocations: 149.6 kB / 1.022 GB, free: 4.195 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/0.9746, allocations: 0 / 1.022 GB, free: 4.195 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.197e-05/0.9746, allocations: 8 kB / 1.022 GB, free: 4.188 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001276/0.9759, allocations: 299.6 kB / 1.022 GB, free: 3.895 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.726e-05/0.9759, allocations: 16 kB / 1.022 GB, free: 3.879 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001291/0.9772, allocations: 170.7 kB / 1.022 GB, free: 3.715 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001477/0.9774, allocations: 71.97 kB / 1.022 GB, free: 3.645 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.001238/0.9786, allocations: 0.8241 MB / 1.023 GB, free: 2.809 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002904/0.9789, allocations: 142.2 kB / 1.023 GB, free: 2.668 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003299/0.9822, allocations: 2.173 MB / 1.025 GB, free: 488 kB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.758e-06/0.9822, allocations: 8 kB / 1.025 GB, free: 480 kB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.049e-05/0.9822, allocations: 5.75 kB / 1.025 GB, free: 476 kB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.303e-05/0.9823, allocations: 11.91 kB / 1.025 GB, free: 464 kB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004936/0.9872, allocations: 3.612 MB / 1.029 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.9872, allocations: 0 / 1.029 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005975/0.9878, allocations: 151.8 kB / 1.029 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.079e-05/0.9879, allocations: 7.938 kB / 1.029 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.006e-05/0.9879, allocations: 31.97 kB / 1.029 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.312e-06/0.9879, allocations: 4 kB / 1.029 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.9879, allocations: 0 / 1.029 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003013/0.991, allocations: 2.17 MB / 1.031 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00056/0.9915, allocations: 382.8 kB / 1.031 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001932/0.9917, allocations: 24 kB / 1.031 GB, free: 9.988 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007093/0.9925, allocations: 59.78 kB / 1.031 GB, free: 9.934 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001742/0.9926, allocations: 71.48 kB / 1.032 GB, free: 9.867 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.69e-05/0.9927, allocations: 47.97 kB / 1.032 GB, free: 9.82 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.002587/0.9953, allocations: 2.746 MB / 1.034 GB, free: 7.074 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9953, allocations: 0 / 1.034 GB, free: 7.074 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.002956/0.9983, allocations: 1.006 MB / 1.035 GB, free: 6.066 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.002329/1.001, allocations: 0.9035 MB / 1.036 GB, free: 5.375 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.01067/1.011, allocations: 10.98 MB / 1.047 GB, free: 10.39 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 7.504e-06/1.011, allocations: 0 / 1.047 GB, free: 10.39 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.00166/1.013, allocations: 1.461 MB / 1.048 GB, free: 8.918 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001658/1.015, allocations: 322 kB / 1.049 GB, free: 8.613 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007688/1.022, allocations: 5.431 MB / 1.054 GB, free: 3.152 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001335/1.024, allocations: 1.751 MB / 1.056 GB, free: 1.367 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.001384/1.025, allocations: 357.9 kB / 1.056 GB, free: 1.016 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000334/1.026, allocations: 131.4 kB / 1.056 GB, free: 0.8867 MB / 0.795 GB Notification: Performance of SimCode: time 1.001e-06/1.026, allocations: 4 kB / 1.056 GB, free: 0.8828 MB / 0.795 GB Notification: Performance of Templates: time 0.05325/1.079, allocations: 29.74 MB / 1.085 GB, free: 3.309 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)