Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.288/1.288, allocations: 251.5 MB / 266.7 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009179/0.0009179, allocations: 176.1 kB / 325.8 MB, free: 2.664 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.373/1.373, allocations: 205 MB / 0.576 GB, free: 20.97 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006921/0.0006921, allocations: 95.67 kB / 0.6797 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002917/0.0002918, allocations: 12.62 kB / 0.7932 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1456/0.1459, allocations: 105.4 MB / 0.8962 GB, free: 68.06 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.003919/0.1498, allocations: 4.648 MB / 0.9007 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1238/0.2736, allocations: 148.3 MB / 1.046 GB, free: 10.51 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007986/0.2745, allocations: 15.94 kB / 1.046 GB, free: 10.49 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0005897/0.2751, allocations: 154.7 kB / 1.046 GB, free: 10.34 MB / 0.698 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.00151/0.2766, allocations: 471.8 kB / 1.046 GB, free: 9.879 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001702/0.2783, allocations: 0.7538 MB / 1.047 GB, free: 9.133 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001604/0.2799, allocations: 1.464 MB / 1.048 GB, free: 7.66 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001203/0.2811, allocations: 0.9609 MB / 1.049 GB, free: 6.66 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007282/0.2819, allocations: 457.4 kB / 1.05 GB, free: 6.211 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006172/0.2825, allocations: 0.5071 MB / 1.05 GB, free: 5.703 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001051/0.2826, allocations: 32 kB / 1.05 GB, free: 5.672 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006378/0.2833, allocations: 299.7 kB / 1.051 GB, free: 5.379 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002063/0.2835, allocations: 234.7 kB / 1.051 GB, free: 5.148 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0005202/0.284, allocations: 0.5741 MB / 1.051 GB, free: 4.57 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001803/0.2858, allocations: 1.888 MB / 1.053 GB, free: 2.676 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.289e-06/0.2858, allocations: 0 / 1.053 GB, free: 2.676 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.074e-06/0.2859, allocations: 0 / 1.053 GB, free: 2.676 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.271e-05/0.2859, allocations: 0 / 1.053 GB, free: 2.676 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: 351 * Number of variables: 351 Notification: Performance of Generate backend data structure: time 0.002575/0.2885, allocations: 1.451 MB / 1.055 GB, free: 1.172 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.2885, allocations: 12.03 kB / 1.055 GB, free: 1.16 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002763/0.2888, allocations: 203 kB / 1.055 GB, free: 0.9531 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008875/0.2897, allocations: 242.8 kB / 1.055 GB, free: 0.7148 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2916/0.5813, allocations: 0.8836 MB / 1.056 GB, free: 159.7 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.126e-05/0.5814, allocations: 101.7 kB / 1.056 GB, free: 159.7 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001943/0.5816, allocations: 135 kB / 1.056 GB, free: 159.7 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002032/0.5836, allocations: 1.394 MB / 1.057 GB, free: 159.5 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.737e-05/0.5837, allocations: 0 / 1.057 GB, free: 159.5 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.704e-05/0.5838, allocations: 57.38 kB / 1.058 GB, free: 159.5 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.986e-05/0.5838, allocations: 35.19 kB / 1.058 GB, free: 159.5 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002046/0.5859, allocations: 1.481 MB / 1.059 GB, free: 159.5 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005295/0.5912, allocations: 3.597 MB / 1.063 GB, free: 158.7 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00161/0.5928, allocations: 0.964 MB / 1.063 GB, free: 158.6 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006608/0.5935, allocations: 401.6 kB / 1.064 GB, free: 158.6 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000108/0.5936, allocations: 46.33 kB / 1.064 GB, free: 158.6 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001023/0.5947, allocations: 0.5823 MB / 1.064 GB, free: 158.6 MB / 0.698 GB Notification: Performance of pre-optimization done (n=104): time 3.206e-06/0.5947, allocations: 0 / 1.064 GB, free: 158.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=104): time 0.003657/0.5983, allocations: 1.494 MB / 1.066 GB, free: 158.3 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.206e-05/0.5984, allocations: 193.4 kB / 1.066 GB, free: 158.1 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001095/0.5995, allocations: 0.7403 MB / 1.067 GB, free: 158 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001422/0.5997, allocations: 45.92 kB / 1.067 GB, free: 157.9 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003557/0.6001, allocations: 0.5673 MB / 1.067 GB, free: 157.6 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002393/0.6003, allocations: 341.8 kB / 1.068 GB, free: 157.3 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001175/0.6004, allocations: 80.36 kB / 1.068 GB, free: 157.3 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.796e-05/0.6005, allocations: 342.9 kB / 1.068 GB, free: 156.9 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006608/0.6012, allocations: 337.2 kB / 1.068 GB, free: 156.8 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007391/0.6019, allocations: 472.3 kB / 1.069 GB, free: 156.6 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001362/0.6033, allocations: 0.8177 MB / 1.07 GB, free: 156.2 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.6033, allocations: 0.9688 kB / 1.07 GB, free: 156.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002349/0.6057, allocations: 1.07 MB / 1.071 GB, free: 155.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.6057, allocations: 6 kB / 1.071 GB, free: 155.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.6057, allocations: 5.562 kB / 1.071 GB, free: 155.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005487/0.6063, allocations: 85.08 kB / 1.071 GB, free: 155.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008635/0.6072, allocations: 215.4 kB / 1.071 GB, free: 155.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001605/0.6088, allocations: 1.544 MB / 1.073 GB, free: 154.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008177/0.6096, allocations: 115.9 kB / 1.073 GB, free: 154.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.512e-05/0.6097, allocations: 44.77 kB / 1.073 GB, free: 154.2 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 (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 (117): * Single equations (assignments): 116 * 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.000489/0.6102, allocations: 304.5 kB / 1.073 GB, free: 154 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001931/0.6104, allocations: 99.16 kB / 1.073 GB, free: 153.9 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002908/0.6133, allocations: 1.405 MB / 1.074 GB, free: 153.4 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.266e-05/0.6134, allocations: 11.38 kB / 1.074 GB, free: 153.4 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.6134, allocations: 0 / 1.074 GB, free: 153.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.482e-05/0.6134, allocations: 7.203 kB / 1.074 GB, free: 153.4 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003873/0.6173, allocations: 2.561 MB / 1.077 GB, free: 152 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/0.6173, allocations: 0 / 1.077 GB, free: 152 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006865/0.618, allocations: 201 kB / 1.077 GB, free: 152 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004609/0.6185, allocations: 87.86 kB / 1.077 GB, free: 151.9 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.308e-05/0.6186, allocations: 35.84 kB / 1.077 GB, free: 151.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001346/0.6199, allocations: 1.559 MB / 1.079 GB, free: 150.4 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.6199, allocations: 3.938 kB / 1.079 GB, free: 150.4 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002126/0.6221, allocations: 1.17 MB / 1.08 GB, free: 149.7 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004427/0.6225, allocations: 316.9 kB / 1.08 GB, free: 149.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001533/0.6227, allocations: 34.84 kB / 1.08 GB, free: 149.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006415/0.6234, allocations: 70.16 kB / 1.08 GB, free: 149.4 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001557/0.6235, allocations: 82.86 kB / 1.08 GB, free: 149.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.967e-05/0.6236, allocations: 41.2 kB / 1.08 GB, free: 149.4 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006562/0.6243, allocations: 0.5613 MB / 1.081 GB, free: 149 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6243, allocations: 0 / 1.081 GB, free: 149 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00098/0.6253, allocations: 381 kB / 1.081 GB, free: 148.9 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 (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.003283/0.6285, allocations: 2.2 MB / 1.084 GB, free: 147.6 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002178/0.6308, allocations: 1.015 MB / 1.085 GB, free: 147.1 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/0.6308, allocations: 0.5625 kB / 1.085 GB, free: 147.1 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001057/0.6318, allocations: 0.6111 MB / 1.085 GB, free: 146.7 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001328/0.6332, allocations: 278.1 kB / 1.085 GB, free: 146.6 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01266/0.6459, allocations: 9.054 MB / 1.094 GB, free: 138 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004407/0.6463, allocations: 1.165 MB / 1.095 GB, free: 136.8 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0009169/0.6473, allocations: 296.1 kB / 1.096 GB, free: 136.5 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005668/0.6478, allocations: 0.5344 MB / 1.096 GB, free: 136 MB / 0.698 GB Notification: Performance of SimCode: time 8.12e-07/0.6479, allocations: 0 / 1.096 GB, free: 136 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04636/0.6942, allocations: 24.16 MB / 1.12 GB, free: 112.1 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001487/0.6944, allocations: 304.5 kB / 1.12 GB, free: 111.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.593/3.288, allocations: 0 / 1.12 GB, free: 111.7 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.fmu > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1)