Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001142/0.001143, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001415/0.001414, allocations: 197.7 kB / 16.14 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.462/1.462, allocations: 205.1 MB / 222 MB, free: 4.758 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.504/1.504, allocations: 251.7 MB / 0.5088 GB, free: 3.332 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 63.91 kB / 0.6216 GB, free: 2 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5414/0.5427, allocations: 104.7 MB / 0.7238 GB, free: 13.17 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.006669/0.5494, allocations: 4.99 MB / 0.7287 GB, free: 8.156 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1673/0.7168, allocations: 148.3 MB / 0.8735 GB, free: 3.285 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001128/0.718, allocations: 23.94 kB / 0.8735 GB, free: 3.262 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0006693/0.7187, allocations: 150.8 kB / 0.8737 GB, free: 3.113 MB / 0.6856 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3-maint.7.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 7.0.3-maint.7.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 7.0.3-maint.7.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.001832/0.7205, allocations: 464.3 kB / 0.8741 GB, free: 2.66 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002007/0.7226, allocations: 0.7645 MB / 0.8749 GB, free: 1.902 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001717/0.7243, allocations: 1.464 MB / 0.8763 GB, free: 440 kB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001257/0.7256, allocations: 0.9882 MB / 0.8772 GB, free: 15.4 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008619/0.7264, allocations: 0.5989 MB / 0.8778 GB, free: 14.8 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007127/0.7272, allocations: 0.6765 MB / 0.8785 GB, free: 14.12 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0001616/0.7273, allocations: 100 kB / 0.8786 GB, free: 14.02 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007638/0.7281, allocations: 371.7 kB / 0.8789 GB, free: 13.66 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0003087/0.7284, allocations: 338.6 kB / 0.8793 GB, free: 13.33 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0006912/0.7291, allocations: 0.7069 MB / 0.88 GB, free: 12.62 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.001793/0.7309, allocations: 1.974 MB / 0.8819 GB, free: 10.64 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.7309, allocations: 0 / 0.8819 GB, free: 10.64 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.002e-06/0.7309, allocations: 0 / 0.8819 GB, free: 10.64 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 2.024e-05/0.731, allocations: 0 / 0.8819 GB, free: 10.64 MB / 0.7012 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.003195/0.7342, allocations: 1.763 MB / 0.8836 GB, free: 8.82 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.7342, allocations: 11.97 kB / 0.8836 GB, free: 8.809 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001024/0.7353, allocations: 234.9 kB / 0.8838 GB, free: 8.578 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001232/0.7365, allocations: 0.8796 MB / 0.8847 GB, free: 7.656 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.183e-05/0.7366, allocations: 102.8 kB / 0.8848 GB, free: 7.555 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002233/0.7368, allocations: 132 kB / 0.8849 GB, free: 7.426 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002412/0.7392, allocations: 1.384 MB / 0.8863 GB, free: 5.984 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.595e-05/0.7393, allocations: 0 / 0.8863 GB, free: 5.984 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000113/0.7394, allocations: 64 kB / 0.8863 GB, free: 5.922 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.385e-05/0.7394, allocations: 32 kB / 0.8864 GB, free: 5.891 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002424/0.7419, allocations: 1.47 MB / 0.8878 GB, free: 4.414 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006309/0.7482, allocations: 3.579 MB / 0.8913 GB, free: 0.7578 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001755/0.75, allocations: 0.9535 MB / 0.8922 GB, free: 15.79 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006473/0.7506, allocations: 403.7 kB / 0.8926 GB, free: 15.39 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.463e-05/0.7507, allocations: 44.84 kB / 0.8927 GB, free: 15.35 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001095/0.7519, allocations: 0.5826 MB / 0.8932 GB, free: 14.75 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=104): time 2.846e-06/0.7519, allocations: 0 / 0.8932 GB, free: 14.75 MB / 0.7169 GB Notification: Performance of matching and sorting (n=104): time 0.004039/0.7559, allocations: 1.473 MB / 0.8947 GB, free: 13.25 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001102/0.756, allocations: 196.9 kB / 0.8949 GB, free: 13.02 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00115/0.7572, allocations: 0.7393 MB / 0.8956 GB, free: 12.27 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8e-05/0.7573, allocations: 45.7 kB / 0.8956 GB, free: 12.21 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005093/0.7578, allocations: 0.562 MB / 0.8962 GB, free: 11.64 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003731/0.7582, allocations: 346.9 kB / 0.8965 GB, free: 11.3 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003125/0.7585, allocations: 214.7 kB / 0.8967 GB, free: 11.09 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0002836/0.7588, allocations: 406.7 kB / 0.8971 GB, free: 10.68 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006511/0.7595, allocations: 358.4 kB / 0.8974 GB, free: 10.33 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007556/0.7602, allocations: 470.2 kB / 0.8979 GB, free: 9.855 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00154/0.7618, allocations: 0.8234 MB / 0.8987 GB, free: 9.02 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/0.7618, allocations: 4 kB / 0.8987 GB, free: 9.016 MB / 0.7169 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002461/0.7643, allocations: 1.11 MB / 0.8998 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.786e-05/0.7643, allocations: 8 kB / 0.8998 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.178e-06/0.7643, allocations: 4 kB / 0.8998 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006276/0.7649, allocations: 84.77 kB / 0.8999 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009729/0.7659, allocations: 223.7 kB / 0.9001 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002261/0.7682, allocations: 1.539 MB / 0.9016 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009417/0.7692, allocations: 118.3 kB / 0.9017 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.554e-05/0.7693, allocations: 43.97 kB / 0.9017 GB, free: 5.738 MB / 0.7169 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 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0006504/0.7699, allocations: 313.5 kB / 0.902 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002298/0.7702, allocations: 98.78 kB / 0.9021 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003156/0.7733, allocations: 1.388 MB / 0.9035 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.087e-05/0.7733, allocations: 12 kB / 0.9035 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.7733, allocations: 0 / 0.9035 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.265e-05/0.7734, allocations: 3.984 kB / 0.9035 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004068/0.7774, allocations: 2.559 MB / 0.906 GB, free: 1.289 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.7775, allocations: 0 / 0.906 GB, free: 1.289 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007889/0.7783, allocations: 191.7 kB / 0.9062 GB, free: 1.102 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005418/0.7788, allocations: 84.77 kB / 0.9063 GB, free: 1.016 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.489e-05/0.7789, allocations: 27.98 kB / 0.9063 GB, free: 0.9883 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4046/1.183, allocations: 1.556 MB / 0.9078 GB, free: 180.6 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/1.184, allocations: 3.75 kB / 0.9078 GB, free: 180.6 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002865/1.186, allocations: 1.166 MB / 0.909 GB, free: 180.5 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004647/1.187, allocations: 319 kB / 0.9093 GB, free: 180.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001519/1.187, allocations: 28.19 kB / 0.9093 GB, free: 180.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006939/1.188, allocations: 59.48 kB / 0.9093 GB, free: 180.3 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001711/1.188, allocations: 75.05 kB / 0.9094 GB, free: 180.3 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.392e-05/1.188, allocations: 41.06 kB / 0.9094 GB, free: 180.2 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0007933/1.189, allocations: 0.5588 MB / 0.91 GB, free: 180 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.11e-07/1.189, allocations: 1.219 kB / 0.91 GB, free: 180 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0009981/1.19, allocations: 385.7 kB / 0.9104 GB, free: 180 MB / 0.7169 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001178/1.191, allocations: 0.5623 MB / 0.9109 GB, free: 179.8 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002038/1.193, allocations: 1.036 MB / 0.9119 GB, free: 179.4 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/1.193, allocations: 3.844 kB / 0.9119 GB, free: 179.4 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001059/1.194, allocations: 0.601 MB / 0.9125 GB, free: 179.1 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001266/1.195, allocations: 294 kB / 0.9128 GB, free: 179 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004718/1.2, allocations: 2.958 MB / 0.9157 GB, free: 177.3 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008398/1.201, allocations: 1.155 MB / 0.9168 GB, free: 176.6 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001043/1.202, allocations: 302.1 kB / 0.9171 GB, free: 176.5 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003767/1.202, allocations: 130.4 kB / 0.9172 GB, free: 176.5 MB / 0.7169 GB Notification: Performance of SimCode: time 7.31e-07/1.202, allocations: 0.6562 kB / 0.9172 GB, free: 176.5 MB / 0.7169 GB Notification: Performance of Templates: time 0.02283/1.225, allocations: 16.69 MB / 0.9335 GB, free: 165.6 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.makefile (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & ./Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1)