Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.758/1.758, allocations: 288.4 MB / 303.3 MB, free: 8.207 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001352/0.001352, allocations: 189.6 kB / 372 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.648/1.648, allocations: 205.4 MB / 0.6307 GB, free: 9.98 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008173/0.0008172, allocations: 94.91 kB / 0.744 GB, free: 5.902 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003999/0.0003999, allocations: 14.62 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2466/0.247, allocations: 115.3 MB / 0.9796 GB, free: 27.58 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.004227/0.2513, allocations: 3.534 MB / 0.9831 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.7627/1.014, allocations: 136.4 MB / 1.116 GB, free: 2.266 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008359/1.015, allocations: 18.72 kB / 1.116 GB, free: 2.258 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0005692/1.016, allocations: 126.1 kB / 1.116 GB, free: 2.199 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1-maint.8.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 8.0.1-maint.8.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 8.0.1-maint.8.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.001598/1.017, allocations: 342.3 kB / 1.117 GB, free: 2.113 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002171/1.019, allocations: 0.6062 MB / 1.117 GB, free: 2.043 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001504/1.021, allocations: 1 MB / 1.118 GB, free: 1.887 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008767/1.022, allocations: 449 kB / 1.119 GB, free: 1.812 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006697/1.022, allocations: 291.2 kB / 1.119 GB, free: 1.738 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005547/1.023, allocations: 317 kB / 1.119 GB, free: 1.648 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 9.419e-05/1.023, allocations: 20.78 kB / 1.119 GB, free: 1.648 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000977/1.024, allocations: 269.4 kB / 1.12 GB, free: 1.633 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002699/1.024, allocations: 162.3 kB / 1.12 GB, free: 1.598 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002791/1.025, allocations: 177.3 kB / 1.12 GB, free: 1.531 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.001795/1.026, allocations: 1.015 MB / 1.121 GB, free: 1.449 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 9.969e-06/1.026, allocations: 1.469 kB / 1.121 GB, free: 1.449 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.298e-06/1.026, allocations: 0 / 1.121 GB, free: 1.449 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.429e-05/1.027, allocations: 0 / 1.121 GB, free: 1.449 MB / 0.6823 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.002801/1.029, allocations: 1.11 MB / 1.122 GB, free: 16.74 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.435e-05/1.029, allocations: 10.25 kB / 1.122 GB, free: 16.74 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002192/1.03, allocations: 125.3 kB / 1.122 GB, free: 16.7 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001056/1.031, allocations: 185.7 kB / 1.122 GB, free: 16.64 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001178/1.032, allocations: 0.6779 MB / 1.123 GB, free: 16.35 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.548e-05/1.032, allocations: 58.19 kB / 1.123 GB, free: 16.34 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001337/1.032, allocations: 74.03 kB / 1.123 GB, free: 16.34 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001889/1.034, allocations: 0.848 MB / 1.124 GB, free: 16.19 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.396e-05/1.034, allocations: 1.219 kB / 1.124 GB, free: 16.19 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.183e-05/1.034, allocations: 36.36 kB / 1.124 GB, free: 16.19 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.599e-05/1.034, allocations: 18.41 kB / 1.124 GB, free: 16.19 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002191/1.036, allocations: 1.057 MB / 1.125 GB, free: 16.17 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004416/1.041, allocations: 2.378 MB / 1.127 GB, free: 15.36 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001291/1.042, allocations: 0.7912 MB / 1.128 GB, free: 15.22 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004718/1.043, allocations: 280.7 kB / 1.128 GB, free: 15.21 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.78e-05/1.043, allocations: 33.41 kB / 1.128 GB, free: 15.21 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008143/1.044, allocations: 421.9 kB / 1.129 GB, free: 15.13 MB / 0.698 GB Notification: Performance of pre-optimization done (n=72): time 5.039e-06/1.044, allocations: 7.984 kB / 1.129 GB, free: 15.12 MB / 0.698 GB Notification: Performance of matching and sorting (n=72): time 0.00292/1.046, allocations: 1.08 MB / 1.13 GB, free: 14.92 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001728/1.047, allocations: 189.3 kB / 1.13 GB, free: 14.7 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008428/1.048, allocations: 0.5639 MB / 1.131 GB, free: 14.57 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.475e-05/1.048, allocations: 43.14 kB / 1.131 GB, free: 14.54 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003781/1.048, allocations: 365.9 kB / 1.131 GB, free: 14.37 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002421/1.048, allocations: 240.4 kB / 1.131 GB, free: 14.22 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.511e-05/1.048, allocations: 16.16 kB / 1.131 GB, free: 14.21 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002181/1.049, allocations: 379.1 kB / 1.132 GB, free: 13.9 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004159/1.049, allocations: 219.3 kB / 1.132 GB, free: 13.9 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005372/1.049, allocations: 322.1 kB / 1.132 GB, free: 13.81 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005342/1.05, allocations: 259.4 kB / 1.132 GB, free: 13.8 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/1.05, allocations: 3.344 kB / 1.132 GB, free: 13.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001659/1.052, allocations: 0.723 MB / 1.133 GB, free: 13.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.726e-05/1.052, allocations: 6.75 kB / 1.133 GB, free: 13.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/1.052, allocations: 0 / 1.133 GB, free: 13.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006245/1.052, allocations: 82.25 kB / 1.133 GB, free: 13.68 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005704/1.053, allocations: 136.1 kB / 1.133 GB, free: 13.68 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002232/1.055, allocations: 1.513 MB / 1.135 GB, free: 12.35 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007352/1.056, allocations: 79.02 kB / 1.135 GB, free: 12.31 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.208e-05/1.056, allocations: 31.67 kB / 1.135 GB, free: 12.3 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.0005801/1.057, allocations: 243.1 kB / 1.135 GB, free: 12.18 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001478/1.057, allocations: 81.16 kB / 1.135 GB, free: 12.13 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00227/1.059, allocations: 1.02 MB / 1.136 GB, free: 11.83 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.566e-06/1.059, allocations: 10.38 kB / 1.136 GB, free: 11.82 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/1.059, allocations: 3.984 kB / 1.136 GB, free: 11.82 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.385e-05/1.059, allocations: 3.984 kB / 1.136 GB, free: 11.82 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003738/1.063, allocations: 1.857 MB / 1.138 GB, free: 11.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/1.063, allocations: 1.156 kB / 1.138 GB, free: 11.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006508/1.064, allocations: 144.1 kB / 1.138 GB, free: 11.07 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005991/1.064, allocations: 92.3 kB / 1.138 GB, free: 11.04 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.166e-05/1.064, allocations: 21.08 kB / 1.138 GB, free: 11.03 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002107/1.066, allocations: 1.548 MB / 1.14 GB, free: 9.664 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/1.066, allocations: 0 / 1.14 GB, free: 9.664 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002189/1.069, allocations: 0.918 MB / 1.141 GB, free: 9.352 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004391/1.069, allocations: 271.9 kB / 1.141 GB, free: 9.16 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001005/1.069, allocations: 14.12 kB / 1.141 GB, free: 9.16 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005997/1.07, allocations: 75.48 kB / 1.141 GB, free: 9.137 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001644/1.07, allocations: 57.42 kB / 1.141 GB, free: 9.113 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.88e-05/1.07, allocations: 35.5 kB / 1.141 GB, free: 9.105 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007454/1.071, allocations: 417.1 kB / 1.142 GB, free: 8.961 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.2e-07/1.071, allocations: 0 / 1.142 GB, free: 8.961 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001186/1.072, allocations: 261 kB / 1.142 GB, free: 8.914 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.003912/1.076, allocations: 1.935 MB / 1.144 GB, free: 7.887 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001867/1.078, allocations: 0.7236 MB / 1.144 GB, free: 7.672 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/1.078, allocations: 1.094 kB / 1.144 GB, free: 7.672 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001061/1.079, allocations: 495.7 kB / 1.145 GB, free: 7.484 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001468/1.08, allocations: 256.4 kB / 1.145 GB, free: 7.41 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01094/1.091, allocations: 4.596 MB / 1.15 GB, free: 5.414 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008121/1.092, allocations: 1 MB / 1.151 GB, free: 4.59 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001165/1.093, allocations: 254.8 kB / 1.151 GB, free: 4.465 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005788/1.094, allocations: 344 kB / 1.151 GB, free: 4.422 MB / 0.698 GB Notification: Performance of SimCode: time 1.212e-06/1.094, allocations: 0 / 1.151 GB, free: 4.422 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04646/1.14, allocations: 19.41 MB / 1.17 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003906/1.141, allocations: 301.4 kB / 1.17 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.827/3.968, allocations: 4 kB / 1.17 GB, free: 10.73 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.fmu > Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1)