Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.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.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001194/0.001194, 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.00122/0.00122, allocations: 193.4 kB / 16.14 MB, free: 6.703 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.444/1.444, allocations: 205.1 MB / 222 MB, free: 4.938 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.569/1.569, allocations: 251.6 MB / 0.5088 GB, free: 3.371 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.001566/0.001567, allocations: 59.92 kB / 0.6216 GB, free: 2.02 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.502/0.5036, allocations: 104.7 MB / 0.7238 GB, free: 13.17 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.005795/0.5094, allocations: 4.106 MB / 0.7278 GB, free: 9.039 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1548/0.6643, allocations: 147.9 MB / 0.8722 GB, free: 4.59 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001221/0.6656, allocations: 15.88 kB / 0.8722 GB, free: 4.574 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0007202/0.6664, allocations: 135 kB / 0.8724 GB, free: 4.441 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.001793/0.6682, allocations: 357.6 kB / 0.8727 GB, free: 4.094 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002429/0.6706, allocations: 0.6577 MB / 0.8734 GB, free: 3.441 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001587/0.6722, allocations: 1.074 MB / 0.8744 GB, free: 2.359 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009678/0.6732, allocations: 0.5823 MB / 0.875 GB, free: 1.766 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005645/0.6738, allocations: 362.5 kB / 0.8753 GB, free: 1.41 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004104/0.6742, allocations: 406.1 kB / 0.8757 GB, free: 1.012 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001025/0.6743, allocations: 52 kB / 0.8758 GB, free: 0.9609 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007411/0.6751, allocations: 327.7 kB / 0.8761 GB, free: 0.6406 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.000227/0.6753, allocations: 215.1 kB / 0.8763 GB, free: 440 kB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0003951/0.6757, allocations: 445.5 kB / 0.8767 GB, free: 15.99 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.001354/0.6771, allocations: 1.336 MB / 0.878 GB, free: 14.65 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.6771, allocations: 0 / 0.878 GB, free: 14.65 MB / 0.7012 GB Notification: Performance of FrontEnd: time 7.71e-07/0.6771, allocations: 0 / 0.878 GB, free: 14.65 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 9.478e-06/0.6771, allocations: 0 / 0.878 GB, free: 14.65 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: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 0.002009/0.6791, allocations: 1.279 MB / 0.8792 GB, free: 13.32 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.6792, allocations: 8.031 kB / 0.8793 GB, free: 13.31 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008416/0.68, allocations: 179.5 kB / 0.8794 GB, free: 13.14 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008183/0.6808, allocations: 0.6955 MB / 0.8801 GB, free: 12.4 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.669e-05/0.6809, allocations: 58 kB / 0.8802 GB, free: 12.34 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.155e-05/0.681, allocations: 72 kB / 0.8802 GB, free: 12.27 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001265/0.6823, allocations: 0.8481 MB / 0.8811 GB, free: 11.39 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.6823, allocations: 0 / 0.8811 GB, free: 11.39 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.767e-05/0.6824, allocations: 32 kB / 0.8811 GB, free: 11.36 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.525e-05/0.6824, allocations: 24 kB / 0.8811 GB, free: 11.33 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001474/0.6839, allocations: 1.054 MB / 0.8821 GB, free: 10.27 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003315/0.6872, allocations: 2.351 MB / 0.8844 GB, free: 7.855 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001192/0.6884, allocations: 0.7176 MB / 0.8851 GB, free: 7.129 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004393/0.6889, allocations: 270.4 kB / 0.8854 GB, free: 6.859 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 8.591e-05/0.689, allocations: 36.58 kB / 0.8854 GB, free: 6.824 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006784/0.6896, allocations: 425.7 kB / 0.8858 GB, free: 6.395 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=70): time 2.244e-06/0.6897, allocations: 0 / 0.8858 GB, free: 6.395 MB / 0.7012 GB Notification: Performance of matching and sorting (n=70): time 0.002757/0.6924, allocations: 1.074 MB / 0.8869 GB, free: 5.293 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.847e-05/0.6925, allocations: 192.4 kB / 0.8871 GB, free: 5.062 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000641/0.6932, allocations: 0.5656 MB / 0.8876 GB, free: 4.488 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 5.536e-05/0.6932, allocations: 37.7 kB / 0.8877 GB, free: 4.445 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.000246/0.6935, allocations: 368.3 kB / 0.888 GB, free: 4.078 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001611/0.6937, allocations: 228.7 kB / 0.8882 GB, free: 3.852 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000201/0.6939, allocations: 150.5 kB / 0.8884 GB, free: 3.699 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.694, allocations: 378.8 kB / 0.8887 GB, free: 3.32 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004242/0.6944, allocations: 233.9 kB / 0.889 GB, free: 3.09 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005121/0.695, allocations: 330.8 kB / 0.8893 GB, free: 2.75 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000915/0.6959, allocations: 0.5507 MB / 0.8898 GB, free: 2.188 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.6959, allocations: 0 / 0.8898 GB, free: 2.188 MB / 0.7012 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001721/0.6976, allocations: 0.7704 MB / 0.8906 GB, free: 1.406 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.6977, allocations: 8.094 kB / 0.8906 GB, free: 1.398 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.6977, allocations: 4 kB / 0.8906 GB, free: 1.395 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005541/0.6982, allocations: 76.78 kB / 0.8906 GB, free: 1.316 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005613/0.6988, allocations: 143.8 kB / 0.8908 GB, free: 1.176 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001925/0.7007, allocations: 1.531 MB / 0.8923 GB, free: 15.51 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006497/0.7014, allocations: 83.39 kB / 0.8924 GB, free: 15.43 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.225e-05/0.7015, allocations: 35.97 kB / 0.8924 GB, free: 15.39 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 (81): * Single equations (assignments): 80 * 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.0004307/0.7019, allocations: 253.7 kB / 0.8926 GB, free: 15.14 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001371/0.7021, allocations: 71.16 kB / 0.8927 GB, free: 15.07 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002088/0.7042, allocations: 0.9819 MB / 0.8937 GB, free: 14.07 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.886e-06/0.7042, allocations: 11.94 kB / 0.8937 GB, free: 14.06 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.886e-06/0.7042, allocations: 0 / 0.8937 GB, free: 14.06 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/0.7042, allocations: 3.984 kB / 0.8937 GB, free: 14.06 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009253/0.7051, allocations: 0.8295 MB / 0.8945 GB, free: 13.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.7052, allocations: 0 / 0.8945 GB, free: 13.18 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005128/0.7057, allocations: 139.8 kB / 0.8946 GB, free: 13.04 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005153/0.7062, allocations: 84.77 kB / 0.8947 GB, free: 12.96 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.854e-05/0.7063, allocations: 23.92 kB / 0.8947 GB, free: 12.93 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001714/0.708, allocations: 1.563 MB / 0.8962 GB, free: 11.23 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.708, allocations: 4.062 kB / 0.8963 GB, free: 11.22 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001702/0.7097, allocations: 0.8381 MB / 0.8971 GB, free: 10.37 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003052/0.71, allocations: 244 kB / 0.8973 GB, free: 10.11 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001035/0.7101, allocations: 19.94 kB / 0.8973 GB, free: 10.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004783/0.7106, allocations: 51.94 kB / 0.8974 GB, free: 10.04 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001302/0.7108, allocations: 60.91 kB / 0.8974 GB, free: 9.977 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.703e-05/0.7108, allocations: 31.92 kB / 0.8975 GB, free: 9.945 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0004799/0.7113, allocations: 423.1 kB / 0.8979 GB, free: 9.531 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7113, allocations: 0 / 0.8979 GB, free: 9.531 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0007454/0.7121, allocations: 263.3 kB / 0.8981 GB, free: 9.273 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.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 78 * 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.001256/0.7133, allocations: 0.5714 MB / 0.8987 GB, free: 8.871 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001454/0.7148, allocations: 0.7435 MB / 0.8994 GB, free: 8.117 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.7148, allocations: 0 / 0.8994 GB, free: 8.117 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0007878/0.7156, allocations: 496.1 kB / 0.8999 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001046/0.7167, allocations: 254.8 kB / 0.9001 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003717/0.7204, allocations: 2.006 MB / 0.9021 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005778/0.721, allocations: 0.9835 MB / 0.903 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0007737/0.7218, allocations: 257.8 kB / 0.9033 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002295/0.722, allocations: 95.39 kB / 0.9034 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of SimCode: time 4.81e-07/0.722, allocations: 7.938 kB / 0.9034 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of Templates: time 0.4456/1.168, allocations: 12.9 MB / 0.916 GB, free: 179.2 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & ./Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)