Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.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.ZenithAngle,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",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.526/1.526, allocations: 252 MB / 267 MB, free: 11 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.001052/0.001052, allocations: 178.3 kB / 326.6 MB, free: 2.254 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.894/1.894, allocations: 205.4 MB / 0.5777 GB, free: 20.28 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.0008042/0.000804, allocations: 89.59 kB / 0.6823 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003801/0.0003801, allocations: 9.5 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2687/0.2691, allocations: 106.4 MB / 0.9003 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.004155/0.2733, allocations: 3.537 MB / 0.9038 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1789/0.4522, allocations: 136.4 MB / 1.037 GB, free: 3.461 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008548/0.4531, allocations: 15.88 kB / 1.037 GB, free: 3.445 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0005526/0.4537, allocations: 127 kB / 1.037 GB, free: 3.32 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.00133/0.4551, allocations: 351.4 kB / 1.037 GB, free: 2.98 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001871/0.4569, allocations: 0.5906 MB / 1.038 GB, free: 2.395 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.00121/0.4582, allocations: 1.004 MB / 1.039 GB, free: 1.383 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007722/0.4589, allocations: 447 kB / 1.039 GB, free: 0.9453 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004992/0.4594, allocations: 302.6 kB / 1.04 GB, free: 0.6484 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000448/0.4599, allocations: 314.3 kB / 1.04 GB, free: 348 kB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 8.327e-05/0.46, allocations: 24 kB / 1.04 GB, free: 324 kB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007096/0.4607, allocations: 259.8 kB / 1.04 GB, free: 64 kB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001986/0.4609, allocations: 163.3 kB / 1.04 GB, free: 15.9 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001749/0.4611, allocations: 173.2 kB / 1.041 GB, free: 15.73 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001105/0.4622, allocations: 1.01 MB / 1.042 GB, free: 14.71 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.4622, allocations: 3.938 kB / 1.042 GB, free: 14.71 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.967e-06/0.4622, allocations: 7.984 kB / 1.042 GB, free: 14.7 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.12e-05/0.4623, allocations: 0 / 1.042 GB, free: 14.7 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: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.002255/0.4645, allocations: 1.105 MB / 1.043 GB, free: 13.55 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 7.154e-05/0.4646, allocations: 8.031 kB / 1.043 GB, free: 13.54 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001737/0.4648, allocations: 134.8 kB / 1.043 GB, free: 13.4 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009082/0.4657, allocations: 186.6 kB / 1.043 GB, free: 13.21 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001064/0.4668, allocations: 0.6719 MB / 1.044 GB, free: 12.5 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.328e-05/0.4668, allocations: 58 kB / 1.044 GB, free: 12.45 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.403e-05/0.467, allocations: 80 kB / 1.044 GB, free: 12.37 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001483/0.4684, allocations: 0.8442 MB / 1.045 GB, free: 11.48 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.751e-05/0.4685, allocations: 0 / 1.045 GB, free: 11.48 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001255/0.4686, allocations: 36 kB / 1.045 GB, free: 11.45 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.034e-05/0.4686, allocations: 23.95 kB / 1.045 GB, free: 11.43 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00167/0.4703, allocations: 1.05 MB / 1.046 GB, free: 10.37 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004286/0.4746, allocations: 2.373 MB / 1.048 GB, free: 7.93 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001351/0.476, allocations: 0.7929 MB / 1.049 GB, free: 7.105 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005168/0.4765, allocations: 282.3 kB / 1.049 GB, free: 6.828 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001016/0.4766, allocations: 32.59 kB / 1.049 GB, free: 6.797 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000886/0.4775, allocations: 423.2 kB / 1.05 GB, free: 6.367 MB / 0.698 GB Notification: Performance of pre-optimization done (n=72): time 5.7e-06/0.4776, allocations: 0 / 1.05 GB, free: 6.367 MB / 0.698 GB Notification: Performance of matching and sorting (n=72): time 0.003092/0.4807, allocations: 1.085 MB / 1.051 GB, free: 5.254 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001458/0.4808, allocations: 192.6 kB / 1.051 GB, free: 5.023 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008295/0.4817, allocations: 0.5588 MB / 1.051 GB, free: 4.457 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.142e-05/0.4817, allocations: 41.7 kB / 1.051 GB, free: 4.41 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003672/0.4821, allocations: 376.2 kB / 1.052 GB, free: 4.035 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002256/0.4824, allocations: 240.5 kB / 1.052 GB, free: 3.797 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.118e-05/0.4824, allocations: 8 kB / 1.052 GB, free: 3.789 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002185/0.4826, allocations: 382.8 kB / 1.052 GB, free: 3.406 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004414/0.4831, allocations: 217.2 kB / 1.053 GB, free: 3.195 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000544/0.4836, allocations: 322.7 kB / 1.053 GB, free: 2.852 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005003/0.4841, allocations: 255.1 kB / 1.053 GB, free: 2.602 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.4841, allocations: 0 / 1.053 GB, free: 2.602 MB / 0.698 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001709/0.4859, allocations: 0.7275 MB / 1.054 GB, free: 1.863 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.371e-05/0.4859, allocations: 8 kB / 1.054 GB, free: 1.855 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.228e-06/0.4859, allocations: 0 / 1.054 GB, free: 1.855 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000637/0.4866, allocations: 84.86 kB / 1.054 GB, free: 1.77 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005937/0.4872, allocations: 139.8 kB / 1.054 GB, free: 1.633 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5953/1.083, allocations: 1.507 MB / 1.055 GB, free: 154.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009347/1.083, allocations: 78.33 kB / 1.056 GB, free: 154.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.847e-05/1.084, allocations: 32.7 kB / 1.056 GB, free: 154.1 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 (75): * Single equations (assignments): 74 * 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.0005377/1.084, allocations: 242.7 kB / 1.056 GB, free: 154 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001254/1.084, allocations: 77.44 kB / 1.056 GB, free: 154 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002593/1.087, allocations: 1.022 MB / 1.057 GB, free: 153.9 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.48e-05/1.087, allocations: 13.12 kB / 1.057 GB, free: 153.9 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.441e-06/1.087, allocations: 6.219 kB / 1.057 GB, free: 153.9 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.157e-05/1.087, allocations: 3.328 kB / 1.057 GB, free: 153.9 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003178/1.09, allocations: 1.854 MB / 1.059 GB, free: 153.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/1.09, allocations: 0 / 1.059 GB, free: 153.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005415/1.091, allocations: 150 kB / 1.059 GB, free: 153.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005209/1.091, allocations: 83.64 kB / 1.059 GB, free: 153.6 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.166e-05/1.091, allocations: 21.45 kB / 1.059 GB, free: 153.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001639/1.093, allocations: 1.548 MB / 1.06 GB, free: 152.3 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/1.093, allocations: 0 / 1.06 GB, free: 152.3 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00185/1.095, allocations: 0.9152 MB / 1.061 GB, free: 152.1 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003344/1.095, allocations: 275.7 kB / 1.062 GB, free: 151.9 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.537e-05/1.095, allocations: 19.53 kB / 1.062 GB, free: 151.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005812/1.096, allocations: 64.77 kB / 1.062 GB, free: 151.9 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001432/1.096, allocations: 60.61 kB / 1.062 GB, free: 151.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.397e-05/1.096, allocations: 31.98 kB / 1.062 GB, free: 151.9 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005393/1.097, allocations: 421.2 kB / 1.062 GB, free: 151.8 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.6e-07/1.097, allocations: 0 / 1.062 GB, free: 151.8 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007739/1.097, allocations: 270.2 kB / 1.062 GB, free: 151.8 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 (86): * Single equations (assignments): 83 * 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.003055/1.1, allocations: 1.915 MB / 1.064 GB, free: 151 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001471/1.102, allocations: 0.728 MB / 1.065 GB, free: 150.9 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/1.102, allocations: 0 / 1.065 GB, free: 150.9 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008418/1.103, allocations: 0.4894 MB / 1.066 GB, free: 150.7 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001308/1.104, allocations: 253.8 kB / 1.066 GB, free: 150.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01124/1.115, allocations: 4.596 MB / 1.07 GB, free: 149.3 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007847/1.116, allocations: 0.9986 MB / 1.071 GB, free: 148.6 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001274/1.118, allocations: 248.5 kB / 1.071 GB, free: 148.5 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006383/1.118, allocations: 350.5 kB / 1.072 GB, free: 148.5 MB / 0.698 GB Notification: Performance of SimCode: time 1.593e-06/1.118, allocations: 4 kB / 1.072 GB, free: 148.5 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04406/1.162, allocations: 19.42 MB / 1.091 GB, free: 138.3 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001689/1.162, allocations: 294.4 kB / 1.091 GB, free: 138 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.825/3.988, allocations: 2.812 kB / 1.091 GB, free: 138 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.fmu > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1)