Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.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.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.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.927/1.927, allocations: 288.4 MB / 303.4 MB, free: 8.09 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.001009/0.001009, allocations: 169.8 kB / 372 MB, free: 10.23 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.5/1.5, 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.0008242/0.0008243, allocations: 94.28 kB / 0.7441 GB, free: 5.891 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004146/0.0004147, allocations: 10.59 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2645/0.2649, allocations: 115.3 MB / 0.9796 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.004628/0.2696, allocations: 3.58 MB / 0.9831 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.58/0.8497, allocations: 136.6 MB / 1.116 GB, free: 2.227 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000661/0.8504, allocations: 13.56 kB / 1.116 GB, free: 2.223 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0004667/0.8509, allocations: 128 kB / 1.117 GB, free: 2.164 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.001399/0.8523, allocations: 363.5 kB / 1.117 GB, free: 2.07 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001893/0.8542, allocations: 0.5907 MB / 1.118 GB, free: 2.012 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.00122/0.8554, allocations: 1.026 MB / 1.119 GB, free: 1.848 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007332/0.8562, allocations: 463.7 kB / 1.119 GB, free: 1.754 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004952/0.8567, allocations: 301.5 kB / 1.119 GB, free: 1.676 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004089/0.8571, allocations: 329.8 kB / 1.12 GB, free: 1.582 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 8.154e-05/0.8572, allocations: 22.59 kB / 1.12 GB, free: 1.582 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008001/0.858, allocations: 261.5 kB / 1.12 GB, free: 1.57 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002121/0.8582, allocations: 169 kB / 1.12 GB, free: 1.531 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002173/0.8584, allocations: 175.1 kB / 1.12 GB, free: 17.47 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001111/0.8595, allocations: 1.036 MB / 1.121 GB, free: 17.38 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.8596, allocations: 0 / 1.121 GB, free: 17.38 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.934e-06/0.8596, allocations: 0 / 1.121 GB, free: 17.38 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.367e-05/0.8596, allocations: 1.094 kB / 1.121 GB, free: 17.38 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: 202 * Number of variables: 202 Notification: Performance of Generate backend data structure: time 0.002177/0.8618, allocations: 1.124 MB / 1.122 GB, free: 16.67 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/0.8618, allocations: 12.64 kB / 1.122 GB, free: 16.66 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009589/0.8628, allocations: 190.1 kB / 1.122 GB, free: 16.6 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001023/0.8638, allocations: 0.6821 MB / 1.123 GB, free: 16.3 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.314e-05/0.8639, allocations: 61.58 kB / 1.123 GB, free: 16.3 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.493e-05/0.864, allocations: 75.5 kB / 1.123 GB, free: 16.3 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001558/0.8656, allocations: 0.8704 MB / 1.124 GB, free: 16.14 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.961e-05/0.8656, allocations: 0 / 1.124 GB, free: 16.14 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.35e-05/0.8657, allocations: 36.38 kB / 1.124 GB, free: 16.14 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.615e-05/0.8657, allocations: 24.95 kB / 1.124 GB, free: 16.14 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001627/0.8674, allocations: 1.087 MB / 1.125 GB, free: 16.12 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003467/0.8708, allocations: 2.421 MB / 1.128 GB, free: 15.31 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001131/0.872, allocations: 0.735 MB / 1.128 GB, free: 15.26 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000445/0.8724, allocations: 287.1 kB / 1.129 GB, free: 15.25 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.549e-05/0.8725, allocations: 40.48 kB / 1.129 GB, free: 15.25 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007504/0.8733, allocations: 440.4 kB / 1.129 GB, free: 15.17 MB / 0.698 GB Notification: Performance of pre-optimization done (n=76): time 2.384e-06/0.8733, allocations: 2.969 kB / 1.129 GB, free: 15.17 MB / 0.698 GB Notification: Performance of matching and sorting (n=76): time 0.002975/0.8763, allocations: 1.123 MB / 1.13 GB, free: 14.96 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/0.8764, allocations: 190.5 kB / 1.13 GB, free: 14.74 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007523/0.8772, allocations: 0.5746 MB / 1.131 GB, free: 14.62 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.611e-05/0.8772, allocations: 44.11 kB / 1.131 GB, free: 14.58 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002879/0.8775, allocations: 373.5 kB / 1.131 GB, free: 14.4 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002096/0.8778, allocations: 255.6 kB / 1.132 GB, free: 14.24 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.702e-05/0.8778, allocations: 15.62 kB / 1.132 GB, free: 14.24 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001581/0.878, allocations: 378 kB / 1.132 GB, free: 13.93 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004439/0.8784, allocations: 248.3 kB / 1.132 GB, free: 13.93 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005507/0.879, allocations: 350.2 kB / 1.132 GB, free: 13.88 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000535/0.8795, allocations: 299.2 kB / 1.133 GB, free: 13.86 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/0.8795, allocations: 1.969 kB / 1.133 GB, free: 13.86 MB / 0.698 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001895/0.8814, allocations: 0.8227 MB / 1.134 GB, free: 13.73 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.662e-05/0.8815, allocations: 7.844 kB / 1.134 GB, free: 13.73 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/0.8815, allocations: 0 / 1.134 GB, free: 13.73 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006354/0.8822, allocations: 80.44 kB / 1.134 GB, free: 13.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006798/0.8828, allocations: 162.1 kB / 1.134 GB, free: 13.66 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002126/0.885, allocations: 1.521 MB / 1.135 GB, free: 12.29 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008103/0.8858, allocations: 84.34 kB / 1.135 GB, free: 12.25 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.541e-05/0.8859, allocations: 34.5 kB / 1.135 GB, free: 12.25 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 (89): * Single equations (assignments): 88 * 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.000484/0.8864, allocations: 260.6 kB / 1.136 GB, free: 12.11 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001246/0.8865, allocations: 75.72 kB / 1.136 GB, free: 12.07 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002235/0.8887, allocations: 1.049 MB / 1.137 GB, free: 11.75 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.253e-06/0.8888, allocations: 7.906 kB / 1.137 GB, free: 11.75 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.8888, allocations: 0 / 1.137 GB, free: 11.75 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.071e-05/0.8888, allocations: 7.938 kB / 1.137 GB, free: 11.75 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002928/0.8917, allocations: 1.875 MB / 1.139 GB, free: 11.03 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.8918, allocations: 2.219 kB / 1.139 GB, free: 11.03 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005566/0.8923, allocations: 143.9 kB / 1.139 GB, free: 11 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005137/0.8928, allocations: 90.33 kB / 1.139 GB, free: 10.96 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.157e-05/0.8929, allocations: 28.55 kB / 1.139 GB, free: 10.95 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001671/0.8946, allocations: 1.542 MB / 1.14 GB, free: 9.586 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.8946, allocations: 0 / 1.14 GB, free: 9.586 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001788/0.8964, allocations: 0.9354 MB / 1.141 GB, free: 9.27 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003478/0.8967, allocations: 266.8 kB / 1.142 GB, free: 9.082 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.947e-05/0.8969, allocations: 20.41 kB / 1.142 GB, free: 9.082 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005909/0.8975, allocations: 66.53 kB / 1.142 GB, free: 9.062 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001444/0.8976, allocations: 58.14 kB / 1.142 GB, free: 9.043 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.664e-05/0.8977, allocations: 34.84 kB / 1.142 GB, free: 9.035 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.00058/0.8983, allocations: 428.4 kB / 1.142 GB, free: 8.883 MB / 0.698 GB Notification: Performance of sort global known variables: time 6.41e-07/0.8983, allocations: 0 / 1.142 GB, free: 8.883 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00101/0.8993, allocations: 277 kB / 1.142 GB, free: 8.832 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 (87): * Single equations (assignments): 84 * 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.001232/0.9006, allocations: 0.5632 MB / 1.143 GB, free: 8.562 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001617/0.9022, allocations: 0.7922 MB / 1.144 GB, free: 8.324 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.9022, allocations: 1.25 kB / 1.144 GB, free: 8.324 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008428/0.903, allocations: 0.4906 MB / 1.144 GB, free: 8.145 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001183/0.9042, allocations: 250.2 kB / 1.144 GB, free: 8.074 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004129/0.9084, allocations: 2.068 MB / 1.146 GB, free: 6.922 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005919/0.909, allocations: 1.005 MB / 1.147 GB, free: 6.098 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0009349/0.9099, allocations: 255.5 kB / 1.148 GB, free: 5.969 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002474/0.9102, allocations: 96.2 kB / 1.148 GB, free: 5.949 MB / 0.698 GB Notification: Performance of SimCode: time 1.052e-06/0.9102, allocations: 1 kB / 1.148 GB, free: 5.949 MB / 0.698 GB Notification: Performance of Templates: time 0.02304/0.9333, allocations: 12.75 MB / 1.16 GB, free: 15.57 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.makefile (rm -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & ./Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1)