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: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_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.863/1.863, allocations: 288.4 MB / 303.3 MB, free: 8.16 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.001046/0.001046, allocations: 168.5 kB / 371.9 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.766/1.766, allocations: 205.4 MB / 0.6307 GB, free: 9.883 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.0008654/0.0008654, allocations: 98.84 kB / 0.7441 GB, free: 5.812 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004075/0.0004076, allocations: 15.25 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2421/0.2425, allocations: 115.3 MB / 0.9796 GB, free: 27.55 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.004706/0.2473, allocations: 3.579 MB / 0.9831 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.726/0.9733, allocations: 136.6 MB / 1.117 GB, free: 1.934 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008389/0.9742, allocations: 17.5 kB / 1.117 GB, free: 1.926 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0005281/0.9748, allocations: 128.2 kB / 1.117 GB, free: 1.867 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.001554/0.9763, allocations: 369.5 kB / 1.117 GB, free: 1.766 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002301/0.9786, allocations: 0.5864 MB / 1.118 GB, free: 1.711 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001617/0.9803, allocations: 1.023 MB / 1.119 GB, free: 1.551 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008793/0.9811, allocations: 457 kB / 1.119 GB, free: 1.457 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000856/0.982, allocations: 306.5 kB / 1.119 GB, free: 1.375 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005102/0.9825, allocations: 329.7 kB / 1.12 GB, free: 1.285 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 9.431e-05/0.9826, allocations: 23.28 kB / 1.12 GB, free: 1.285 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009482/0.9836, allocations: 267.1 kB / 1.12 GB, free: 1.27 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001999/0.9838, allocations: 163.4 kB / 1.12 GB, free: 1.234 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001887/0.984, allocations: 185 kB / 1.12 GB, free: 1.164 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.001272/0.9853, allocations: 1.026 MB / 1.121 GB, free: 1.082 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.9853, allocations: 1 kB / 1.121 GB, free: 1.082 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.116e-06/0.9853, allocations: 0 / 1.121 GB, free: 1.082 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.933e-05/0.9853, allocations: 0 / 1.121 GB, free: 1.082 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: 202 * Number of variables: 202 Notification: Performance of Generate backend data structure: time 0.00239/0.9877, allocations: 1.129 MB / 1.122 GB, free: 16.37 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.044e-05/0.9878, allocations: 9.375 kB / 1.122 GB, free: 16.37 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000194/0.988, allocations: 130.1 kB / 1.122 GB, free: 16.33 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001146/0.9891, allocations: 185.9 kB / 1.123 GB, free: 16.27 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001055/0.9902, allocations: 0.6828 MB / 1.123 GB, free: 15.97 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.612e-05/0.9903, allocations: 64.05 kB / 1.123 GB, free: 15.97 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.878e-05/0.9904, allocations: 74.41 kB / 1.123 GB, free: 15.97 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00157/0.992, allocations: 0.8716 MB / 1.124 GB, free: 15.81 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.846e-05/0.992, allocations: 0 / 1.124 GB, free: 15.81 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.911e-05/0.9921, allocations: 40.7 kB / 1.124 GB, free: 15.81 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.178e-05/0.9921, allocations: 18.91 kB / 1.124 GB, free: 15.81 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001748/0.9939, allocations: 1.092 MB / 1.125 GB, free: 15.79 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003874/0.9978, allocations: 2.419 MB / 1.128 GB, free: 14.98 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001269/0.999, allocations: 0.7386 MB / 1.129 GB, free: 14.92 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004886/0.9996, allocations: 288.5 kB / 1.129 GB, free: 14.91 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.589e-05/0.9996, allocations: 33.52 kB / 1.129 GB, free: 14.91 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008282/1, allocations: 447 kB / 1.129 GB, free: 14.83 MB / 0.698 GB Notification: Performance of pre-optimization done (n=76): time 3.707e-06/1.001, allocations: 4 kB / 1.129 GB, free: 14.83 MB / 0.698 GB Notification: Performance of matching and sorting (n=76): time 0.002929/1.003, allocations: 1.127 MB / 1.13 GB, free: 14.62 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001109/1.004, allocations: 187 kB / 1.131 GB, free: 14.4 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007542/1.004, allocations: 0.5724 MB / 1.131 GB, free: 14.28 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.476e-05/1.004, allocations: 39.11 kB / 1.131 GB, free: 14.25 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003168/1.005, allocations: 382.1 kB / 1.131 GB, free: 14.07 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002/1.005, allocations: 249.5 kB / 1.132 GB, free: 13.91 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.673e-05/1.005, allocations: 14.38 kB / 1.132 GB, free: 13.91 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001659/1.005, allocations: 380.5 kB / 1.132 GB, free: 13.6 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004381/1.006, allocations: 230.2 kB / 1.132 GB, free: 13.59 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004981/1.006, allocations: 340.6 kB / 1.133 GB, free: 13.51 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004852/1.007, allocations: 285 kB / 1.133 GB, free: 13.49 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/1.007, allocations: 0 / 1.133 GB, free: 13.49 MB / 0.698 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001656/1.008, allocations: 0.7593 MB / 1.134 GB, free: 13.39 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.938e-05/1.008, allocations: 8.188 kB / 1.134 GB, free: 13.39 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/1.008, allocations: 0 / 1.134 GB, free: 13.39 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006138/1.009, allocations: 88.95 kB / 1.134 GB, free: 13.35 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006218/1.01, allocations: 145.2 kB / 1.134 GB, free: 13.32 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002043/1.012, allocations: 1.52 MB / 1.135 GB, free: 11.95 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007607/1.012, allocations: 87.88 kB / 1.135 GB, free: 11.91 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.014e-05/1.012, allocations: 30.28 kB / 1.135 GB, free: 11.91 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 (81): * Single equations (assignments): 80 * 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.000524/1.013, allocations: 252.8 kB / 1.136 GB, free: 11.77 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001385/1.013, allocations: 82.02 kB / 1.136 GB, free: 11.73 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002395/1.016, allocations: 1.047 MB / 1.137 GB, free: 11.41 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.04e-05/1.016, allocations: 9.062 kB / 1.137 GB, free: 11.41 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/1.016, allocations: 0 / 1.137 GB, free: 11.41 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.525e-05/1.016, allocations: 9.406 kB / 1.137 GB, free: 11.4 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003499/1.019, allocations: 1.882 MB / 1.139 GB, free: 10.67 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.419e-06/1.019, allocations: 1.375 kB / 1.139 GB, free: 10.67 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006108/1.02, allocations: 148.2 kB / 1.139 GB, free: 10.64 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005276/1.02, allocations: 79.94 kB / 1.139 GB, free: 10.61 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.927e-05/1.02, allocations: 30.88 kB / 1.139 GB, free: 10.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00186/1.022, allocations: 1.547 MB / 1.14 GB, free: 9.23 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/1.022, allocations: 0 / 1.14 GB, free: 9.23 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002043/1.024, allocations: 0.9315 MB / 1.141 GB, free: 8.922 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004631/1.025, allocations: 278.2 kB / 1.142 GB, free: 8.727 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001038/1.025, allocations: 21.14 kB / 1.142 GB, free: 8.723 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006091/1.026, allocations: 73.72 kB / 1.142 GB, free: 8.703 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001593/1.026, allocations: 59.97 kB / 1.142 GB, free: 8.68 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.243e-05/1.026, allocations: 35 kB / 1.142 GB, free: 8.672 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007565/1.027, allocations: 428 kB / 1.142 GB, free: 8.523 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.61e-07/1.027, allocations: 1.188 kB / 1.142 GB, free: 8.523 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001221/1.028, allocations: 269.6 kB / 1.142 GB, free: 8.473 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 (87): * Single equations (assignments): 84 * 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.003795/1.032, allocations: 1.934 MB / 1.144 GB, free: 7.465 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001718/1.033, allocations: 0.755 MB / 1.145 GB, free: 7.242 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/1.033, allocations: 2.594 kB / 1.145 GB, free: 7.242 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008752/1.034, allocations: 498.7 kB / 1.146 GB, free: 7.062 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001337/1.036, allocations: 259.1 kB / 1.146 GB, free: 6.98 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01022/1.046, allocations: 4.702 MB / 1.15 GB, free: 4.938 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006335/1.046, allocations: 1 MB / 1.151 GB, free: 4.117 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001061/1.048, allocations: 268.1 kB / 1.152 GB, free: 3.977 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005068/1.048, allocations: 359.8 kB / 1.152 GB, free: 3.93 MB / 0.698 GB Notification: Performance of SimCode: time 9.52e-07/1.048, allocations: 4 kB / 1.152 GB, free: 3.926 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04781/1.096, allocations: 19.83 MB / 1.171 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002752/1.096, allocations: 304.8 kB / 1.172 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.758/3.854, allocations: 0 / 1.172 GB, free: 10.05 MB / 0.7136 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.fmu > Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1)