Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.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.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.602/1.602, allocations: 287.5 MB / 302.6 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.001164/0.001164, allocations: 184.8 kB / 371.2 MB, free: 10.85 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.675/1.675, allocations: 205.4 MB / 0.6298 GB, free: 10.61 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.0008232/0.0008232, allocations: 98.25 kB / 0.7432 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005159/0.0005162, allocations: 16.2 kB / 0.8661 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2601/0.2607, allocations: 115.3 MB / 0.9787 GB, free: 28.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.006417/0.2671, allocations: 4.286 MB / 0.9829 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.6009/0.868, allocations: 136.9 MB / 1.117 GB, free: 1.648 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008605/0.8689, allocations: 16.81 kB / 1.117 GB, free: 1.645 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0005166/0.8695, allocations: 139.8 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.001434/0.8709, allocations: 445.1 kB / 1.117 GB, free: 1.457 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002012/0.8729, allocations: 0.664 MB / 1.118 GB, free: 1.391 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.00154/0.8745, allocations: 1.39 MB / 1.119 GB, free: 1.141 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001239/0.8757, allocations: 0.9483 MB / 1.12 GB, free: 0.9219 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008445/0.8766, allocations: 450.7 kB / 1.12 GB, free: 0.7891 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000566/0.8772, allocations: 480 kB / 1.121 GB, free: 0.6445 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001045/0.8773, allocations: 29.59 kB / 1.121 GB, free: 0.6445 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007019/0.878, allocations: 275.6 kB / 1.121 GB, free: 0.6289 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002262/0.8782, allocations: 229.4 kB / 1.121 GB, free: 0.5703 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002219/0.8785, allocations: 258.8 kB / 1.122 GB, free: 16.48 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001637/0.8801, allocations: 1.515 MB / 1.123 GB, free: 16.37 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.8801, allocations: 2.906 kB / 1.123 GB, free: 16.37 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.593e-06/0.8801, allocations: 0 / 1.123 GB, free: 16.37 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.38e-05/0.8802, allocations: 0 / 1.123 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: 351 * Number of variables: 351 Notification: Performance of Generate backend data structure: time 0.002141/0.8823, allocations: 1.448 MB / 1.125 GB, free: 15.5 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 2.223e-05/0.8823, allocations: 10.84 kB / 1.125 GB, free: 15.5 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008545/0.8832, allocations: 248.9 kB / 1.125 GB, free: 15.41 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001082/0.8843, allocations: 0.8766 MB / 1.126 GB, free: 15.04 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.433e-05/0.8844, allocations: 103.2 kB / 1.126 GB, free: 15.03 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001451/0.8845, allocations: 132.8 kB / 1.126 GB, free: 15.03 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001999/0.8865, allocations: 1.381 MB / 1.127 GB, free: 14.85 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.502e-05/0.8866, allocations: 0 / 1.127 GB, free: 14.85 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000124/0.8867, allocations: 56.53 kB / 1.127 GB, free: 14.85 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.086e-05/0.8867, allocations: 35.03 kB / 1.127 GB, free: 14.85 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002182/0.8889, allocations: 1.47 MB / 1.129 GB, free: 14.82 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005165/0.8941, allocations: 3.609 MB / 1.132 GB, free: 13.82 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001513/0.8956, allocations: 0.9479 MB / 1.133 GB, free: 13.77 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006187/0.8962, allocations: 406.1 kB / 1.134 GB, free: 13.75 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.265e-05/0.8963, allocations: 50.95 kB / 1.134 GB, free: 13.75 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009465/0.8973, allocations: 0.5761 MB / 1.134 GB, free: 13.66 MB / 0.698 GB Notification: Performance of pre-optimization done (n=104): time 2.484e-06/0.8973, allocations: 0 / 1.134 GB, free: 13.66 MB / 0.698 GB Notification: Performance of matching and sorting (n=104): time 0.003473/0.9008, allocations: 1.487 MB / 1.136 GB, free: 13.44 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.628e-05/0.9009, allocations: 192.2 kB / 1.136 GB, free: 13.22 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009244/0.9018, allocations: 0.7369 MB / 1.137 GB, free: 13.01 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.225e-05/0.9019, allocations: 46.52 kB / 1.137 GB, free: 12.98 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003853/0.9023, allocations: 0.5552 MB / 1.137 GB, free: 12.64 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002634/0.9026, allocations: 348.3 kB / 1.137 GB, free: 12.39 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.151e-05/0.9027, allocations: 21.25 kB / 1.138 GB, free: 12.39 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001744/0.9028, allocations: 403.6 kB / 1.138 GB, free: 12.05 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006573/0.9035, allocations: 357.4 kB / 1.138 GB, free: 12 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007603/0.9043, allocations: 470 kB / 1.139 GB, free: 11.88 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001427/0.9057, allocations: 0.8342 MB / 1.139 GB, free: 11.77 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.9057, allocations: 1.094 kB / 1.139 GB, free: 11.77 MB / 0.698 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002356/0.9081, allocations: 1.117 MB / 1.141 GB, free: 11.52 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.9081, allocations: 7.094 kB / 1.141 GB, free: 11.52 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.9081, allocations: 1.891 kB / 1.141 GB, free: 11.52 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005854/0.9087, allocations: 82.09 kB / 1.141 GB, free: 11.48 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000981/0.9097, allocations: 225.9 kB / 1.141 GB, free: 11.43 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001914/0.9116, allocations: 1.543 MB / 1.142 GB, free: 10.06 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008923/0.9125, allocations: 111.6 kB / 1.142 GB, free: 10 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.327e-05/0.9126, allocations: 60.91 kB / 1.143 GB, free: 9.98 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.0006137/0.9133, allocations: 308 kB / 1.143 GB, free: 9.844 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001635/0.9134, allocations: 98.75 kB / 1.143 GB, free: 9.793 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003034/0.9165, allocations: 1.397 MB / 1.144 GB, free: 9.395 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.196e-05/0.9165, allocations: 13.73 kB / 1.144 GB, free: 9.395 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.9165, allocations: 0 / 1.144 GB, free: 9.395 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.303e-05/0.9165, allocations: 7.969 kB / 1.144 GB, free: 9.387 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004114/0.9207, allocations: 2.547 MB / 1.147 GB, free: 8.504 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.209e-06/0.9207, allocations: 5.156 kB / 1.147 GB, free: 8.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008404/0.9215, allocations: 195.8 kB / 1.147 GB, free: 8.461 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005243/0.9221, allocations: 84.69 kB / 1.147 GB, free: 8.43 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.889e-05/0.9221, allocations: 31.94 kB / 1.147 GB, free: 8.422 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001734/0.9239, allocations: 1.561 MB / 1.149 GB, free: 7.047 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.9239, allocations: 8 kB / 1.149 GB, free: 7.039 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002269/0.9262, allocations: 1.166 MB / 1.15 GB, free: 6.695 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004953/0.9267, allocations: 342 kB / 1.15 GB, free: 6.473 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001397/0.9268, allocations: 23.94 kB / 1.15 GB, free: 6.473 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000704/0.9275, allocations: 68.91 kB / 1.15 GB, free: 6.457 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000153/0.9277, allocations: 86.17 kB / 1.15 GB, free: 6.418 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.861e-05/0.9278, allocations: 39.45 kB / 1.15 GB, free: 6.414 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007562/0.9286, allocations: 0.5513 MB / 1.151 GB, free: 6.238 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9286, allocations: 0 / 1.151 GB, free: 6.238 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001084/0.9297, allocations: 388.3 kB / 1.151 GB, free: 6.152 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.00119/0.9309, allocations: 0.559 MB / 1.152 GB, free: 5.91 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002011/0.9329, allocations: 1.038 MB / 1.153 GB, free: 5.648 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/0.9329, allocations: 5.344 kB / 1.153 GB, free: 5.645 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001024/0.9339, allocations: 0.6087 MB / 1.153 GB, free: 5.449 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001276/0.9352, allocations: 273.8 kB / 1.154 GB, free: 5.375 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005288/0.9405, allocations: 2.915 MB / 1.156 GB, free: 3.738 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007678/0.9413, allocations: 1.164 MB / 1.158 GB, free: 2.852 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001013/0.9423, allocations: 295.9 kB / 1.158 GB, free: 2.707 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000337/0.9427, allocations: 135.7 kB / 1.158 GB, free: 2.676 MB / 0.698 GB Notification: Performance of SimCode: time 3.5e-07/0.9427, allocations: 0 / 1.158 GB, free: 2.676 MB / 0.698 GB Notification: Performance of Templates: time 0.02586/0.9685, allocations: 16.1 MB / 1.174 GB, free: 10.62 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.makefile (rm -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & ./Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1)