Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.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: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,fileNamePrefix="Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,fileNamePrefix="Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.722/1.722, allocations: 288.4 MB / 303.3 MB, free: 8.102 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.001269/0.001269, allocations: 182.8 kB / 372 MB, free: 10.27 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.514/1.514, allocations: 205.4 MB / 0.6307 GB, free: 10 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.0007302/0.0007301, allocations: 81.33 kB / 0.744 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000437/0.0004372, allocations: 14.5 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2495/0.2499, allocations: 115.3 MB / 0.9796 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.004708/0.2547, allocations: 4.29 MB / 0.9838 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.9744/1.229, allocations: 136.8 MB / 1.117 GB, free: 2.238 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001651/1.231, allocations: 20.47 kB / 1.117 GB, free: 2.23 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0008916/1.232, allocations: 136.6 kB / 1.118 GB, free: 2.168 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.003163/1.235, allocations: 464.6 kB / 1.118 GB, free: 2.027 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003964/1.239, allocations: 0.6516 MB / 1.119 GB, free: 1.973 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.003839/1.243, allocations: 1.365 MB / 1.12 GB, free: 1.734 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001982/1.245, allocations: 0.772 MB / 1.121 GB, free: 1.586 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001464/1.246, allocations: 451.6 kB / 1.121 GB, free: 1.453 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009489/1.247, allocations: 485 kB / 1.122 GB, free: 1.309 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001591/1.247, allocations: 31.03 kB / 1.122 GB, free: 1.309 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001288/1.249, allocations: 272.5 kB / 1.122 GB, free: 1.293 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003515/1.249, allocations: 231.3 kB / 1.122 GB, free: 1.23 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0004029/1.249, allocations: 258.7 kB / 1.122 GB, free: 1.148 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.002526/1.252, allocations: 1.517 MB / 1.124 GB, free: 1.035 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 9.318e-06/1.252, allocations: 0 / 1.124 GB, free: 1.035 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.975e-06/1.252, allocations: 0 / 1.124 GB, free: 1.035 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.686e-05/1.252, allocations: 1.219 kB / 1.124 GB, free: 1.035 MB / 0.6823 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.004614/1.257, allocations: 1.47 MB / 1.125 GB, free: 16.16 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.537e-05/1.257, allocations: 9.312 kB / 1.125 GB, free: 16.16 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004221/1.257, allocations: 205.5 kB / 1.126 GB, free: 16.12 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001615/1.259, allocations: 240.4 kB / 1.126 GB, free: 16.03 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002223/1.261, allocations: 0.8502 MB / 1.127 GB, free: 15.68 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001246/1.261, allocations: 102.4 kB / 1.127 GB, free: 15.68 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002867/1.262, allocations: 135.8 kB / 1.127 GB, free: 15.68 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004032/1.266, allocations: 1.379 MB / 1.128 GB, free: 15.49 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.129e-05/1.266, allocations: 0.875 kB / 1.128 GB, free: 15.49 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002053/1.266, allocations: 60.67 kB / 1.128 GB, free: 15.49 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.606e-05/1.266, allocations: 36.53 kB / 1.128 GB, free: 15.48 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00409/1.27, allocations: 1.47 MB / 1.13 GB, free: 15.46 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01009/1.28, allocations: 3.604 MB / 1.133 GB, free: 14.14 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002769/1.283, allocations: 0.9543 MB / 1.134 GB, free: 13.98 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001068/1.284, allocations: 402.5 kB / 1.135 GB, free: 13.93 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001513/1.284, allocations: 47.27 kB / 1.135 GB, free: 13.91 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001675/1.286, allocations: 0.5815 MB / 1.135 GB, free: 13.7 MB / 0.698 GB Notification: Performance of pre-optimization done (n=104): time 6.793e-06/1.286, allocations: 0 / 1.135 GB, free: 13.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=104): time 0.006254/1.292, allocations: 1.475 MB / 1.137 GB, free: 13.3 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000196/1.292, allocations: 195.8 kB / 1.137 GB, free: 13.08 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001954/1.294, allocations: 0.7389 MB / 1.138 GB, free: 12.83 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002421/1.295, allocations: 45.52 kB / 1.138 GB, free: 12.8 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007646/1.296, allocations: 0.5627 MB / 1.138 GB, free: 12.46 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005556/1.296, allocations: 348.8 kB / 1.138 GB, free: 12.21 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.057e-05/1.296, allocations: 17.66 kB / 1.138 GB, free: 12.21 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002334/1.296, allocations: 343.7 kB / 1.139 GB, free: 11.9 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001223/1.298, allocations: 339.7 kB / 1.139 GB, free: 11.85 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0014/1.299, allocations: 462.6 kB / 1.14 GB, free: 11.71 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001345/1.3, allocations: 405.6 kB / 1.14 GB, free: 11.67 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/1.3, allocations: 3.938 kB / 1.14 GB, free: 11.66 MB / 0.698 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.004302/1.305, allocations: 1.06 MB / 1.141 GB, free: 11.43 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.44e-05/1.305, allocations: 9.422 kB / 1.141 GB, free: 11.43 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.491e-05/1.305, allocations: 1.125 kB / 1.141 GB, free: 11.43 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007608/1.306, allocations: 84.53 kB / 1.141 GB, free: 11.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001044/1.307, allocations: 216.5 kB / 1.141 GB, free: 11.35 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002455/1.309, allocations: 1.531 MB / 1.143 GB, free: 9.973 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001218/1.31, allocations: 113.8 kB / 1.143 GB, free: 9.914 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001272/1.311, allocations: 43.58 kB / 1.143 GB, free: 9.902 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: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (117): * Single equations (assignments): 116 * 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.0008101/1.311, allocations: 306.4 kB / 1.143 GB, free: 9.77 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002434/1.312, allocations: 106.4 kB / 1.143 GB, free: 9.711 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003492/1.315, allocations: 1.406 MB / 1.145 GB, free: 9.309 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.82e-05/1.315, allocations: 12.28 kB / 1.145 GB, free: 9.309 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/1.315, allocations: 3.938 kB / 1.145 GB, free: 9.305 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.476e-05/1.315, allocations: 9.828 kB / 1.145 GB, free: 9.297 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005007/1.32, allocations: 2.556 MB / 1.147 GB, free: 8.402 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.745e-06/1.32, allocations: 4.828 kB / 1.147 GB, free: 8.398 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008789/1.321, allocations: 200.7 kB / 1.147 GB, free: 8.355 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005675/1.322, allocations: 87.67 kB / 1.147 GB, free: 8.32 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.298e-05/1.322, allocations: 27.95 kB / 1.147 GB, free: 8.316 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002099/1.324, allocations: 1.549 MB / 1.149 GB, free: 6.957 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/1.324, allocations: 4.906 kB / 1.149 GB, free: 6.953 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00299/1.327, allocations: 1.173 MB / 1.15 GB, free: 6.609 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008739/1.328, allocations: 351.3 kB / 1.15 GB, free: 6.379 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001511/1.328, allocations: 20.22 kB / 1.151 GB, free: 6.379 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007976/1.329, allocations: 75.55 kB / 1.151 GB, free: 6.359 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002045/1.329, allocations: 75.08 kB / 1.151 GB, free: 6.332 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001268/1.329, allocations: 42.33 kB / 1.151 GB, free: 6.324 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001056/1.33, allocations: 0.5538 MB / 1.151 GB, free: 6.152 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.11e-07/1.33, allocations: 0 / 1.151 GB, free: 6.152 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001535/1.332, allocations: 381.2 kB / 1.152 GB, free: 6.07 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.004547/1.336, allocations: 2.191 MB / 1.154 GB, free: 5.004 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002773/1.339, allocations: 0.9971 MB / 1.155 GB, free: 4.758 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.384e-06/1.339, allocations: 7.875 kB / 1.155 GB, free: 4.75 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001336/1.341, allocations: 0.6152 MB / 1.155 GB, free: 4.547 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00235/1.343, allocations: 275.4 kB / 1.156 GB, free: 4.477 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01531/1.358, allocations: 6.498 MB / 1.162 GB, free: 1.543 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001094/1.359, allocations: 1.159 MB / 1.163 GB, free: 0.6562 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001593/1.361, allocations: 296.6 kB / 1.163 GB, free: 0.5156 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009854/1.362, allocations: 0.5306 MB / 1.164 GB, free: 456 kB / 0.698 GB Notification: Performance of SimCode: time 2.475e-06/1.362, allocations: 0 / 1.164 GB, free: 456 kB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05972/1.422, allocations: 25.59 MB / 1.189 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002885/1.422, allocations: 290.7 kB / 1.189 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.993/4.415, allocations: 0 / 1.189 GB, free: 13.41 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.fmu > Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1)