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.462/1.462, allocations: 252 MB / 267.3 MB, free: 10.85 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.00115/0.00115, allocations: 184.7 kB / 327 MB, free: 2.102 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.578 GB, free: 20.16 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.0009618/0.0009622, allocations: 99.67 kB / 0.6826 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003309/0.0003309, allocations: 8.844 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2671/0.2675, allocations: 106.3 MB / 0.9009 GB, free: 63.44 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.004891/0.2724, allocations: 4.535 MB / 0.9053 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1761/0.4485, allocations: 146.7 MB / 1.049 GB, free: 7.586 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001218/0.4498, allocations: 19.88 kB / 1.049 GB, free: 7.566 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0006072/0.4504, allocations: 158.8 kB / 1.049 GB, free: 7.41 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.002049/0.4525, allocations: 466.4 kB / 1.049 GB, free: 6.957 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002263/0.4548, allocations: 0.7509 MB / 1.05 GB, free: 6.211 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001877/0.4566, allocations: 1.468 MB / 1.051 GB, free: 4.734 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001328/0.458, allocations: 0.9534 MB / 1.052 GB, free: 3.742 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000814/0.4588, allocations: 473.4 kB / 1.053 GB, free: 3.277 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007224/0.4595, allocations: 0.4892 MB / 1.053 GB, free: 2.785 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001086/0.4597, allocations: 32 kB / 1.053 GB, free: 2.754 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008809/0.4605, allocations: 303.7 kB / 1.054 GB, free: 2.457 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002699/0.4608, allocations: 238.7 kB / 1.054 GB, free: 2.223 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.000579/0.4614, allocations: 0.5992 MB / 1.054 GB, free: 1.613 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.6199/1.081, allocations: 1.887 MB / 1.056 GB, free: 5.102 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 8.466e-06/1.081, allocations: 1.281 kB / 1.056 GB, free: 5.102 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.985e-06/1.081, allocations: 1.062 kB / 1.056 GB, free: 5.102 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.846e-05/1.082, allocations: 0 / 1.056 GB, free: 5.102 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.003408/1.085, allocations: 1.448 MB / 1.058 GB, free: 4.328 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.979e-05/1.085, allocations: 10.03 kB / 1.058 GB, free: 4.328 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002889/1.085, allocations: 202.7 kB / 1.058 GB, free: 4.285 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009848/1.086, allocations: 247.5 kB / 1.058 GB, free: 4.199 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001211/1.088, allocations: 0.8748 MB / 1.059 GB, free: 3.859 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.178e-05/1.088, allocations: 109.2 kB / 1.059 GB, free: 3.852 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001386/1.088, allocations: 130.5 kB / 1.059 GB, free: 3.852 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002319/1.09, allocations: 1.39 MB / 1.061 GB, free: 3.676 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.66e-05/1.09, allocations: 7.031 kB / 1.061 GB, free: 3.672 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001108/1.09, allocations: 57.47 kB / 1.061 GB, free: 3.672 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.491e-05/1.09, allocations: 32.31 kB / 1.061 GB, free: 3.672 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002684/1.093, allocations: 1.48 MB / 1.062 GB, free: 3.656 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006932/1.1, allocations: 3.611 MB / 1.066 GB, free: 2.738 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001759/1.102, allocations: 0.9645 MB / 1.067 GB, free: 2.688 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008235/1.103, allocations: 404.3 kB / 1.067 GB, free: 2.68 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001303/1.103, allocations: 46.41 kB / 1.067 GB, free: 2.68 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001221/1.104, allocations: 0.5841 MB / 1.068 GB, free: 2.598 MB / 0.698 GB Notification: Performance of pre-optimization done (n=104): time 3.317e-06/1.104, allocations: 0 / 1.068 GB, free: 2.598 MB / 0.698 GB Notification: Performance of matching and sorting (n=104): time 0.004152/1.108, allocations: 1.492 MB / 1.069 GB, free: 2.375 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.273e-05/1.108, allocations: 193 kB / 1.069 GB, free: 2.152 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001293/1.11, allocations: 0.7373 MB / 1.07 GB, free: 2.02 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.939e-05/1.11, allocations: 49.64 kB / 1.07 GB, free: 1.984 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004936/1.11, allocations: 0.5658 MB / 1.071 GB, free: 1.711 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002967/1.11, allocations: 345.6 kB / 1.071 GB, free: 1.492 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.578e-05/1.111, allocations: 19.34 kB / 1.071 GB, free: 1.492 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002291/1.111, allocations: 342.3 kB / 1.071 GB, free: 17.19 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008466/1.112, allocations: 339.8 kB / 1.072 GB, free: 17.19 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009748/1.113, allocations: 467.4 kB / 1.072 GB, free: 17.11 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001714/1.114, allocations: 0.8216 MB / 1.073 GB, free: 17.05 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/1.114, allocations: 0 / 1.073 GB, free: 17.05 MB / 0.7136 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002818/1.117, allocations: 1.076 MB / 1.074 GB, free: 16.93 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.468e-05/1.117, allocations: 4.938 kB / 1.074 GB, free: 16.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/1.117, allocations: 4.328 kB / 1.074 GB, free: 16.93 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005952/1.118, allocations: 84.55 kB / 1.074 GB, free: 16.92 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00094/1.119, allocations: 214.8 kB / 1.074 GB, free: 16.92 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002046/1.121, allocations: 1.533 MB / 1.076 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009911/1.122, allocations: 111.2 kB / 1.076 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.02e-05/1.122, allocations: 43.22 kB / 1.076 GB, free: 15.57 MB / 0.7136 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 (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.0006047/1.123, allocations: 311.3 kB / 1.076 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001914/1.123, allocations: 105.6 kB / 1.076 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003209/1.126, allocations: 1.395 MB / 1.078 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.655e-05/1.126, allocations: 18.8 kB / 1.078 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/1.126, allocations: 0.6875 kB / 1.078 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.365e-05/1.126, allocations: 10.52 kB / 1.078 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004289/1.13, allocations: 2.554 MB / 1.08 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.151e-06/1.13, allocations: 0 / 1.08 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008391/1.131, allocations: 193.5 kB / 1.08 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000505/1.132, allocations: 88.11 kB / 1.08 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.107e-05/1.132, allocations: 32.92 kB / 1.08 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001927/1.134, allocations: 1.565 MB / 1.082 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/1.134, allocations: 0.9375 kB / 1.082 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00248/1.136, allocations: 1.178 MB / 1.083 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006242/1.137, allocations: 352.4 kB / 1.083 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001378/1.137, allocations: 27.45 kB / 1.083 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007248/1.138, allocations: 69.45 kB / 1.083 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002126/1.138, allocations: 82.86 kB / 1.084 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.346e-05/1.138, allocations: 38.98 kB / 1.084 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0009261/1.139, allocations: 0.5587 MB / 1.084 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.2e-07/1.139, allocations: 0 / 1.084 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001421/1.14, allocations: 378.6 kB / 1.084 GB, free: 12.97 MB / 0.7136 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.003693/1.144, allocations: 2.187 MB / 1.087 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001939/1.146, allocations: 1.004 MB / 1.088 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/1.146, allocations: 9.422 kB / 1.088 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001088/1.147, allocations: 0.6168 MB / 1.088 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001527/1.149, allocations: 285.6 kB / 1.088 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01628/1.165, allocations: 9.067 MB / 1.097 GB, free: 8.344 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008094/1.166, allocations: 1.169 MB / 1.098 GB, free: 7.613 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001159/1.167, allocations: 301.8 kB / 1.099 GB, free: 7.531 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007004/1.168, allocations: 0.5311 MB / 1.099 GB, free: 7.523 MB / 0.7136 GB Notification: Performance of SimCode: time 1.052e-06/1.168, allocations: 0 / 1.099 GB, free: 7.523 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05451/1.222, allocations: 24.16 MB / 1.123 GB, free: 316 kB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003167/1.223, allocations: 309.7 kB / 1.123 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.107/4.329, allocations: 0 / 1.123 GB, free: 15.93 MB / 0.7292 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)