Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.756/1.756, allocations: 288.4 MB / 303.4 MB, free: 8.145 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001297/0.001297, allocations: 184.5 kB / 372 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.674/1.674, allocations: 205.4 MB / 0.6307 GB, free: 9.973 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009185/0.0009187, allocations: 93.88 kB / 0.7441 GB, free: 5.914 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005972/0.0005974, allocations: 15.62 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2708/0.2714, allocations: 115.3 MB / 0.9796 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.004765/0.2763, allocations: 4.305 MB / 0.9838 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.6935/0.9698, allocations: 136.7 MB / 1.117 GB, free: 2.254 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009117/0.9708, allocations: 21.69 kB / 1.117 GB, free: 2.246 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0005336/0.9713, allocations: 150.5 kB / 1.117 GB, free: 2.176 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1-maint.8.0.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.0.1-maint.8.0.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.0.1-maint.8.0.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.001615/0.9729, allocations: 431.8 kB / 1.118 GB, free: 2.051 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002223/0.9752, allocations: 0.6883 MB / 1.119 GB, free: 1.988 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001714/0.9769, allocations: 1.335 MB / 1.12 GB, free: 1.762 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001153/0.9781, allocations: 0.8778 MB / 1.121 GB, free: 1.602 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007677/0.9788, allocations: 426.9 kB / 1.121 GB, free: 1.473 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005122/0.9794, allocations: 461.6 kB / 1.122 GB, free: 1.324 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001162/0.9795, allocations: 29.22 kB / 1.122 GB, free: 1.324 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008641/0.9804, allocations: 272.1 kB / 1.122 GB, free: 1.312 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002155/0.9806, allocations: 224.8 kB / 1.122 GB, free: 1.254 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002935/0.9809, allocations: 267.5 kB / 1.122 GB, free: 17.17 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001577/0.9825, allocations: 1.626 MB / 1.124 GB, free: 17.05 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.9825, allocations: 4 kB / 1.124 GB, free: 17.05 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.905e-06/0.9825, allocations: 2.438 kB / 1.124 GB, free: 17.05 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.571e-05/0.9825, allocations: 1.062 kB / 1.124 GB, free: 17.05 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 364 * Number of variables: 364 Notification: Performance of Generate backend data structure: time 0.002945/0.9855, allocations: 1.483 MB / 1.125 GB, free: 16.18 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.032e-05/0.9855, allocations: 12.58 kB / 1.125 GB, free: 16.17 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001042/0.9866, allocations: 249.3 kB / 1.126 GB, free: 16.08 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001439/0.988, allocations: 0.8656 MB / 1.126 GB, free: 15.73 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001644/0.9882, allocations: 136.8 kB / 1.127 GB, free: 15.7 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000192/0.9884, allocations: 138.1 kB / 1.127 GB, free: 15.7 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00246/0.9909, allocations: 1.421 MB / 1.128 GB, free: 15.52 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.5e-05/0.9909, allocations: 3.938 kB / 1.128 GB, free: 15.51 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001234/0.991, allocations: 63.23 kB / 1.128 GB, free: 15.51 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.796e-05/0.9911, allocations: 38.44 kB / 1.128 GB, free: 15.51 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0022/0.9933, allocations: 1.465 MB / 1.13 GB, free: 15.48 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005864/0.9992, allocations: 3.782 MB / 1.133 GB, free: 14.07 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00143/1.001, allocations: 0.9153 MB / 1.134 GB, free: 13.92 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005656/1.001, allocations: 363.7 kB / 1.135 GB, free: 13.87 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.14e-05/1.001, allocations: 40.88 kB / 1.135 GB, free: 13.86 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001008/1.002, allocations: 0.5469 MB / 1.135 GB, free: 13.65 MB / 0.698 GB Notification: Performance of pre-optimization done (n=93): time 2.945e-06/1.002, allocations: 0 / 1.135 GB, free: 13.65 MB / 0.698 GB Notification: Performance of matching and sorting (n=93): time 0.003416/1.006, allocations: 1.381 MB / 1.136 GB, free: 13.27 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001207/1.006, allocations: 193.8 kB / 1.137 GB, free: 13.05 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001203/1.007, allocations: 0.7475 MB / 1.137 GB, free: 12.8 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.83e-05/1.007, allocations: 42.39 kB / 1.137 GB, free: 12.77 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005351/1.008, allocations: 0.576 MB / 1.138 GB, free: 12.42 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003089/1.008, allocations: 311.9 kB / 1.138 GB, free: 12.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.682e-05/1.008, allocations: 17.31 kB / 1.138 GB, free: 12.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001617/1.008, allocations: 345 kB / 1.139 GB, free: 11.88 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006416/1.009, allocations: 330 kB / 1.139 GB, free: 11.83 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007511/1.01, allocations: 440.5 kB / 1.139 GB, free: 11.71 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007379/1.01, allocations: 389.2 kB / 1.14 GB, free: 11.68 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/1.01, allocations: 0 / 1.14 GB, free: 11.68 MB / 0.698 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.002386/1.013, allocations: 1.025 MB / 1.141 GB, free: 11.44 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.546e-05/1.013, allocations: 7.5 kB / 1.141 GB, free: 11.44 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/1.013, allocations: 1.438 kB / 1.141 GB, free: 11.44 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006209/1.014, allocations: 85.33 kB / 1.141 GB, free: 11.41 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008768/1.014, allocations: 209.1 kB / 1.141 GB, free: 11.36 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002255/1.017, allocations: 1.526 MB / 1.143 GB, free: 9.996 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001046/1.018, allocations: 107.5 kB / 1.143 GB, free: 9.938 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001636/1.018, allocations: 44.34 kB / 1.143 GB, free: 9.93 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0009487/1.019, allocations: 323.4 kB / 1.143 GB, free: 9.789 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002868/1.019, allocations: 96.91 kB / 1.143 GB, free: 9.738 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003314/1.023, allocations: 1.308 MB / 1.144 GB, free: 9.359 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.586e-05/1.023, allocations: 9.594 kB / 1.144 GB, free: 9.359 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/1.023, allocations: 1.719 kB / 1.144 GB, free: 9.359 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.227e-05/1.023, allocations: 3.984 kB / 1.144 GB, free: 9.355 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004888/1.027, allocations: 2.496 MB / 1.147 GB, free: 8.48 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.803e-06/1.027, allocations: 4 kB / 1.147 GB, free: 8.477 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007867/1.028, allocations: 182 kB / 1.147 GB, free: 8.441 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005462/1.029, allocations: 87.77 kB / 1.147 GB, free: 8.406 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.237e-05/1.029, allocations: 27.52 kB / 1.147 GB, free: 8.402 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001973/1.031, allocations: 1.554 MB / 1.149 GB, free: 7.035 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/1.031, allocations: 1.031 kB / 1.149 GB, free: 7.035 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002397/1.033, allocations: 1.113 MB / 1.15 GB, free: 6.699 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006251/1.034, allocations: 338.1 kB / 1.15 GB, free: 6.48 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002429/1.034, allocations: 23.42 kB / 1.15 GB, free: 6.477 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009036/1.035, allocations: 84.08 kB / 1.15 GB, free: 6.453 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001702/1.035, allocations: 72.08 kB / 1.15 GB, free: 6.426 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001013/1.035, allocations: 35.89 kB / 1.15 GB, free: 6.422 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001014/1.036, allocations: 0.5462 MB / 1.151 GB, free: 6.25 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.31e-07/1.036, allocations: 0 / 1.151 GB, free: 6.25 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001634/1.038, allocations: 391.8 kB / 1.151 GB, free: 6.156 MB / 0.698 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 (107): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001447/1.04, allocations: 0.5603 MB / 1.152 GB, free: 5.898 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002132/1.042, allocations: 0.9676 MB / 1.153 GB, free: 5.641 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/1.042, allocations: 5.188 kB / 1.153 GB, free: 5.637 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001165/1.043, allocations: 0.5794 MB / 1.153 GB, free: 5.445 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001582/1.045, allocations: 275.9 kB / 1.153 GB, free: 5.363 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007022/1.052, allocations: 2.921 MB / 1.156 GB, free: 3.723 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001367/1.053, allocations: 1.169 MB / 1.157 GB, free: 2.828 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001352/1.054, allocations: 286.5 kB / 1.158 GB, free: 2.691 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004178/1.055, allocations: 126.5 kB / 1.158 GB, free: 2.66 MB / 0.698 GB Notification: Performance of SimCode: time 6.22e-07/1.055, allocations: 0 / 1.158 GB, free: 2.66 MB / 0.698 GB Notification: Performance of Templates: time 0.02797/1.083, allocations: 15.6 MB / 1.173 GB, free: 10.89 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.makefile (rm -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & ./Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1)