Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.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.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.429/1.429, allocations: 252 MB / 267 MB, free: 10.97 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.001105/0.001105, allocations: 165.6 kB / 326.6 MB, free: 2.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.016/2.016, allocations: 205.4 MB / 0.5777 GB, free: 20.25 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.0009323/0.0009322, allocations: 90.28 kB / 0.6823 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003465/0.0003466, allocations: 9.188 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2486/0.2489, allocations: 106.3 MB / 0.9003 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.004146/0.2532, allocations: 3.58 MB / 0.9038 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1632/0.4164, allocations: 136.6 MB / 1.037 GB, free: 3.254 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008184/0.4173, allocations: 11.94 kB / 1.037 GB, free: 3.242 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0005591/0.4179, allocations: 134.9 kB / 1.037 GB, free: 3.109 MB / 0.6823 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.001354/0.4193, allocations: 366 kB / 1.038 GB, free: 2.754 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0019/0.4212, allocations: 0.5907 MB / 1.038 GB, free: 2.172 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001463/0.4226, allocations: 1.024 MB / 1.039 GB, free: 1.141 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007771/0.4234, allocations: 461.1 kB / 1.04 GB, free: 0.6797 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006073/0.424, allocations: 298.6 kB / 1.04 GB, free: 396 kB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004583/0.4245, allocations: 342.2 kB / 1.04 GB, free: 52 kB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 8.251e-05/0.4246, allocations: 20 kB / 1.04 GB, free: 32 kB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007166/0.4253, allocations: 263.8 kB / 1.041 GB, free: 15.77 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001831/0.4255, allocations: 167.2 kB / 1.041 GB, free: 15.61 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001839/0.4257, allocations: 177.2 kB / 1.041 GB, free: 15.43 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001029/0.4267, allocations: 1.025 MB / 1.042 GB, free: 14.4 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.4268, allocations: 4 kB / 1.042 GB, free: 14.4 MB / 0.698 GB Notification: Performance of FrontEnd: time 8.82e-07/0.4268, allocations: 3.938 kB / 1.042 GB, free: 14.39 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.04e-05/0.4268, allocations: 0 / 1.042 GB, free: 14.39 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.002089/0.4289, allocations: 1.124 MB / 1.043 GB, free: 13.22 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.4289, allocations: 12.03 kB / 1.043 GB, free: 13.21 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001788/0.4291, allocations: 130.9 kB / 1.043 GB, free: 13.07 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008823/0.43, allocations: 190.5 kB / 1.043 GB, free: 12.88 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001132/0.4312, allocations: 0.6797 MB / 1.044 GB, free: 12.16 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.461e-05/0.4312, allocations: 58 kB / 1.044 GB, free: 12.11 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001016/0.4313, allocations: 79.98 kB / 1.044 GB, free: 12.03 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001603/0.433, allocations: 0.8637 MB / 1.045 GB, free: 11.12 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.009e-05/0.433, allocations: 3.984 kB / 1.045 GB, free: 11.12 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.308e-05/0.4331, allocations: 39.94 kB / 1.045 GB, free: 11.08 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.98e-05/0.4331, allocations: 23.95 kB / 1.045 GB, free: 11.05 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001767/0.4349, allocations: 1.093 MB / 1.046 GB, free: 9.961 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004166/0.4391, allocations: 2.42 MB / 1.048 GB, free: 7.473 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001329/0.4404, allocations: 0.7416 MB / 1.049 GB, free: 6.723 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00052/0.441, allocations: 286.7 kB / 1.049 GB, free: 6.441 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.762e-05/0.4411, allocations: 32.59 kB / 1.05 GB, free: 6.406 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008629/0.4419, allocations: 444.3 kB / 1.05 GB, free: 5.957 MB / 0.698 GB Notification: Performance of pre-optimization done (n=76): time 2.024e-06/0.4419, allocations: 0 / 1.05 GB, free: 5.957 MB / 0.698 GB Notification: Performance of matching and sorting (n=76): time 0.003167/0.4451, allocations: 1.123 MB / 1.051 GB, free: 4.805 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001195/0.4452, allocations: 192.6 kB / 1.051 GB, free: 4.574 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000856/0.4461, allocations: 0.5784 MB / 1.052 GB, free: 3.992 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.136e-05/0.4462, allocations: 37.7 kB / 1.052 GB, free: 3.949 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000316/0.4465, allocations: 376.2 kB / 1.052 GB, free: 3.574 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002623/0.4468, allocations: 252.4 kB / 1.052 GB, free: 3.324 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.803e-05/0.4468, allocations: 12 kB / 1.052 GB, free: 3.312 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001684/0.447, allocations: 378.8 kB / 1.053 GB, free: 2.934 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004511/0.4475, allocations: 229.9 kB / 1.053 GB, free: 2.707 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005453/0.448, allocations: 346.1 kB / 1.053 GB, free: 2.34 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005506/0.4486, allocations: 279.2 kB / 1.054 GB, free: 2.066 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.4486, allocations: 0 / 1.054 GB, free: 2.066 MB / 0.698 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001821/0.4504, allocations: 0.7626 MB / 1.054 GB, free: 1.293 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.441e-05/0.4505, allocations: 4 kB / 1.054 GB, free: 1.289 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/0.4505, allocations: 4.094 kB / 1.054 GB, free: 1.285 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006317/0.4511, allocations: 80.77 kB / 1.054 GB, free: 1.203 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000658/0.4518, allocations: 155.8 kB / 1.055 GB, free: 1.051 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.523/0.9748, allocations: 1.506 MB / 1.056 GB, free: 153.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008361/0.9757, allocations: 85.97 kB / 1.056 GB, free: 153.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-05/0.9758, allocations: 33.89 kB / 1.056 GB, free: 153.6 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.0004644/0.9763, allocations: 251.6 kB / 1.056 GB, free: 153.5 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001417/0.9764, allocations: 80.89 kB / 1.056 GB, free: 153.5 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00236/0.9788, allocations: 1.04 MB / 1.057 GB, free: 153.4 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.9788, allocations: 11.75 kB / 1.058 GB, free: 153.4 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.9788, allocations: 3.938 kB / 1.058 GB, free: 153.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.36e-05/0.9788, allocations: 7.047 kB / 1.058 GB, free: 153.4 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002943/0.9818, allocations: 1.884 MB / 1.059 GB, free: 153 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.9818, allocations: 0 / 1.059 GB, free: 153 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005633/0.9824, allocations: 149.3 kB / 1.059 GB, free: 153 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005161/0.9829, allocations: 84.08 kB / 1.06 GB, free: 153 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.536e-05/0.983, allocations: 24.5 kB / 1.06 GB, free: 153 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001655/0.9846, allocations: 1.544 MB / 1.061 GB, free: 151.7 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.9846, allocations: 2.781 kB / 1.061 GB, free: 151.7 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001986/0.9866, allocations: 0.9321 MB / 1.062 GB, free: 151.5 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004546/0.9871, allocations: 273.8 kB / 1.062 GB, free: 151.4 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001001/0.9872, allocations: 21.75 kB / 1.062 GB, free: 151.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006454/0.9879, allocations: 64.62 kB / 1.062 GB, free: 151.4 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001563/0.988, allocations: 60.84 kB / 1.062 GB, free: 151.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.024e-05/0.9881, allocations: 35.38 kB / 1.062 GB, free: 151.4 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006083/0.9887, allocations: 427.3 kB / 1.063 GB, free: 151.3 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.713e-06/0.9887, allocations: 0 / 1.063 GB, free: 151.3 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0008559/0.9896, allocations: 270.8 kB / 1.063 GB, free: 151.2 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.003202/0.9928, allocations: 1.933 MB / 1.065 GB, free: 150.4 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001585/0.9944, allocations: 0.757 MB / 1.066 GB, free: 150.3 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.9944, allocations: 1.312 kB / 1.066 GB, free: 150.3 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001092/0.9955, allocations: 498.3 kB / 1.066 GB, free: 150.1 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001553/0.9971, allocations: 252.2 kB / 1.066 GB, free: 150.1 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01267/1.01, allocations: 4.715 MB / 1.071 GB, free: 148.6 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007746/1.011, allocations: 1.004 MB / 1.072 GB, free: 147.9 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0012/1.012, allocations: 259 kB / 1.072 GB, free: 147.8 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005593/1.012, allocations: 362.2 kB / 1.073 GB, free: 147.8 MB / 0.698 GB Notification: Performance of SimCode: time 9.12e-07/1.012, allocations: 0.7188 kB / 1.073 GB, free: 147.8 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04795/1.06, allocations: 19.82 MB / 1.092 GB, free: 137 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002821/1.061, allocations: 312.7 kB / 1.092 GB, free: 136.6 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.94/4.001, allocations: 0 / 1.092 GB, free: 136.6 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.fmu > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1)