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.001108/0.001108, 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.001128/0.001128, allocations: 198.8 kB / 16.14 MB, free: 6.656 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.472/1.472, allocations: 205.1 MB / 222 MB, free: 4.754 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.727/1.727, allocations: 292.2 MB / 0.5484 GB, free: 13.66 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.001293/0.001293, allocations: 63.53 kB / 0.6708 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2274/0.2287, allocations: 114.5 MB / 0.7827 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation): time 0.007437/0.2362, allocations: 5.497 MB / 0.788 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.6262/0.8625, allocations: 153 MB / 0.9375 GB, free: 5.16 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001223/0.8637, allocations: 23.27 kB / 0.9375 GB, free: 5.16 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.00569/0.8695, allocations: 1.609 MB / 0.9391 GB, free: 5.145 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.002504/0.872, allocations: 0.6167 MB / 0.9397 GB, free: 5.113 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002273/0.8743, allocations: 0.8345 MB / 0.9405 GB, free: 5.082 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.003424/0.8777, allocations: 3.219 MB / 0.9436 GB, free: 5.07 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00115/0.8789, allocations: 0.9008 MB / 0.9445 GB, free: 4.867 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00189/0.8808, allocations: 0.9709 MB / 0.9455 GB, free: 4.867 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001689/0.8825, allocations: 0.9365 MB / 0.9464 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0003571/0.8828, allocations: 98.44 kB / 0.9465 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004078/0.8869, allocations: 1.932 MB / 0.9483 GB, free: 4.844 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.001368/0.8883, allocations: 1.241 MB / 0.9496 GB, free: 4.844 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.00138/0.8897, allocations: 0.8366 MB / 0.9504 GB, free: 4.84 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.006126/0.8958, allocations: 3.553 MB / 0.9538 GB, free: 4.445 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.8959, allocations: 1.094 kB / 0.9538 GB, free: 4.445 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.303e-06/0.8959, allocations: 4 kB / 0.9539 GB, free: 4.441 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.994e-05/0.8959, allocations: 0 / 0.9539 GB, free: 4.441 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.004784/0.9007, allocations: 2.428 MB / 0.9562 GB, free: 19.21 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.9008, allocations: 9.25 kB / 0.9562 GB, free: 19.21 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008741/0.9016, allocations: 250.3 kB / 0.9565 GB, free: 19.11 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003432/0.9051, allocations: 2.947 MB / 0.9593 GB, free: 18.68 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.438e-05/0.9052, allocations: 104.4 kB / 0.9594 GB, free: 18.68 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001942/0.9054, allocations: 139.9 kB / 0.9596 GB, free: 18.68 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002306/0.9077, allocations: 1.43 MB / 0.961 GB, free: 18.51 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.242e-05/0.9077, allocations: 0 / 0.961 GB, free: 18.51 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001053/0.9078, allocations: 50.47 kB / 0.961 GB, free: 18.51 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.306e-05/0.9079, allocations: 29.75 kB / 0.9611 GB, free: 18.51 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002252/0.9101, allocations: 1.522 MB / 0.9625 GB, free: 18.49 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007872/0.918, allocations: 5.016 MB / 0.9674 GB, free: 17.65 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001877/0.9199, allocations: 1.317 MB / 0.9687 GB, free: 17.62 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001008/0.921, allocations: 0.8511 MB / 0.9696 GB, free: 17.61 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 8.61e-05/0.9211, allocations: 30.47 kB / 0.9696 GB, free: 17.61 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001166/0.9222, allocations: 0.8597 MB / 0.9704 GB, free: 17.54 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=92): time 2.655e-06/0.9222, allocations: 2.531 kB / 0.9704 GB, free: 17.54 MB / 0.7481 GB Notification: Performance of matching and sorting (n=92): time 0.00397/0.9262, allocations: 2.492 MB / 0.9729 GB, free: 17.37 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002051/0.9264, allocations: 327.6 kB / 0.9732 GB, free: 17.12 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004756/0.9312, allocations: 4.311 MB / 0.9774 GB, free: 16.92 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0004128/0.9316, allocations: 53.64 kB / 0.9774 GB, free: 16.89 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006546/0.9323, allocations: 0.6621 MB / 0.9781 GB, free: 16.63 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003499/0.9327, allocations: 311.8 kB / 0.9784 GB, free: 16.44 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001218/0.9339, allocations: 1.057 MB / 0.9794 GB, free: 16.26 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001055/0.934, allocations: 305.1 kB / 0.9797 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005859/0.9399, allocations: 6.994 MB / 0.9865 GB, free: 14.06 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006942/0.9469, allocations: 7.258 MB / 0.9936 GB, free: 11.4 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008547/0.9554, allocations: 8.914 MB / 1.002 GB, free: 3.895 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.295e-05/0.9555, allocations: 4 kB / 1.002 GB, free: 3.891 MB / 0.7481 GB Notification: Performance of matching and sorting (n=435) (initialization): time 0.01684/0.9723, allocations: 15.75 MB / 1.018 GB, free: 4.137 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002025/0.9726, allocations: 149.6 kB / 1.018 GB, free: 3.984 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.831e-05/0.9726, allocations: 0 / 1.018 GB, free: 3.984 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.478e-05/0.9726, allocations: 12.06 kB / 1.018 GB, free: 3.973 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001387/0.974, allocations: 299.1 kB / 1.018 GB, free: 3.695 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.8e-05/0.9741, allocations: 14.47 kB / 1.018 GB, free: 3.684 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001298/0.9754, allocations: 175.1 kB / 1.018 GB, free: 3.516 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001692/0.9755, allocations: 67.97 kB / 1.018 GB, free: 3.449 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.001151/0.9767, allocations: 0.8278 MB / 1.019 GB, free: 2.629 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003128/0.977, allocations: 138.2 kB / 1.019 GB, free: 2.492 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003411/0.9804, allocations: 2.232 MB / 1.022 GB, free: 256 kB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.448e-06/0.9805, allocations: 8 kB / 1.022 GB, free: 248 kB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.9805, allocations: 3.938 kB / 1.022 GB, free: 244 kB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.818e-06/0.9805, allocations: 3.984 kB / 1.022 GB, free: 240 kB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005023/0.9855, allocations: 3.624 MB / 1.025 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.678e-06/0.9856, allocations: 0 / 1.025 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006195/0.9862, allocations: 155.5 kB / 1.025 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.338e-06/0.9862, allocations: 7.938 kB / 1.025 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.336e-05/0.9863, allocations: 27.98 kB / 1.025 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.392e-06/0.9863, allocations: 4 kB / 1.025 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/0.9863, allocations: 2.188 kB / 1.025 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003026/0.9893, allocations: 2.172 MB / 1.027 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000586/0.9899, allocations: 382.8 kB / 1.028 GB, free: 9.793 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000206/0.9901, allocations: 27.91 kB / 1.028 GB, free: 9.766 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000704/0.9909, allocations: 62.59 kB / 1.028 GB, free: 9.707 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001677/0.991, allocations: 68.84 kB / 1.028 GB, free: 9.641 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-05/0.9911, allocations: 43.98 kB / 1.028 GB, free: 9.598 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.002509/0.9937, allocations: 2.746 MB / 1.031 GB, free: 6.852 MB / 0.7794 GB Notification: Performance of sort global known variables: time 3.71e-07/0.9937, allocations: 3.938 kB / 1.031 GB, free: 6.848 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.003022/0.9967, allocations: 0.9977 MB / 1.032 GB, free: 5.852 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.002517/0.9992, allocations: 0.9099 MB / 1.032 GB, free: 5.16 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.009299/1.009, allocations: 10.58 MB / 1.043 GB, free: 10.59 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 5.58e-06/1.009, allocations: 0 / 1.043 GB, free: 10.59 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.001603/1.01, allocations: 1.471 MB / 1.044 GB, free: 9.121 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001666/1.012, allocations: 299.4 kB / 1.045 GB, free: 8.836 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007377/1.019, allocations: 6.208 MB / 1.051 GB, free: 2.605 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001279/1.021, allocations: 1.748 MB / 1.052 GB, free: 0.8242 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.001235/1.022, allocations: 361.9 kB / 1.053 GB, free: 480 kB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003399/1.022, allocations: 135.4 kB / 1.053 GB, free: 344 kB / 0.795 GB Notification: Performance of SimCode: time 6.01e-07/1.022, allocations: 0 / 1.053 GB, free: 344 kB / 0.795 GB Notification: Performance of Templates: time 0.05039/1.073, allocations: 28.98 MB / 1.081 GB, free: 3.559 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)