Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.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.Examples.ZenithAngle,fileNamePrefix="Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarGeometry_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.67/1.67, allocations: 288.4 MB / 303.3 MB, free: 8.082 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.0009702/0.0009702, allocations: 186.6 kB / 372 MB, free: 10.25 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.765/1.765, allocations: 205.4 MB / 0.6307 GB, free: 9.996 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.0009147/0.0009147, allocations: 94.34 kB / 0.744 GB, free: 5.914 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003955/0.0003957, allocations: 10.78 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2513/0.2517, allocations: 115.3 MB / 0.9796 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.004146/0.2559, allocations: 3.507 MB / 0.9831 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.7459/1.002, allocations: 136.4 MB / 1.116 GB, free: 2.281 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006705/1.003, allocations: 17.5 kB / 1.116 GB, free: 2.273 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0005186/1.003, allocations: 132.2 kB / 1.116 GB, free: 2.211 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.001361/1.004, allocations: 333.2 kB / 1.117 GB, free: 2.129 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001942/1.006, allocations: 0.5988 MB / 1.117 GB, free: 2.062 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001269/1.008, allocations: 0.9887 MB / 1.118 GB, free: 1.906 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007738/1.008, allocations: 447.4 kB / 1.119 GB, free: 1.836 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004973/1.009, allocations: 286.5 kB / 1.119 GB, free: 1.762 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004445/1.009, allocations: 308.3 kB / 1.119 GB, free: 1.676 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 8.321e-05/1.009, allocations: 20.91 kB / 1.119 GB, free: 1.676 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007783/1.01, allocations: 268.6 kB / 1.12 GB, free: 1.66 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002196/1.011, allocations: 163.7 kB / 1.12 GB, free: 1.621 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002641/1.011, allocations: 172.4 kB / 1.12 GB, free: 17.56 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.00123/1.012, allocations: 1.032 MB / 1.121 GB, free: 17.47 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/1.012, allocations: 0 / 1.121 GB, free: 17.47 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.534e-06/1.012, allocations: 1.031 kB / 1.121 GB, free: 17.47 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.392e-05/1.012, allocations: 0 / 1.121 GB, free: 17.47 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: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 0.00195/1.014, allocations: 1.097 MB / 1.122 GB, free: 16.77 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/1.014, allocations: 16.47 kB / 1.122 GB, free: 16.77 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001446/1.014, allocations: 120.3 kB / 1.122 GB, free: 16.73 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008751/1.015, allocations: 191.1 kB / 1.122 GB, free: 16.67 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009528/1.016, allocations: 0.6707 MB / 1.123 GB, free: 16.38 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.181e-05/1.016, allocations: 61.84 kB / 1.123 GB, free: 16.37 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.68e-05/1.016, allocations: 72.53 kB / 1.123 GB, free: 16.37 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00148/1.018, allocations: 0.8418 MB / 1.124 GB, free: 16.21 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.657e-05/1.018, allocations: 0 / 1.124 GB, free: 16.21 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.571e-05/1.018, allocations: 36.45 kB / 1.124 GB, free: 16.21 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.327e-05/1.018, allocations: 19.16 kB / 1.124 GB, free: 16.21 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001736/1.02, allocations: 1.054 MB / 1.125 GB, free: 16.19 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003525/1.023, allocations: 2.388 MB / 1.127 GB, free: 15.39 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001191/1.024, allocations: 0.7195 MB / 1.128 GB, free: 15.34 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000443/1.025, allocations: 275.2 kB / 1.128 GB, free: 15.33 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.545e-05/1.025, allocations: 35.61 kB / 1.128 GB, free: 15.33 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007229/1.026, allocations: 426.5 kB / 1.129 GB, free: 15.25 MB / 0.698 GB Notification: Performance of pre-optimization done (n=70): time 3.236e-06/1.026, allocations: 0 / 1.129 GB, free: 15.25 MB / 0.698 GB Notification: Performance of matching and sorting (n=70): time 0.002751/1.028, allocations: 1.087 MB / 1.13 GB, free: 15.05 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001047/1.029, allocations: 194.5 kB / 1.13 GB, free: 14.83 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006576/1.029, allocations: 0.5478 MB / 1.13 GB, free: 14.71 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.546e-05/1.029, allocations: 40.8 kB / 1.131 GB, free: 14.68 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002747/1.03, allocations: 374.8 kB / 1.131 GB, free: 14.5 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001888/1.03, allocations: 232.5 kB / 1.131 GB, free: 14.36 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.417e-05/1.03, allocations: 14.03 kB / 1.131 GB, free: 14.36 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001614/1.03, allocations: 376.1 kB / 1.131 GB, free: 14.04 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004092/1.03, allocations: 222.3 kB / 1.132 GB, free: 14.04 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004795/1.031, allocations: 321.2 kB / 1.132 GB, free: 13.95 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004758/1.031, allocations: 261.3 kB / 1.132 GB, free: 13.95 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/1.031, allocations: 3.938 kB / 1.132 GB, free: 13.95 MB / 0.698 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001553/1.033, allocations: 0.7239 MB / 1.133 GB, free: 13.84 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/1.033, allocations: 3.406 kB / 1.133 GB, free: 13.84 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/1.033, allocations: 3 kB / 1.133 GB, free: 13.84 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005866/1.034, allocations: 85.38 kB / 1.133 GB, free: 13.83 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005609/1.034, allocations: 131.8 kB / 1.133 GB, free: 13.82 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001976/1.036, allocations: 1.542 MB / 1.135 GB, free: 12.49 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006808/1.037, allocations: 77.28 kB / 1.135 GB, free: 12.46 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.788e-05/1.037, allocations: 25.11 kB / 1.135 GB, free: 12.45 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 (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.0005017/1.037, allocations: 252.5 kB / 1.135 GB, free: 12.32 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001126/1.038, allocations: 74.11 kB / 1.135 GB, free: 12.28 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002106/1.04, allocations: 1.002 MB / 1.136 GB, free: 11.98 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-05/1.04, allocations: 10.48 kB / 1.136 GB, free: 11.98 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-06/1.04, allocations: 0 / 1.136 GB, free: 11.98 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.094e-05/1.04, allocations: 3.984 kB / 1.136 GB, free: 11.97 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001128/1.041, allocations: 0.8417 MB / 1.137 GB, free: 11.57 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/1.041, allocations: 0 / 1.137 GB, free: 11.57 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005404/1.041, allocations: 144.1 kB / 1.137 GB, free: 11.54 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005419/1.042, allocations: 84.78 kB / 1.137 GB, free: 11.5 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.896e-05/1.042, allocations: 23.39 kB / 1.137 GB, free: 11.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001882/1.044, allocations: 1.546 MB / 1.139 GB, free: 10.13 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/1.044, allocations: 0 / 1.139 GB, free: 10.13 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001833/1.046, allocations: 0.8366 MB / 1.139 GB, free: 9.887 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004011/1.046, allocations: 270.8 kB / 1.14 GB, free: 9.699 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001016/1.046, allocations: 17.73 kB / 1.14 GB, free: 9.695 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005396/1.047, allocations: 69.17 kB / 1.14 GB, free: 9.676 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001479/1.047, allocations: 59.06 kB / 1.14 GB, free: 9.648 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.595e-05/1.047, allocations: 35.92 kB / 1.14 GB, free: 9.641 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006482/1.048, allocations: 413 kB / 1.14 GB, free: 9.488 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.8e-07/1.048, allocations: 0 / 1.14 GB, free: 9.488 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009966/1.049, allocations: 262.4 kB / 1.141 GB, free: 9.438 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.conTimMin.tNext,weaDat.conTim.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.003397/1.052, allocations: 1.851 MB / 1.142 GB, free: 8.488 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00168/1.054, allocations: 0.7192 MB / 1.143 GB, free: 8.273 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/1.054, allocations: 1.094 kB / 1.143 GB, free: 8.273 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009233/1.055, allocations: 490 kB / 1.144 GB, free: 8.09 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001302/1.056, allocations: 244.3 kB / 1.144 GB, free: 8.027 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01063/1.067, allocations: 4.578 MB / 1.148 GB, free: 6.047 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007246/1.067, allocations: 0.9922 MB / 1.149 GB, free: 5.23 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001084/1.069, allocations: 252.6 kB / 1.149 GB, free: 5.105 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005135/1.069, allocations: 340.3 kB / 1.15 GB, free: 5.062 MB / 0.698 GB Notification: Performance of SimCode: time 1.463e-06/1.069, allocations: 0 / 1.15 GB, free: 5.062 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04398/1.113, allocations: 19.37 MB / 1.169 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003067/1.113, allocations: 280 kB / 1.169 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.921/4.034, allocations: 0 / 1.169 GB, free: 11.38 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.fmu > Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)