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: translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.915/1.915, allocations: 288.4 MB / 303.4 MB, free: 8.168 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.001062/0.001062, allocations: 184.5 kB / 372 MB, free: 10.26 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.608/1.608, allocations: 205.4 MB / 0.6307 GB, free: 9.988 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.0007728/0.0007727, allocations: 88.69 kB / 0.7441 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000603/0.000603, allocations: 10.12 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2821/0.2827, allocations: 115.3 MB / 0.9796 GB, free: 27.67 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.004275/0.287, allocations: 3.538 MB / 0.983 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.7545/1.042, allocations: 136.4 MB / 1.116 GB, free: 2.273 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006243/1.042, allocations: 14.53 kB / 1.116 GB, free: 2.27 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0005047/1.043, allocations: 124.9 kB / 1.116 GB, free: 2.215 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.001287/1.044, allocations: 352.5 kB / 1.117 GB, free: 2.121 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.00201/1.046, allocations: 0.5991 MB / 1.117 GB, free: 2.059 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001465/1.048, allocations: 1.001 MB / 1.118 GB, free: 1.898 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008468/1.048, allocations: 451.6 kB / 1.119 GB, free: 1.824 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006533/1.049, allocations: 292 kB / 1.119 GB, free: 1.75 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004696/1.05, allocations: 313.5 kB / 1.119 GB, free: 1.664 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 8.303e-05/1.05, allocations: 21.03 kB / 1.119 GB, free: 1.664 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009441/1.051, allocations: 262.4 kB / 1.12 GB, free: 1.648 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002459/1.051, allocations: 163.9 kB / 1.12 GB, free: 1.613 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002848/1.051, allocations: 177.2 kB / 1.12 GB, free: 17.55 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001382/1.053, allocations: 1.015 MB / 1.121 GB, free: 17.46 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/1.053, allocations: 0 / 1.121 GB, free: 17.46 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.734e-06/1.053, allocations: 1.25 kB / 1.121 GB, free: 17.46 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.579e-05/1.053, allocations: 0 / 1.121 GB, free: 17.46 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.00215/1.055, allocations: 1.107 MB / 1.122 GB, free: 16.75 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/1.055, allocations: 16.42 kB / 1.122 GB, free: 16.75 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009881/1.056, allocations: 185.1 kB / 1.122 GB, free: 16.69 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001116/1.057, allocations: 0.6775 MB / 1.123 GB, free: 16.4 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.833e-05/1.057, allocations: 61.62 kB / 1.123 GB, free: 16.39 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001069/1.057, allocations: 73.06 kB / 1.123 GB, free: 16.39 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00161/1.059, allocations: 0.8481 MB / 1.124 GB, free: 16.23 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.962e-05/1.059, allocations: 1.281 kB / 1.124 GB, free: 16.23 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.638e-05/1.059, allocations: 31.78 kB / 1.124 GB, free: 16.23 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.07e-05/1.059, allocations: 25.75 kB / 1.124 GB, free: 16.23 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001953/1.061, allocations: 1.061 MB / 1.125 GB, free: 16.21 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004336/1.065, allocations: 2.359 MB / 1.127 GB, free: 15.41 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001544/1.067, allocations: 0.7958 MB / 1.128 GB, free: 15.28 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005695/1.067, allocations: 281.9 kB / 1.128 GB, free: 15.26 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001129/1.068, allocations: 33.09 kB / 1.128 GB, free: 15.26 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009672/1.069, allocations: 424.5 kB / 1.129 GB, free: 15.18 MB / 0.698 GB Notification: Performance of pre-optimization done (n=72): time 3.346e-06/1.069, allocations: 0 / 1.129 GB, free: 15.18 MB / 0.698 GB Notification: Performance of matching and sorting (n=72): time 0.003148/1.072, allocations: 1.084 MB / 1.13 GB, free: 14.97 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001418/1.072, allocations: 196.8 kB / 1.13 GB, free: 14.75 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009891/1.073, allocations: 0.5557 MB / 1.13 GB, free: 14.62 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.731e-05/1.073, allocations: 42.52 kB / 1.13 GB, free: 14.59 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004324/1.073, allocations: 362 kB / 1.131 GB, free: 14.42 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002542/1.074, allocations: 237.3 kB / 1.131 GB, free: 14.27 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.667e-05/1.074, allocations: 12.75 kB / 1.131 GB, free: 14.27 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000255/1.074, allocations: 381.1 kB / 1.131 GB, free: 13.95 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004491/1.074, allocations: 237.1 kB / 1.132 GB, free: 13.95 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005216/1.075, allocations: 326.4 kB / 1.132 GB, free: 13.9 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005279/1.075, allocations: 279.4 kB / 1.132 GB, free: 13.89 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/1.075, allocations: 0 / 1.132 GB, free: 13.89 MB / 0.698 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001892/1.077, allocations: 0.7743 MB / 1.133 GB, free: 13.78 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.529e-05/1.077, allocations: 6.156 kB / 1.133 GB, free: 13.78 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.307e-05/1.077, allocations: 3.281 kB / 1.133 GB, free: 13.78 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006398/1.078, allocations: 82.09 kB / 1.133 GB, free: 13.77 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006118/1.079, allocations: 149.6 kB / 1.133 GB, free: 13.76 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002071/1.081, allocations: 1.519 MB / 1.135 GB, free: 12.45 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007425/1.082, allocations: 91.34 kB / 1.135 GB, free: 12.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.487e-05/1.082, allocations: 35.5 kB / 1.135 GB, free: 12.39 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: 8 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 82 * 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.0005416/1.082, allocations: 249.4 kB / 1.135 GB, free: 12.26 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001269/1.082, allocations: 80.09 kB / 1.135 GB, free: 12.22 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002212/1.085, allocations: 1.015 MB / 1.136 GB, free: 11.91 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/1.085, allocations: 9.312 kB / 1.136 GB, free: 11.91 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.327e-06/1.085, allocations: 0 / 1.136 GB, free: 11.91 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.025e-05/1.085, allocations: 3.984 kB / 1.136 GB, free: 11.91 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003249/1.088, allocations: 1.856 MB / 1.138 GB, free: 11.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.858e-06/1.088, allocations: 3.953 kB / 1.138 GB, free: 11.19 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005865/1.088, allocations: 146.5 kB / 1.138 GB, free: 11.16 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005204/1.089, allocations: 81.5 kB / 1.138 GB, free: 11.13 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.476e-05/1.089, allocations: 23.89 kB / 1.138 GB, free: 11.13 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001949/1.091, allocations: 1.549 MB / 1.14 GB, free: 9.75 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/1.091, allocations: 1.156 kB / 1.14 GB, free: 9.75 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002088/1.093, allocations: 0.9139 MB / 1.141 GB, free: 9.441 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000435/1.094, allocations: 266.2 kB / 1.141 GB, free: 9.254 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001035/1.094, allocations: 20.44 kB / 1.141 GB, free: 9.254 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000573/1.094, allocations: 66.16 kB / 1.141 GB, free: 9.234 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001432/1.094, allocations: 62.97 kB / 1.141 GB, free: 9.211 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.912e-05/1.094, allocations: 39.39 kB / 1.141 GB, free: 9.199 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006232/1.095, allocations: 409.9 kB / 1.141 GB, free: 9.047 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.21e-07/1.095, allocations: 0 / 1.141 GB, free: 9.047 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001174/1.096, allocations: 272.4 kB / 1.142 GB, free: 8.996 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.001367/1.098, allocations: 0.5503 MB / 1.142 GB, free: 8.742 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001978/1.1, allocations: 0.7568 MB / 1.143 GB, free: 8.512 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/1.1, allocations: 1.281 kB / 1.143 GB, free: 8.512 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009858/1.101, allocations: 497.5 kB / 1.143 GB, free: 8.328 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001312/1.102, allocations: 254.6 kB / 1.144 GB, free: 8.258 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004549/1.107, allocations: 2.041 MB / 1.146 GB, free: 7.125 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008145/1.107, allocations: 0.9937 MB / 1.147 GB, free: 6.305 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0009104/1.108, allocations: 265.9 kB / 1.147 GB, free: 6.168 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002682/1.109, allocations: 94.86 kB / 1.147 GB, free: 6.148 MB / 0.698 GB Notification: Performance of SimCode: time 1.112e-06/1.109, allocations: 4 kB / 1.147 GB, free: 6.145 MB / 0.698 GB Notification: Performance of Templates: time 0.0256/1.134, allocations: 12.47 MB / 1.159 GB, free: 15.89 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.makefile (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 & ./Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1)