Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.SolarHourAngle,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",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.406/1.406, 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.001109/0.001109, allocations: 183.5 kB / 326.6 MB, free: 2.195 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.866/1.866, allocations: 205.4 MB / 0.5777 GB, free: 20.21 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.0007876/0.0007876, allocations: 104.3 kB / 0.6823 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000356/0.0003564, allocations: 9.062 kB / 0.7964 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2279/0.2283, allocations: 106.3 MB / 0.9003 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.004088/0.2325, allocations: 3.479 MB / 0.9037 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.161/0.3935, allocations: 136.4 MB / 1.037 GB, free: 3.488 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009116/0.3945, allocations: 15.88 kB / 1.037 GB, free: 3.473 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0005874/0.3951, allocations: 123.1 kB / 1.037 GB, free: 3.352 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.001463/0.3966, allocations: 341.7 kB / 1.037 GB, free: 3.02 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001865/0.3984, allocations: 0.5829 MB / 1.038 GB, free: 2.445 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001221/0.3997, allocations: 0.981 MB / 1.039 GB, free: 1.457 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007/0.4004, allocations: 439 kB / 1.039 GB, free: 1.027 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000452/0.4008, allocations: 278.7 kB / 1.04 GB, free: 0.7539 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003973/0.4013, allocations: 306.3 kB / 1.04 GB, free: 464 kB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 9.368e-05/0.4014, allocations: 20 kB / 1.04 GB, free: 444 kB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006757/0.402, allocations: 259.8 kB / 1.04 GB, free: 184 kB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001684/0.4022, allocations: 159.3 kB / 1.04 GB, free: 24 kB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.000179/0.4024, allocations: 173.2 kB / 1.04 GB, free: 15.85 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001056/0.4035, allocations: 0.9978 MB / 1.041 GB, free: 14.85 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 8.366e-06/0.4035, allocations: 4 kB / 1.041 GB, free: 14.84 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.415e-06/0.4035, allocations: 0 / 1.041 GB, free: 14.84 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.14e-05/0.4035, allocations: 0 / 1.041 GB, free: 14.84 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: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.002032/0.4056, allocations: 1.092 MB / 1.043 GB, free: 13.7 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/0.4056, allocations: 8.031 kB / 1.043 GB, free: 13.69 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001669/0.4058, allocations: 130.6 kB / 1.043 GB, free: 13.55 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008773/0.4067, allocations: 182.6 kB / 1.043 GB, free: 13.38 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001038/0.4077, allocations: 0.6758 MB / 1.043 GB, free: 12.66 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.199e-05/0.4078, allocations: 54 kB / 1.044 GB, free: 12.61 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.585e-05/0.4079, allocations: 72 kB / 1.044 GB, free: 12.54 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001415/0.4093, allocations: 0.8208 MB / 1.044 GB, free: 11.68 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.691e-05/0.4093, allocations: 4 kB / 1.044 GB, free: 11.67 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.329e-05/0.4094, allocations: 36 kB / 1.044 GB, free: 11.64 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.196e-05/0.4095, allocations: 23.94 kB / 1.044 GB, free: 11.61 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001609/0.4111, allocations: 1.042 MB / 1.045 GB, free: 10.57 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004027/0.4151, allocations: 2.334 MB / 1.048 GB, free: 8.164 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00147/0.4166, allocations: 0.7813 MB / 1.049 GB, free: 7.352 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004848/0.4171, allocations: 266.4 kB / 1.049 GB, free: 7.09 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.439e-05/0.4172, allocations: 32.53 kB / 1.049 GB, free: 7.059 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000818/0.4181, allocations: 417.7 kB / 1.049 GB, free: 6.629 MB / 0.698 GB Notification: Performance of pre-optimization done (n=70): time 2.424e-06/0.4181, allocations: 0 / 1.049 GB, free: 6.629 MB / 0.698 GB Notification: Performance of matching and sorting (n=70): time 0.002945/0.421, allocations: 1.055 MB / 1.05 GB, free: 5.547 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001292/0.4212, allocations: 200.4 kB / 1.05 GB, free: 5.309 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008079/0.422, allocations: 0.5577 MB / 1.051 GB, free: 4.742 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.368e-05/0.4221, allocations: 37.7 kB / 1.051 GB, free: 4.699 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.00031/0.4224, allocations: 368.3 kB / 1.051 GB, free: 4.332 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001981/0.4226, allocations: 224.7 kB / 1.052 GB, free: 4.109 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.379e-05/0.4226, allocations: 16 kB / 1.052 GB, free: 4.094 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001634/0.4228, allocations: 378.8 kB / 1.052 GB, free: 3.715 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004194/0.4232, allocations: 201.2 kB / 1.052 GB, free: 3.52 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005184/0.4238, allocations: 318.8 kB / 1.052 GB, free: 3.184 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005088/0.4243, allocations: 259.1 kB / 1.053 GB, free: 2.93 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.4243, allocations: 0 / 1.053 GB, free: 2.93 MB / 0.698 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001734/0.426, allocations: 0.7003 MB / 1.053 GB, free: 2.219 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.563e-05/0.4261, allocations: 7.953 kB / 1.053 GB, free: 2.211 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.4261, allocations: 4.094 kB / 1.053 GB, free: 2.207 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000616/0.4267, allocations: 76.78 kB / 1.053 GB, free: 2.129 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005807/0.4273, allocations: 143.8 kB / 1.054 GB, free: 1.988 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002396/0.4297, allocations: 1.508 MB / 1.055 GB, free: 352 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008341/0.4306, allocations: 81.53 kB / 1.055 GB, free: 272 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-05/0.4307, allocations: 27.98 kB / 1.055 GB, free: 244 kB / 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 (73): * Single equations (assignments): 72 * 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.531/0.9617, allocations: 242.3 kB / 1.055 GB, free: 154.9 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003744/0.9621, allocations: 74.91 kB / 1.055 GB, free: 154.9 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002637/0.9648, allocations: 0.9641 MB / 1.056 GB, free: 154.8 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-05/0.9648, allocations: 7.344 kB / 1.056 GB, free: 154.8 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.9648, allocations: 4.734 kB / 1.056 GB, free: 154.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.294e-05/0.9648, allocations: 5.156 kB / 1.056 GB, free: 154.8 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002904/0.9677, allocations: 1.786 MB / 1.058 GB, free: 154.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.9678, allocations: 0 / 1.058 GB, free: 154.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005115/0.9683, allocations: 141.6 kB / 1.058 GB, free: 154.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004986/0.9688, allocations: 85.66 kB / 1.058 GB, free: 154.5 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.205e-05/0.9688, allocations: 24.73 kB / 1.058 GB, free: 154.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001523/0.9704, allocations: 1.545 MB / 1.06 GB, free: 153.2 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.9704, allocations: 0.75 kB / 1.06 GB, free: 153.2 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001623/0.972, allocations: 0.8917 MB / 1.061 GB, free: 153 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003608/0.9724, allocations: 262.8 kB / 1.061 GB, free: 152.9 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.932e-05/0.9725, allocations: 17.02 kB / 1.061 GB, free: 152.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005632/0.9731, allocations: 67.69 kB / 1.061 GB, free: 152.9 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001737/0.9732, allocations: 59.59 kB / 1.061 GB, free: 152.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.558e-05/0.9733, allocations: 25.12 kB / 1.061 GB, free: 152.9 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005543/0.9739, allocations: 401.9 kB / 1.062 GB, free: 152.8 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9739, allocations: 0 / 1.062 GB, free: 152.8 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007828/0.9747, allocations: 257.3 kB / 1.062 GB, free: 152.7 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 (81): * Single equations (assignments): 78 * 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.003054/0.9777, allocations: 1.886 MB / 1.064 GB, free: 151.9 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001503/0.9793, allocations: 0.7048 MB / 1.064 GB, free: 151.8 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.9793, allocations: 3.219 kB / 1.064 GB, free: 151.8 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008254/0.9801, allocations: 481.5 kB / 1.065 GB, free: 151.7 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001293/0.9814, allocations: 260.5 kB / 1.065 GB, free: 151.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01109/0.9925, allocations: 4.493 MB / 1.069 GB, free: 150.2 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008551/0.9934, allocations: 0.9863 MB / 1.07 GB, free: 149.5 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001261/0.9947, allocations: 252.9 kB / 1.071 GB, free: 149.4 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006532/0.9954, allocations: 333 kB / 1.071 GB, free: 149.4 MB / 0.698 GB Notification: Performance of SimCode: time 1.643e-06/0.9954, allocations: 0 / 1.071 GB, free: 149.4 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04828/1.044, allocations: 18.95 MB / 1.089 GB, free: 139.8 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001954/1.044, allocations: 301.8 kB / 1.09 GB, free: 139.5 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.892/3.936, allocations: 0 / 1.09 GB, free: 139.5 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.fmu > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)