Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.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.SolarAzimuth,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",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.461/1.461, allocations: 252 MB / 267 MB, free: 10.98 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.001445/0.001444, allocations: 174.7 kB / 326.6 MB, free: 2.23 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.919/1.919, allocations: 205.4 MB / 0.5777 GB, free: 20.55 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.0008527/0.0008525, allocations: 83.78 kB / 0.6822 GB, free: 13.35 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003376/0.0003377, allocations: 8.719 kB / 0.7965 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2327/0.233, allocations: 106.3 MB / 0.9003 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.003978/0.2371, allocations: 3.627 MB / 0.9038 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1521/0.3892, allocations: 136.5 MB / 1.037 GB, free: 3.695 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000704/0.3899, allocations: 15.88 kB / 1.037 GB, free: 3.68 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0005056/0.3904, allocations: 135 kB / 1.037 GB, free: 3.547 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.001212/0.3917, allocations: 348.9 kB / 1.038 GB, free: 3.207 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001696/0.3934, allocations: 0.6165 MB / 1.038 GB, free: 2.598 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001194/0.3946, allocations: 1.043 MB / 1.039 GB, free: 1.547 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007177/0.3953, allocations: 466.6 kB / 1.04 GB, free: 1.078 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004999/0.3958, allocations: 310.6 kB / 1.04 GB, free: 0.7734 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004069/0.3962, allocations: 326.3 kB / 1.04 GB, free: 464 kB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 7.641e-05/0.3963, allocations: 24 kB / 1.04 GB, free: 440 kB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006089/0.3969, allocations: 271.7 kB / 1.041 GB, free: 168 kB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001683/0.3971, allocations: 167.2 kB / 1.041 GB, free: 0 / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001843/0.3973, allocations: 181.2 kB / 1.041 GB, free: 15.81 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001044/0.3984, allocations: 1.037 MB / 1.042 GB, free: 14.78 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.3984, allocations: 0 / 1.042 GB, free: 14.78 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.683e-06/0.3984, allocations: 0 / 1.042 GB, free: 14.78 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.636e-05/0.3984, allocations: 4 kB / 1.042 GB, free: 14.77 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.00231/0.4007, allocations: 1.147 MB / 1.043 GB, free: 13.58 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.4008, allocations: 12.02 kB / 1.043 GB, free: 13.57 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001706/0.4009, allocations: 131 kB / 1.043 GB, free: 13.43 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008722/0.4018, allocations: 186.6 kB / 1.043 GB, free: 13.25 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001072/0.4029, allocations: 0.6836 MB / 1.044 GB, free: 12.52 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001547/0.4031, allocations: 95.69 kB / 1.044 GB, free: 12.42 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001002/0.4032, allocations: 80 kB / 1.044 GB, free: 12.34 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001605/0.4048, allocations: 0.8793 MB / 1.045 GB, free: 11.42 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.4048, allocations: 3.938 kB / 1.045 GB, free: 11.42 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.497e-05/0.4049, allocations: 39.95 kB / 1.045 GB, free: 11.38 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.656e-05/0.405, allocations: 20 kB / 1.045 GB, free: 11.36 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00192/0.4069, allocations: 1.1 MB / 1.046 GB, free: 10.26 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004094/0.411, allocations: 2.436 MB / 1.049 GB, free: 7.75 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002084/0.4131, allocations: 0.8923 MB / 1.049 GB, free: 6.832 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006242/0.4137, allocations: 302.7 kB / 1.05 GB, free: 6.531 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.644e-05/0.4138, allocations: 36.59 kB / 1.05 GB, free: 6.496 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009782/0.4148, allocations: 455.1 kB / 1.05 GB, free: 6.031 MB / 0.698 GB Notification: Performance of pre-optimization done (n=76): time 3.777e-06/0.4148, allocations: 0 / 1.05 GB, free: 6.031 MB / 0.698 GB Notification: Performance of matching and sorting (n=76): time 0.003351/0.4182, allocations: 1.143 MB / 1.051 GB, free: 4.863 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001029/0.4183, allocations: 192.6 kB / 1.051 GB, free: 4.633 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007473/0.4191, allocations: 0.5899 MB / 1.052 GB, free: 4.039 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.678e-05/0.4192, allocations: 41.64 kB / 1.052 GB, free: 3.992 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002893/0.4194, allocations: 376.4 kB / 1.052 GB, free: 3.617 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001935/0.4197, allocations: 248.4 kB / 1.053 GB, free: 3.371 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.293e-05/0.4197, allocations: 8 kB / 1.053 GB, free: 3.363 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001526/0.4199, allocations: 382.8 kB / 1.053 GB, free: 2.98 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005501/0.4204, allocations: 237.2 kB / 1.053 GB, free: 2.746 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006332/0.4211, allocations: 334.8 kB / 1.054 GB, free: 2.391 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006134/0.4217, allocations: 283.1 kB / 1.054 GB, free: 2.121 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.4217, allocations: 4 kB / 1.054 GB, free: 2.117 MB / 0.698 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001974/0.4237, allocations: 0.7665 MB / 1.055 GB, free: 1.34 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.4237, allocations: 8 kB / 1.055 GB, free: 1.332 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.4237, allocations: 0 / 1.055 GB, free: 1.332 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006085/0.4243, allocations: 84.86 kB / 1.055 GB, free: 1.246 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006435/0.425, allocations: 151.8 kB / 1.055 GB, free: 1.098 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4384/0.8634, allocations: 1.511 MB / 1.056 GB, free: 154 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008935/0.8643, allocations: 91.69 kB / 1.056 GB, free: 154 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.423e-05/0.8644, allocations: 28.81 kB / 1.056 GB, free: 154 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 (79): * Single equations (assignments): 78 * 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.0004688/0.8649, allocations: 254.7 kB / 1.057 GB, free: 153.9 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001645/0.8651, allocations: 83.88 kB / 1.057 GB, free: 153.9 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002621/0.8677, allocations: 1.096 MB / 1.058 GB, free: 153.8 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.451e-05/0.8677, allocations: 11.56 kB / 1.058 GB, free: 153.8 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.8677, allocations: 0 / 1.058 GB, free: 153.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.529e-05/0.8678, allocations: 5.203 kB / 1.058 GB, free: 153.8 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003407/0.8712, allocations: 1.954 MB / 1.06 GB, free: 153.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.99e-06/0.8712, allocations: 0 / 1.06 GB, free: 153.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006213/0.8718, allocations: 163.2 kB / 1.06 GB, free: 153.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005201/0.8724, allocations: 88.69 kB / 1.06 GB, free: 153.4 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.425e-05/0.8724, allocations: 24.62 kB / 1.06 GB, free: 153.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001623/0.8741, allocations: 1.539 MB / 1.062 GB, free: 152.1 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/0.8741, allocations: 0.5781 kB / 1.062 GB, free: 152.1 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002093/0.8762, allocations: 0.9839 MB / 1.062 GB, free: 151.9 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004626/0.8767, allocations: 277.4 kB / 1.063 GB, free: 151.7 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001082/0.8768, allocations: 19.88 kB / 1.063 GB, free: 151.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000629/0.8774, allocations: 72.31 kB / 1.063 GB, free: 151.7 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001446/0.8776, allocations: 66.53 kB / 1.063 GB, free: 151.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.635e-05/0.8776, allocations: 35.06 kB / 1.063 GB, free: 151.7 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005629/0.8782, allocations: 432.3 kB / 1.063 GB, free: 151.6 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8782, allocations: 0.7656 kB / 1.063 GB, free: 151.6 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0008547/0.8791, allocations: 275 kB / 1.064 GB, free: 151.6 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 (93): * Single equations (assignments): 90 * 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.003298/0.8824, allocations: 1.974 MB / 1.066 GB, free: 150.8 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002002/0.8844, allocations: 0.7736 MB / 1.066 GB, free: 150.7 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.8844, allocations: 0.9375 kB / 1.066 GB, free: 150.7 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001109/0.8856, allocations: 0.5193 MB / 1.067 GB, free: 150.5 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001394/0.887, allocations: 255 kB / 1.067 GB, free: 150.5 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01181/0.8988, allocations: 4.79 MB / 1.072 GB, free: 149 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007128/0.8996, allocations: 1.02 MB / 1.073 GB, free: 148.3 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.00113/0.9007, allocations: 259.2 kB / 1.073 GB, free: 148.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000567/0.9013, allocations: 368.5 kB / 1.073 GB, free: 148.2 MB / 0.698 GB Notification: Performance of SimCode: time 1.572e-06/0.9013, allocations: 0 / 1.073 GB, free: 148.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04448/0.9458, allocations: 19.98 MB / 1.093 GB, free: 136.7 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00022/0.946, allocations: 299.6 kB / 1.093 GB, free: 136.4 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.941/3.887, allocations: 0 / 1.093 GB, free: 136.4 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.fmu > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1)