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 2.611/2.611, allocations: 287.5 MB / 302.4 MB, free: 8.277 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.001469/0.00147, allocations: 178.7 kB / 371 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.133/2.133, allocations: 205.4 MB / 0.6297 GB, free: 10.63 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.001036/0.001036, allocations: 102.9 kB / 0.743 GB, free: 6.629 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000507/0.0005072, allocations: 11.27 kB / 0.8658 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2319/0.2325, allocations: 115.3 MB / 0.9783 GB, free: 28.4 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.006714/0.2393, allocations: 4.305 MB / 0.9825 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.9001/1.139, allocations: 136.7 MB / 1.116 GB, free: 1.594 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001371/1.141, allocations: 21.72 kB / 1.116 GB, free: 1.586 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0008547/1.142, allocations: 144.6 kB / 1.116 GB, free: 1.516 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.002686/1.144, allocations: 435.2 kB / 1.117 GB, free: 1.391 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003667/1.148, allocations: 0.6887 MB / 1.117 GB, free: 1.332 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.003057/1.151, allocations: 1.341 MB / 1.119 GB, free: 1.102 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002197/1.153, allocations: 0.8764 MB / 1.119 GB, free: 0.9453 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001448/1.155, allocations: 427.1 kB / 1.12 GB, free: 0.8164 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001367/1.156, allocations: 460.5 kB / 1.12 GB, free: 0.668 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0003949/1.157, allocations: 29.34 kB / 1.12 GB, free: 0.668 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00151/1.158, allocations: 268.9 kB / 1.121 GB, free: 0.6562 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003907/1.159, allocations: 230 kB / 1.121 GB, free: 0.5938 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0005184/1.159, allocations: 268.6 kB / 1.121 GB, free: 0.5078 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.003555/1.163, allocations: 1.624 MB / 1.123 GB, free: 404 kB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.189e-05/1.163, allocations: 0 / 1.123 GB, free: 404 kB / 0.6823 GB Notification: Performance of FrontEnd: time 4.418e-06/1.163, allocations: 2.531 kB / 1.123 GB, free: 404 kB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.509e-05/1.163, allocations: 0 / 1.123 GB, free: 404 kB / 0.6823 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.005139/1.168, allocations: 1.484 MB / 1.124 GB, free: 15.52 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.401e-05/1.168, allocations: 14.23 kB / 1.124 GB, free: 15.52 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001989/1.17, allocations: 255 kB / 1.124 GB, free: 15.43 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002583/1.173, allocations: 0.8658 MB / 1.125 GB, free: 15.08 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000214/1.173, allocations: 136.9 kB / 1.125 GB, free: 15.04 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004077/1.174, allocations: 136.6 kB / 1.126 GB, free: 15.04 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004706/1.178, allocations: 1.426 MB / 1.127 GB, free: 14.85 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.417e-05/1.179, allocations: 0 / 1.127 GB, free: 14.85 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002464/1.179, allocations: 66.34 kB / 1.127 GB, free: 14.85 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.138e-05/1.179, allocations: 37.52 kB / 1.127 GB, free: 14.85 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005066/1.184, allocations: 1.454 MB / 1.128 GB, free: 14.83 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01742/1.201, allocations: 3.79 MB / 1.132 GB, free: 13.8 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004605/1.206, allocations: 0.9044 MB / 1.133 GB, free: 13.75 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001987/1.208, allocations: 374 kB / 1.133 GB, free: 13.73 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002777/1.209, allocations: 49.81 kB / 1.133 GB, free: 13.73 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003075/1.212, allocations: 0.5455 MB / 1.134 GB, free: 13.65 MB / 0.698 GB Notification: Performance of pre-optimization done (n=93): time 9.007e-06/1.212, allocations: 0 / 1.134 GB, free: 13.65 MB / 0.698 GB Notification: Performance of matching and sorting (n=93): time 0.01043/1.222, allocations: 1.381 MB / 1.135 GB, free: 13.36 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002202/1.222, allocations: 191.2 kB / 1.135 GB, free: 13.14 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00272/1.225, allocations: 0.7441 MB / 1.136 GB, free: 12.9 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003998/1.226, allocations: 43.55 kB / 1.136 GB, free: 12.87 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001045/1.227, allocations: 0.5726 MB / 1.137 GB, free: 12.52 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000899/1.228, allocations: 318.2 kB / 1.137 GB, free: 12.3 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001595/1.228, allocations: 15.44 kB / 1.137 GB, free: 12.3 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002696/1.228, allocations: 345.8 kB / 1.137 GB, free: 11.98 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001984/1.23, allocations: 324.7 kB / 1.138 GB, free: 11.93 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002394/1.233, allocations: 435.7 kB / 1.138 GB, free: 11.82 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002353/1.235, allocations: 390 kB / 1.139 GB, free: 11.78 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.741e-05/1.235, allocations: 1.062 kB / 1.139 GB, free: 11.78 MB / 0.698 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.006951/1.242, allocations: 1.035 MB / 1.14 GB, free: 11.54 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.457e-05/1.242, allocations: 9 kB / 1.14 GB, free: 11.54 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.656e-05/1.242, allocations: 0 / 1.14 GB, free: 11.54 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001452/1.244, allocations: 82.41 kB / 1.14 GB, free: 11.51 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002983/1.247, allocations: 202 kB / 1.14 GB, free: 11.46 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00489/1.252, allocations: 1.534 MB / 1.141 GB, free: 10.09 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002602/1.254, allocations: 111.1 kB / 1.141 GB, free: 10.04 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004845/1.255, allocations: 46.78 kB / 1.141 GB, free: 10.02 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.001977/1.257, allocations: 315.4 kB / 1.142 GB, free: 9.891 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006221/1.258, allocations: 97.78 kB / 1.142 GB, free: 9.84 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008989/1.267, allocations: 1.306 MB / 1.143 GB, free: 9.461 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.993e-05/1.267, allocations: 10.12 kB / 1.143 GB, free: 9.461 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.908e-06/1.267, allocations: 5.156 kB / 1.143 GB, free: 9.457 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.209e-05/1.267, allocations: 7.969 kB / 1.143 GB, free: 9.449 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01264/1.28, allocations: 2.499 MB / 1.146 GB, free: 8.57 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-05/1.28, allocations: 1.281 kB / 1.146 GB, free: 8.57 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002634/1.282, allocations: 181.5 kB / 1.146 GB, free: 8.535 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001454/1.284, allocations: 87.02 kB / 1.146 GB, free: 8.5 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003541/1.284, allocations: 29.77 kB / 1.146 GB, free: 8.492 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004008/1.288, allocations: 1.557 MB / 1.147 GB, free: 7.125 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/1.288, allocations: 0 / 1.147 GB, free: 7.125 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004432/1.293, allocations: 1.113 MB / 1.149 GB, free: 6.789 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001143/1.294, allocations: 341.4 kB / 1.149 GB, free: 6.566 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003201/1.294, allocations: 20.62 kB / 1.149 GB, free: 6.566 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001577/1.296, allocations: 82.16 kB / 1.149 GB, free: 6.543 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003047/1.296, allocations: 70.11 kB / 1.149 GB, free: 6.516 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001663/1.296, allocations: 41.81 kB / 1.149 GB, free: 6.508 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001381/1.298, allocations: 0.5418 MB / 1.15 GB, free: 6.34 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.81e-07/1.298, allocations: 2.859 kB / 1.15 GB, free: 6.34 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002229/1.3, allocations: 378.4 kB / 1.15 GB, free: 6.254 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.002055/1.302, allocations: 0.5681 MB / 1.15 GB, free: 6.004 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003882/1.306, allocations: 0.9655 MB / 1.151 GB, free: 5.754 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 9.367e-06/1.306, allocations: 0.7188 kB / 1.151 GB, free: 5.754 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002206/1.308, allocations: 0.5799 MB / 1.152 GB, free: 5.562 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002795/1.311, allocations: 269.9 kB / 1.152 GB, free: 5.484 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00998/1.321, allocations: 2.921 MB / 1.155 GB, free: 3.836 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001691/1.323, allocations: 1.163 MB / 1.156 GB, free: 2.949 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002008/1.325, allocations: 290.8 kB / 1.157 GB, free: 2.809 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006159/1.326, allocations: 116.8 kB / 1.157 GB, free: 2.785 MB / 0.698 GB Notification: Performance of SimCode: time 2.846e-06/1.326, allocations: 0 / 1.157 GB, free: 2.785 MB / 0.698 GB Notification: Performance of Templates: time 0.04825/1.374, allocations: 15.62 MB / 1.172 GB, free: 10.99 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)