Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.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.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.717/1.717, allocations: 287.4 MB / 303.2 MB, free: 8.258 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.001497/0.001497, allocations: 180.5 kB / 371.8 MB, free: 10.83 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.407/1.407, allocations: 205.4 MB / 0.6305 GB, free: 10.57 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.0007082/0.0007082, allocations: 94.19 kB / 0.7438 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004622/0.0004622, allocations: 15.88 kB / 0.8667 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2276/0.2281, allocations: 115.3 MB / 0.9793 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.003791/0.2319, allocations: 3.584 MB / 0.9828 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.5537/0.7856, allocations: 136.6 MB / 1.116 GB, free: 1.645 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005777/0.7863, allocations: 14 kB / 1.116 GB, free: 1.641 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0004471/0.7867, allocations: 130.3 kB / 1.116 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.001302/0.788, allocations: 369 kB / 1.117 GB, free: 1.48 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002134/0.7902, allocations: 0.5917 MB / 1.117 GB, free: 1.426 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001365/0.7916, allocations: 1.051 MB / 1.118 GB, free: 1.25 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000845/0.7924, allocations: 0.5747 MB / 1.119 GB, free: 1.117 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006451/0.7931, allocations: 304.9 kB / 1.119 GB, free: 1.035 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004688/0.7935, allocations: 325.2 kB / 1.119 GB, free: 0.9453 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 7.967e-05/0.7936, allocations: 22.25 kB / 1.119 GB, free: 0.9453 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008023/0.7944, allocations: 268.9 kB / 1.12 GB, free: 0.9297 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002223/0.7947, allocations: 168.3 kB / 1.12 GB, free: 0.8906 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002442/0.7949, allocations: 177 kB / 1.12 GB, free: 16.83 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001386/0.7963, allocations: 1.025 MB / 1.121 GB, free: 16.75 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.7963, allocations: 1.812 kB / 1.121 GB, free: 16.75 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.024e-06/0.7963, allocations: 4 kB / 1.121 GB, free: 16.74 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.873e-05/0.7964, allocations: 0 / 1.121 GB, free: 16.74 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.001895/0.7983, allocations: 1.108 MB / 1.122 GB, free: 16.03 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.7983, allocations: 8.812 kB / 1.122 GB, free: 16.03 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008862/0.7992, allocations: 191.2 kB / 1.122 GB, free: 15.97 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001041/0.8003, allocations: 0.7061 MB / 1.123 GB, free: 15.64 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.61e-05/0.8003, allocations: 61.59 kB / 1.123 GB, free: 15.64 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.204e-05/0.8004, allocations: 79.44 kB / 1.123 GB, free: 15.64 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001333/0.8018, allocations: 0.8712 MB / 1.124 GB, free: 15.48 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.946e-05/0.8018, allocations: 0 / 1.124 GB, free: 15.48 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.051e-05/0.8019, allocations: 32.94 kB / 1.124 GB, free: 15.48 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.461e-05/0.8019, allocations: 18.88 kB / 1.124 GB, free: 15.48 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001494/0.8034, allocations: 1.088 MB / 1.125 GB, free: 15.48 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003651/0.8071, allocations: 2.422 MB / 1.127 GB, free: 14.65 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001274/0.8083, allocations: 0.7301 MB / 1.128 GB, free: 14.61 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005093/0.8089, allocations: 291.4 kB / 1.128 GB, free: 14.6 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.395e-05/0.809, allocations: 34.66 kB / 1.128 GB, free: 14.6 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000771/0.8097, allocations: 446.5 kB / 1.129 GB, free: 14.52 MB / 0.698 GB Notification: Performance of pre-optimization done (n=76): time 2.786e-06/0.8098, allocations: 1.75 kB / 1.129 GB, free: 14.52 MB / 0.698 GB Notification: Performance of matching and sorting (n=76): time 0.002804/0.8126, allocations: 1.129 MB / 1.13 GB, free: 14.31 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001057/0.8127, allocations: 189.4 kB / 1.13 GB, free: 14.09 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006869/0.8134, allocations: 0.5735 MB / 1.131 GB, free: 13.96 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.094e-05/0.8135, allocations: 42.45 kB / 1.131 GB, free: 13.93 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000281/0.8137, allocations: 370.5 kB / 1.131 GB, free: 13.75 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002089/0.814, allocations: 254.6 kB / 1.131 GB, free: 13.59 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.597e-05/0.814, allocations: 18.88 kB / 1.131 GB, free: 13.59 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001639/0.8142, allocations: 377.1 kB / 1.132 GB, free: 13.28 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000451/0.8146, allocations: 251.3 kB / 1.132 GB, free: 13.27 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005637/0.8152, allocations: 343.9 kB / 1.132 GB, free: 13.22 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001015/0.8162, allocations: 0.5904 MB / 1.133 GB, free: 13.17 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.87e-06/0.8162, allocations: 3.812 kB / 1.133 GB, free: 13.17 MB / 0.698 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001854/0.8181, allocations: 0.8179 MB / 1.134 GB, free: 13.05 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.8181, allocations: 7.031 kB / 1.134 GB, free: 13.05 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/0.8182, allocations: 1.031 kB / 1.134 GB, free: 13.05 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005952/0.8188, allocations: 83.2 kB / 1.134 GB, free: 13.04 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007299/0.8195, allocations: 158.6 kB / 1.134 GB, free: 13.03 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001974/0.8215, allocations: 1.522 MB / 1.135 GB, free: 11.73 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007406/0.8222, allocations: 88.94 kB / 1.136 GB, free: 11.69 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.606e-05/0.8223, allocations: 37.28 kB / 1.136 GB, free: 11.69 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.0006242/0.823, allocations: 263.2 kB / 1.136 GB, free: 11.56 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000167/0.8231, allocations: 78.95 kB / 1.136 GB, free: 11.52 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002438/0.8256, allocations: 1.029 MB / 1.137 GB, free: 11.38 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.541e-05/0.8256, allocations: 8.547 kB / 1.137 GB, free: 11.38 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.8256, allocations: 5.031 kB / 1.137 GB, free: 11.38 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000411/0.826, allocations: 278.2 kB / 1.137 GB, free: 11.22 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001087/0.8262, allocations: 15.47 kB / 1.137 GB, free: 11.22 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005696/0.8267, allocations: 69.22 kB / 1.137 GB, free: 11.22 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001251/0.8269, allocations: 59.12 kB / 1.137 GB, free: 11.22 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001801/0.8287, allocations: 0.8979 MB / 1.138 GB, free: 11.07 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001959/0.8307, allocations: 1.317 MB / 1.139 GB, free: 10.78 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005381/0.8312, allocations: 339.8 kB / 1.14 GB, free: 10.77 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005457/0.8318, allocations: 422.2 kB / 1.14 GB, free: 10.68 MB / 0.698 GB Notification: Performance of Backend: time 4.41e-07/0.8318, allocations: 1.031 kB / 1.14 GB, free: 10.68 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002823/0.8346, allocations: 1.144 MB / 1.141 GB, free: 10.25 MB / 0.698 GB Notification: Performance of SimCode: time 0.003073/0.8377, allocations: 2.271 MB / 1.144 GB, free: 8.676 MB / 0.698 GB Notification: Performance of Templates: time 0.02591/0.8636, allocations: 13.84 MB / 1.157 GB, free: 1.719 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.makefile (rm -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & ./Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1)