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.45/1.45, allocations: 288.4 MB / 303.6 MB, free: 8.094 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.0009172/0.0009171, allocations: 172.6 kB / 372.3 MB, free: 10.13 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.198/1.198, allocations: 205.4 MB / 0.631 GB, free: 9.887 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.0007559/0.0007556, allocations: 86.33 kB / 0.7444 GB, free: 5.793 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003773/0.0003773, allocations: 15.83 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1663/0.1667, allocations: 115.3 MB / 0.9802 GB, free: 27.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.003511/0.1702, allocations: 4.286 MB / 0.9844 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.493/0.6633, allocations: 136.9 MB / 1.118 GB, free: 2.367 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000625/0.6639, allocations: 16.5 kB / 1.118 GB, free: 2.363 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0004233/0.6644, allocations: 145.9 kB / 1.118 GB, free: 2.293 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.001159/0.6655, allocations: 449.8 kB / 1.119 GB, free: 2.168 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001647/0.6672, allocations: 0.6596 MB / 1.119 GB, free: 2.102 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001235/0.6684, allocations: 1.389 MB / 1.121 GB, free: 1.852 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001008/0.6695, allocations: 0.9558 MB / 1.122 GB, free: 1.625 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006002/0.6701, allocations: 447.7 kB / 1.122 GB, free: 1.492 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004892/0.6706, allocations: 487.6 kB / 1.122 GB, free: 1.348 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 9.53e-05/0.6707, allocations: 29.75 kB / 1.122 GB, free: 1.348 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006619/0.6713, allocations: 278.7 kB / 1.123 GB, free: 1.336 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001902/0.6715, allocations: 229.2 kB / 1.123 GB, free: 1.273 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0004324/0.672, allocations: 0.563 MB / 1.123 GB, free: 17.03 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001121/0.6731, allocations: 1.518 MB / 1.125 GB, free: 16.92 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.6731, allocations: 0 / 1.125 GB, free: 16.92 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.522e-06/0.6731, allocations: 0 / 1.125 GB, free: 16.92 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.877e-05/0.6731, allocations: 0 / 1.125 GB, free: 16.92 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.002303/0.6755, allocations: 1.453 MB / 1.126 GB, free: 16.05 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.6755, allocations: 9.031 kB / 1.126 GB, free: 16.05 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002127/0.6757, allocations: 201.3 kB / 1.127 GB, free: 16.01 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008484/0.6766, allocations: 246.3 kB / 1.127 GB, free: 15.92 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001068/0.6777, allocations: 0.8817 MB / 1.128 GB, free: 15.54 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.259e-05/0.6777, allocations: 100.5 kB / 1.128 GB, free: 15.54 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001269/0.6779, allocations: 133 kB / 1.128 GB, free: 15.54 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001995/0.6799, allocations: 1.387 MB / 1.129 GB, free: 15.35 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.538e-05/0.6799, allocations: 0 / 1.129 GB, free: 15.35 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.81e-05/0.68, allocations: 56.81 kB / 1.129 GB, free: 15.35 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.276e-05/0.68, allocations: 32.28 kB / 1.129 GB, free: 15.35 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001917/0.682, allocations: 1.471 MB / 1.131 GB, free: 15.33 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004695/0.6867, allocations: 3.614 MB / 1.134 GB, free: 13.99 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001343/0.688, allocations: 0.956 MB / 1.135 GB, free: 13.84 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000562/0.6886, allocations: 405.7 kB / 1.136 GB, free: 13.77 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.218e-05/0.6887, allocations: 48.12 kB / 1.136 GB, free: 13.76 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008758/0.6896, allocations: 0.5757 MB / 1.136 GB, free: 13.55 MB / 0.698 GB Notification: Performance of pre-optimization done (n=104): time 2.916e-06/0.6896, allocations: 4 kB / 1.136 GB, free: 13.54 MB / 0.698 GB Notification: Performance of matching and sorting (n=104): time 0.003205/0.6928, allocations: 1.483 MB / 1.138 GB, free: 13.14 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.151e-05/0.6929, allocations: 195 kB / 1.138 GB, free: 12.92 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008185/0.6937, allocations: 0.7322 MB / 1.139 GB, free: 12.68 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.246e-05/0.6938, allocations: 45.48 kB / 1.139 GB, free: 12.65 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003476/0.6942, allocations: 0.5594 MB / 1.139 GB, free: 12.32 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002244/0.6944, allocations: 351.3 kB / 1.14 GB, free: 12.07 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.551e-05/0.6944, allocations: 20.34 kB / 1.14 GB, free: 12.07 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.6946, allocations: 341.3 kB / 1.14 GB, free: 11.75 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005781/0.6951, allocations: 336.2 kB / 1.14 GB, free: 11.7 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006882/0.6958, allocations: 464.3 kB / 1.141 GB, free: 11.56 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001288/0.6971, allocations: 0.8067 MB / 1.141 GB, free: 11.45 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.6971, allocations: 1.094 kB / 1.141 GB, free: 11.45 MB / 0.698 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002058/0.6992, allocations: 1.071 MB / 1.142 GB, free: 11.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.6992, allocations: 5.25 kB / 1.142 GB, free: 11.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.6993, allocations: 1.375 kB / 1.142 GB, free: 11.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005491/0.6998, allocations: 88.17 kB / 1.143 GB, free: 11.17 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008619/0.7007, allocations: 222.2 kB / 1.143 GB, free: 11.11 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001733/0.7024, allocations: 1.522 MB / 1.144 GB, free: 9.75 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007808/0.7032, allocations: 116.6 kB / 1.144 GB, free: 9.688 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.604e-05/0.7033, allocations: 46.05 kB / 1.144 GB, free: 9.676 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.0005234/0.7039, allocations: 302.7 kB / 1.145 GB, free: 9.543 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001385/0.704, allocations: 97.41 kB / 1.145 GB, free: 9.492 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002759/0.7068, allocations: 1.402 MB / 1.146 GB, free: 9.094 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.05e-05/0.7068, allocations: 12.03 kB / 1.146 GB, free: 9.094 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.7068, allocations: 0 / 1.146 GB, free: 9.094 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.404e-05/0.7068, allocations: 10.81 kB / 1.146 GB, free: 9.086 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003654/0.7105, allocations: 2.554 MB / 1.149 GB, free: 8.191 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.7105, allocations: 1.469 kB / 1.149 GB, free: 8.191 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007389/0.7112, allocations: 195.2 kB / 1.149 GB, free: 8.152 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004687/0.7117, allocations: 87.86 kB / 1.149 GB, free: 8.117 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-05/0.7118, allocations: 28.23 kB / 1.149 GB, free: 8.113 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001562/0.7134, allocations: 1.565 MB / 1.151 GB, free: 6.734 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.7134, allocations: 0 / 1.151 GB, free: 6.734 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002065/0.7154, allocations: 1.164 MB / 1.152 GB, free: 6.398 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004432/0.7159, allocations: 353.9 kB / 1.152 GB, free: 6.168 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001176/0.716, allocations: 19.59 kB / 1.152 GB, free: 6.168 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006656/0.7167, allocations: 78.38 kB / 1.152 GB, free: 6.148 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001497/0.7169, allocations: 74.8 kB / 1.152 GB, free: 6.121 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.718e-05/0.7169, allocations: 41.56 kB / 1.152 GB, free: 6.113 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007091/0.7177, allocations: 0.5574 MB / 1.153 GB, free: 5.934 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7177, allocations: 0 / 1.153 GB, free: 5.934 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001037/0.7187, allocations: 383.2 kB / 1.153 GB, free: 5.848 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.003364/0.7221, allocations: 2.181 MB / 1.155 GB, free: 4.801 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001999/0.7241, allocations: 1.009 MB / 1.156 GB, free: 4.543 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.7241, allocations: 5.281 kB / 1.156 GB, free: 4.539 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001002/0.7251, allocations: 0.6176 MB / 1.157 GB, free: 4.332 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001432/0.7266, allocations: 263.4 kB / 1.157 GB, free: 4.27 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0101/0.7367, allocations: 6.493 MB / 1.163 GB, free: 1.34 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005791/0.7373, allocations: 1.166 MB / 1.165 GB, free: 452 kB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0008609/0.7381, allocations: 290.2 kB / 1.165 GB, free: 312 kB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005797/0.7387, allocations: 0.5312 MB / 1.165 GB, free: 244 kB / 0.698 GB Notification: Performance of SimCode: time 5.61e-07/0.7387, allocations: 0 / 1.165 GB, free: 244 kB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2563/0.9951, allocations: 25.76 MB / 1.19 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002273/0.9953, allocations: 281.6 kB / 1.191 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.67/3.665, allocations: 0 / 1.191 GB, free: 12.66 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)