Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.615/1.615, allocations: 287.4 MB / 303.2 MB, free: 8.137 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.001213/0.001213, allocations: 188.9 kB / 371.8 MB, free: 10.82 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.642/1.642, allocations: 205.4 MB / 0.6304 GB, free: 10.59 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.000874/0.000874, allocations: 93.06 kB / 0.7438 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003685/0.0003685, allocations: 14.66 kB / 0.8667 GB, free: 140.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1993/0.1997, allocations: 115.3 MB / 0.9793 GB, free: 28.22 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.004467/0.2042, allocations: 4.309 MB / 0.9835 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.6403/0.8445, allocations: 136.8 MB / 1.117 GB, free: 1.656 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001189/0.8458, allocations: 21.06 kB / 1.117 GB, free: 1.648 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.000522/0.8463, allocations: 147.4 kB / 1.117 GB, free: 1.578 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0/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.0/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.0/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.001377/0.8477, allocations: 427.3 kB / 1.118 GB, free: 1.457 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001959/0.8497, allocations: 0.6934 MB / 1.118 GB, free: 1.391 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001705/0.8514, allocations: 1.362 MB / 1.12 GB, free: 1.148 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001412/0.8528, allocations: 1.044 MB / 1.121 GB, free: 16.92 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007856/0.8536, allocations: 427.8 kB / 1.121 GB, free: 16.79 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005469/0.8542, allocations: 464.4 kB / 1.121 GB, free: 16.64 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001035/0.8543, allocations: 28.94 kB / 1.121 GB, free: 16.64 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007517/0.855, allocations: 271.9 kB / 1.122 GB, free: 16.63 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002119/0.8553, allocations: 221.6 kB / 1.122 GB, free: 16.57 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.000192/0.8555, allocations: 266.5 kB / 1.122 GB, free: 16.49 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001765/0.8572, allocations: 1.631 MB / 1.124 GB, free: 16.37 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.8573, allocations: 1.969 kB / 1.124 GB, free: 16.37 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.863e-06/0.8573, allocations: 0 / 1.124 GB, free: 16.37 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.219e-05/0.8573, allocations: 0 / 1.124 GB, free: 16.37 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.002525/0.8598, allocations: 1.468 MB / 1.125 GB, free: 15.5 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.8599, allocations: 12.06 kB / 1.125 GB, free: 15.5 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009039/0.8608, allocations: 244.2 kB / 1.125 GB, free: 15.41 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001122/0.8619, allocations: 0.9029 MB / 1.126 GB, free: 15.03 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001195/0.8621, allocations: 135.7 kB / 1.127 GB, free: 14.99 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001427/0.8622, allocations: 135.7 kB / 1.127 GB, free: 14.99 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002161/0.8644, allocations: 1.423 MB / 1.128 GB, free: 14.81 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.846e-05/0.8644, allocations: 3.938 kB / 1.128 GB, free: 14.8 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001055/0.8645, allocations: 58.44 kB / 1.128 GB, free: 14.8 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.511e-05/0.8646, allocations: 38.52 kB / 1.128 GB, free: 14.8 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0022/0.8668, allocations: 1.464 MB / 1.13 GB, free: 14.78 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005392/0.8722, allocations: 3.798 MB / 1.133 GB, free: 13.75 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001407/0.8736, allocations: 0.9053 MB / 1.134 GB, free: 13.7 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005874/0.8742, allocations: 365.2 kB / 1.134 GB, free: 13.68 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.392e-05/0.8743, allocations: 45.41 kB / 1.135 GB, free: 13.68 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009058/0.8752, allocations: 0.5497 MB / 1.135 GB, free: 13.6 MB / 0.698 GB Notification: Performance of pre-optimization done (n=93): time 2.936e-06/0.8753, allocations: 0 / 1.135 GB, free: 13.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=93): time 0.003048/0.8783, allocations: 1.378 MB / 1.136 GB, free: 13.38 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.579e-05/0.8784, allocations: 200.3 kB / 1.137 GB, free: 13.15 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000887/0.8793, allocations: 0.7388 MB / 1.137 GB, free: 12.92 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.431e-05/0.8794, allocations: 43.58 kB / 1.137 GB, free: 12.89 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003657/0.8797, allocations: 0.5801 MB / 1.138 GB, free: 12.54 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002113/0.88, allocations: 310.1 kB / 1.138 GB, free: 12.32 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.208e-05/0.88, allocations: 18.22 kB / 1.138 GB, free: 12.32 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.8801, allocations: 338.4 kB / 1.139 GB, free: 12.01 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005687/0.8807, allocations: 334.5 kB / 1.139 GB, free: 11.95 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006586/0.8814, allocations: 434.7 kB / 1.139 GB, free: 11.84 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00126/0.8826, allocations: 0.7635 MB / 1.14 GB, free: 11.73 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.8826, allocations: 0 / 1.14 GB, free: 11.73 MB / 0.698 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.00203/0.8847, allocations: 1.037 MB / 1.141 GB, free: 11.48 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.8847, allocations: 5.438 kB / 1.141 GB, free: 11.48 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/0.8847, allocations: 1.125 kB / 1.141 GB, free: 11.48 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005565/0.8853, allocations: 88.05 kB / 1.141 GB, free: 11.45 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008273/0.8861, allocations: 202.8 kB / 1.141 GB, free: 11.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001913/0.888, allocations: 1.526 MB / 1.143 GB, free: 10.04 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008826/0.8889, allocations: 105.9 kB / 1.143 GB, free: 9.984 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001056/0.8891, allocations: 44.34 kB / 1.143 GB, free: 9.973 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.0008533/0.8899, allocations: 329.5 kB / 1.143 GB, free: 9.828 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002151/0.8901, allocations: 101.3 kB / 1.143 GB, free: 9.773 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00292/0.8931, allocations: 1.292 MB / 1.145 GB, free: 9.41 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.696e-05/0.8931, allocations: 7.969 kB / 1.145 GB, free: 9.402 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.8931, allocations: 0 / 1.145 GB, free: 9.402 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005589/0.8937, allocations: 345.5 kB / 1.145 GB, free: 9.176 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001421/0.8938, allocations: 21.72 kB / 1.145 GB, free: 9.176 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006682/0.8945, allocations: 76.84 kB / 1.145 GB, free: 9.156 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001439/0.8947, allocations: 74.73 kB / 1.145 GB, free: 9.125 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002085/0.8968, allocations: 1.076 MB / 1.146 GB, free: 8.848 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.00239/0.8992, allocations: 1.601 MB / 1.148 GB, free: 8.398 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000647/0.8998, allocations: 415.5 kB / 1.148 GB, free: 8.332 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0008068/0.9006, allocations: 0.5441 MB / 1.149 GB, free: 8.16 MB / 0.698 GB Notification: Performance of Backend: time 2.9e-07/0.9007, allocations: 1.75 kB / 1.149 GB, free: 8.16 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003059/0.9037, allocations: 1.265 MB / 1.15 GB, free: 7.711 MB / 0.698 GB Notification: Performance of SimCode: time 0.003936/0.9077, allocations: 3.088 MB / 1.153 GB, free: 5.625 MB / 0.698 GB Notification: Performance of Templates: time 0.02647/0.9342, allocations: 16.9 MB / 1.169 GB, free: 13.23 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.makefile (rm -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & ./Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1)