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.713/1.713, allocations: 288.4 MB / 304.3 MB, free: 8.133 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.001015/0.001015, allocations: 180.3 kB / 372.9 MB, free: 10.12 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.441/1.441, allocations: 205.4 MB / 0.6316 GB, free: 9.91 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.0007904/0.0007906, allocations: 94.34 kB / 0.745 GB, free: 5.812 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000387/0.0003873, allocations: 15.48 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2136/0.214, allocations: 115.3 MB / 0.9807 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.005291/0.2194, allocations: 3.58 MB / 0.9842 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.5772/0.7967, allocations: 136.6 MB / 1.118 GB, free: 2.371 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004847/0.7972, allocations: 18.69 kB / 1.118 GB, free: 2.363 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0003939/0.7976, allocations: 127.1 kB / 1.118 GB, free: 2.305 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.00108/0.7987, allocations: 362 kB / 1.118 GB, free: 2.211 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001709/0.8004, allocations: 0.588 MB / 1.119 GB, free: 2.16 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001093/0.8015, allocations: 1.054 MB / 1.12 GB, free: 1.98 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007113/0.8022, allocations: 0.5652 MB / 1.12 GB, free: 1.852 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004041/0.8026, allocations: 308.8 kB / 1.121 GB, free: 1.77 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003679/0.803, allocations: 326.4 kB / 1.121 GB, free: 1.68 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 6.807e-05/0.8031, allocations: 21.31 kB / 1.121 GB, free: 1.68 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006888/0.8038, allocations: 280 kB / 1.121 GB, free: 1.66 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002058/0.804, allocations: 166.4 kB / 1.121 GB, free: 1.625 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0003758/0.8044, allocations: 398.8 kB / 1.122 GB, free: 17.45 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0008685/0.8053, allocations: 1.028 MB / 1.123 GB, free: 17.37 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.8053, allocations: 0 / 1.123 GB, free: 17.37 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.443e-06/0.8053, allocations: 0 / 1.123 GB, free: 17.37 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.23e-05/0.8053, allocations: 0 / 1.123 GB, free: 17.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: 202 * Number of variables: 202 Notification: Performance of Generate backend data structure: time 0.001741/0.8071, allocations: 1.112 MB / 1.124 GB, free: 16.66 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.8071, allocations: 9.906 kB / 1.124 GB, free: 16.66 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008049/0.8079, allocations: 194.1 kB / 1.124 GB, free: 16.59 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007994/0.8087, allocations: 0.6994 MB / 1.125 GB, free: 16.27 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.242e-05/0.8088, allocations: 60.97 kB / 1.125 GB, free: 16.27 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.217e-05/0.8089, allocations: 79.62 kB / 1.125 GB, free: 16.27 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00132/0.8102, allocations: 0.8715 MB / 1.126 GB, free: 16.11 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.931e-05/0.8102, allocations: 0 / 1.126 GB, free: 16.11 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.943e-05/0.8103, allocations: 40.38 kB / 1.126 GB, free: 16.11 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.867e-05/0.8103, allocations: 18.5 kB / 1.126 GB, free: 16.11 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001572/0.8119, allocations: 1.084 MB / 1.127 GB, free: 16.09 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003521/0.8154, allocations: 2.434 MB / 1.129 GB, free: 15.26 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001315/0.8168, allocations: 0.7323 MB / 1.13 GB, free: 15.21 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005032/0.8173, allocations: 287.5 kB / 1.13 GB, free: 15.21 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.923e-05/0.8174, allocations: 33.91 kB / 1.13 GB, free: 15.21 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008556/0.8183, allocations: 444.4 kB / 1.131 GB, free: 15.12 MB / 0.698 GB Notification: Performance of pre-optimization done (n=76): time 5.631e-06/0.8183, allocations: 3.984 kB / 1.131 GB, free: 15.12 MB / 0.698 GB Notification: Performance of matching and sorting (n=76): time 0.00297/0.8213, allocations: 1.126 MB / 1.132 GB, free: 14.92 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001092/0.8214, allocations: 195.6 kB / 1.132 GB, free: 14.69 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007081/0.8221, allocations: 0.571 MB / 1.132 GB, free: 14.57 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.743e-05/0.8222, allocations: 42.67 kB / 1.132 GB, free: 14.54 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002449/0.8224, allocations: 378.6 kB / 1.133 GB, free: 14.36 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000183/0.8226, allocations: 252.9 kB / 1.133 GB, free: 14.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.234e-05/0.8227, allocations: 12.72 kB / 1.133 GB, free: 14.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000151/0.8228, allocations: 379.1 kB / 1.133 GB, free: 13.88 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004634/0.8233, allocations: 255.3 kB / 1.134 GB, free: 13.88 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005457/0.8238, allocations: 342.2 kB / 1.134 GB, free: 13.83 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00099/0.8248, allocations: 0.5882 MB / 1.135 GB, free: 13.78 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.8249, allocations: 5 kB / 1.135 GB, free: 13.77 MB / 0.698 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001756/0.8266, allocations: 0.8204 MB / 1.135 GB, free: 13.59 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/0.8266, allocations: 10.83 kB / 1.135 GB, free: 13.59 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.8267, allocations: 0.9375 kB / 1.135 GB, free: 13.59 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005748/0.8272, allocations: 84.34 kB / 1.135 GB, free: 13.56 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006849/0.8279, allocations: 157 kB / 1.136 GB, free: 13.52 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001864/0.8298, allocations: 1.517 MB / 1.137 GB, free: 12.16 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006691/0.8305, allocations: 92.44 kB / 1.137 GB, free: 12.11 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.537e-05/0.8306, allocations: 36.03 kB / 1.137 GB, free: 12.11 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.00043/0.831, allocations: 259.5 kB / 1.137 GB, free: 11.97 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001286/0.8311, allocations: 83.3 kB / 1.138 GB, free: 11.92 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002213/0.8334, allocations: 1.031 MB / 1.139 GB, free: 11.62 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.22e-05/0.8334, allocations: 8.969 kB / 1.139 GB, free: 11.62 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.8334, allocations: 0 / 1.139 GB, free: 11.62 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003631/0.8338, allocations: 272.1 kB / 1.139 GB, free: 11.43 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001045/0.8339, allocations: 24.45 kB / 1.139 GB, free: 11.42 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000534/0.8344, allocations: 61.86 kB / 1.139 GB, free: 11.41 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001225/0.8346, allocations: 60.12 kB / 1.139 GB, free: 11.38 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00178/0.8363, allocations: 0.8986 MB / 1.14 GB, free: 11.12 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001897/0.8383, allocations: 1.314 MB / 1.141 GB, free: 10.7 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004961/0.8388, allocations: 338.4 kB / 1.141 GB, free: 10.64 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005249/0.8393, allocations: 423.8 kB / 1.142 GB, free: 10.49 MB / 0.698 GB Notification: Performance of Backend: time 4.61e-07/0.8393, allocations: 0 / 1.142 GB, free: 10.49 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002791/0.8421, allocations: 1.161 MB / 1.143 GB, free: 10.02 MB / 0.698 GB Notification: Performance of SimCode: time 0.002872/0.845, allocations: 2.28 MB / 1.145 GB, free: 8.441 MB / 0.698 GB Notification: Performance of Templates: time 0.02368/0.8687, allocations: 13.96 MB / 1.159 GB, free: 1.441 MB / 0.698 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)