Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.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.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.888/1.888, allocations: 288.4 MB / 303.4 MB, free: 8.082 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.001199/0.001199, allocations: 182.6 kB / 372 MB, free: 10.26 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.646/1.646, allocations: 205.4 MB / 0.6307 GB, free: 10.01 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.0009512/0.000951, allocations: 90.19 kB / 0.7441 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004129/0.0004131, allocations: 14.55 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2316/0.2321, allocations: 115.3 MB / 0.9796 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.004821/0.2369, allocations: 4.282 MB / 0.9838 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.6098/0.8468, allocations: 136.9 MB / 1.117 GB, free: 2.191 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008499/0.8476, allocations: 17.09 kB / 1.117 GB, free: 2.188 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0005637/0.8482, allocations: 142 kB / 1.118 GB, free: 2.121 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.001604/0.8498, allocations: 451.2 kB / 1.118 GB, free: 1.992 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002073/0.8519, allocations: 0.6583 MB / 1.119 GB, free: 1.93 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0017/0.8536, allocations: 1.36 MB / 1.12 GB, free: 1.695 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001108/0.8547, allocations: 0.7759 MB / 1.121 GB, free: 1.543 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008012/0.8556, allocations: 453.3 kB / 1.121 GB, free: 1.406 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005657/0.8561, allocations: 485.7 kB / 1.122 GB, free: 1.262 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.000109/0.8563, allocations: 29.5 kB / 1.122 GB, free: 1.262 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007995/0.8571, allocations: 276.7 kB / 1.122 GB, free: 1.246 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002324/0.8573, allocations: 227.9 kB / 1.122 GB, free: 1.188 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0003036/0.8576, allocations: 257.4 kB / 1.122 GB, free: 17.1 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001532/0.8592, allocations: 1.515 MB / 1.124 GB, free: 16.99 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.8592, allocations: 0 / 1.124 GB, free: 16.99 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.903e-06/0.8592, allocations: 1.188 kB / 1.124 GB, free: 16.99 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.254e-05/0.8592, allocations: 0 / 1.124 GB, free: 16.99 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: 351 * Number of variables: 351 Notification: Performance of Generate backend data structure: time 0.002599/0.8618, allocations: 1.459 MB / 1.125 GB, free: 16.12 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.8619, allocations: 9.969 kB / 1.125 GB, free: 16.12 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009439/0.8628, allocations: 244 kB / 1.126 GB, free: 16.04 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001213/0.864, allocations: 0.8489 MB / 1.126 GB, free: 15.68 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.873e-05/0.8641, allocations: 101.1 kB / 1.126 GB, free: 15.68 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001562/0.8643, allocations: 133.2 kB / 1.127 GB, free: 15.68 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002212/0.8665, allocations: 1.383 MB / 1.128 GB, free: 15.49 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.503e-05/0.8666, allocations: 0 / 1.128 GB, free: 15.49 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001148/0.8667, allocations: 57.84 kB / 1.128 GB, free: 15.49 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.649e-05/0.8667, allocations: 40.83 kB / 1.128 GB, free: 15.48 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00215/0.8689, allocations: 1.472 MB / 1.129 GB, free: 15.46 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005321/0.8742, allocations: 3.605 MB / 1.133 GB, free: 14.18 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001428/0.8757, allocations: 0.9537 MB / 1.134 GB, free: 14.03 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005856/0.8763, allocations: 399.9 kB / 1.134 GB, free: 13.97 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.12e-05/0.8764, allocations: 47.61 kB / 1.134 GB, free: 13.96 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009181/0.8773, allocations: 0.5816 MB / 1.135 GB, free: 13.75 MB / 0.698 GB Notification: Performance of pre-optimization done (n=104): time 2.585e-06/0.8773, allocations: 0 / 1.135 GB, free: 13.75 MB / 0.698 GB Notification: Performance of matching and sorting (n=104): time 0.003636/0.8809, allocations: 1.479 MB / 1.136 GB, free: 13.35 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001123/0.8811, allocations: 196.2 kB / 1.137 GB, free: 13.12 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001096/0.8822, allocations: 0.7427 MB / 1.137 GB, free: 12.87 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.298e-05/0.8823, allocations: 43.67 kB / 1.137 GB, free: 12.84 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003934/0.8827, allocations: 0.5497 MB / 1.138 GB, free: 12.51 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002953/0.883, allocations: 345.1 kB / 1.138 GB, free: 12.26 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.211e-05/0.8831, allocations: 23.38 kB / 1.138 GB, free: 12.26 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001778/0.8832, allocations: 398.8 kB / 1.139 GB, free: 11.92 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006066/0.8839, allocations: 360.3 kB / 1.139 GB, free: 11.87 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007584/0.8846, allocations: 472.2 kB / 1.139 GB, free: 11.75 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007883/0.8854, allocations: 424.8 kB / 1.14 GB, free: 11.71 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.8854, allocations: 3 kB / 1.14 GB, free: 11.71 MB / 0.698 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002461/0.8879, allocations: 1.104 MB / 1.141 GB, free: 11.47 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.633e-05/0.8879, allocations: 5.5 kB / 1.141 GB, free: 11.47 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.536e-05/0.888, allocations: 5.391 kB / 1.141 GB, free: 11.46 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006157/0.8886, allocations: 91.3 kB / 1.141 GB, free: 11.43 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001009/0.8896, allocations: 226.4 kB / 1.141 GB, free: 11.38 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002133/0.8918, allocations: 1.537 MB / 1.143 GB, free: 10 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001176/0.8929, allocations: 114.8 kB / 1.143 GB, free: 9.945 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001562/0.8931, allocations: 48.17 kB / 1.143 GB, free: 9.934 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (125): * Single equations (assignments): 124 * 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.0009898/0.8941, allocations: 306.9 kB / 1.143 GB, free: 9.801 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003856/0.8945, allocations: 107.3 kB / 1.143 GB, free: 9.742 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003721/0.8982, allocations: 1.415 MB / 1.145 GB, free: 9.324 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.58e-05/0.8983, allocations: 11.03 kB / 1.145 GB, free: 9.324 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.8983, allocations: 0 / 1.145 GB, free: 9.324 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.822e-05/0.8983, allocations: 11.38 kB / 1.145 GB, free: 9.316 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005971/0.9043, allocations: 2.55 MB / 1.147 GB, free: 8.426 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.733e-06/0.9043, allocations: 0 / 1.147 GB, free: 8.426 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008773/0.9052, allocations: 196.2 kB / 1.147 GB, free: 8.387 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005706/0.9058, allocations: 85.67 kB / 1.147 GB, free: 8.352 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001015/0.9059, allocations: 30.86 kB / 1.147 GB, free: 8.348 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002061/0.908, allocations: 1.559 MB / 1.149 GB, free: 6.977 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.818e-06/0.908, allocations: 1.219 kB / 1.149 GB, free: 6.977 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002519/0.9105, allocations: 1.169 MB / 1.15 GB, free: 6.633 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007656/0.9113, allocations: 351 kB / 1.15 GB, free: 6.402 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002625/0.9116, allocations: 20.94 kB / 1.15 GB, free: 6.402 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008628/0.9124, allocations: 72.94 kB / 1.15 GB, free: 6.383 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001737/0.9126, allocations: 77.53 kB / 1.151 GB, free: 6.355 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.274e-05/0.9127, allocations: 40.25 kB / 1.151 GB, free: 6.348 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001023/0.9137, allocations: 0.5509 MB / 1.151 GB, free: 6.18 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9137, allocations: 4 kB / 1.151 GB, free: 6.176 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001561/0.9153, allocations: 383.2 kB / 1.152 GB, free: 6.094 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 (115): * Single equations (assignments): 112 * 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.001466/0.9168, allocations: 0.5581 MB / 1.152 GB, free: 5.828 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00239/0.9192, allocations: 1.034 MB / 1.153 GB, free: 5.566 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.9192, allocations: 4 kB / 1.153 GB, free: 5.562 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.00114/0.9204, allocations: 0.6102 MB / 1.154 GB, free: 5.371 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001581/0.9219, allocations: 275.7 kB / 1.154 GB, free: 5.297 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006024/0.928, allocations: 2.926 MB / 1.157 GB, free: 3.652 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008625/0.9289, allocations: 1.161 MB / 1.158 GB, free: 2.766 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001123/0.93, allocations: 294.2 kB / 1.158 GB, free: 2.625 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003683/0.9304, allocations: 128.7 kB / 1.158 GB, free: 2.598 MB / 0.698 GB Notification: Performance of SimCode: time 1.333e-06/0.9304, allocations: 4 kB / 1.158 GB, free: 2.594 MB / 0.698 GB Notification: Performance of Templates: time 0.02764/0.958, allocations: 16.09 MB / 1.174 GB, free: 10.58 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.makefile (rm -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & ./Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1)