Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.676/1.676, allocations: 292.3 MB / 308.1 MB, free: 4.25 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.001357/0.001357, allocations: 192.5 kB / 376.9 MB, free: 1.773 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.565/1.565, allocations: 205.1 MB / 0.6354 GB, free: 9.777 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009779/0.000978, allocations: 100.4 kB / 0.748 GB, free: 61.16 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 51.92 kB / 0.8704 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2825/0.2838, allocations: 114.5 MB / 0.9822 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.007857/0.2917, allocations: 4.145 MB / 0.9863 GB, free: 6.184 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.7838/1.076, allocations: 147.9 MB / 1.131 GB, free: 7.258 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001021/1.077, allocations: 17.41 kB / 1.131 GB, free: 7.25 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0005686/1.077, allocations: 133.1 kB / 1.131 GB, free: 7.172 MB / 0.7448 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4-maint.8.1.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.1.4-maint.8.1.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.1.4-maint.8.1.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.00138/1.079, allocations: 355.7 kB / 1.131 GB, free: 6.977 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001837/1.08, allocations: 0.6669 MB / 1.132 GB, free: 6.621 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0009777/1.081, allocations: 1.1 MB / 1.133 GB, free: 6.094 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008104/1.082, allocations: 0.5753 MB / 1.133 GB, free: 5.797 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004376/1.083, allocations: 379.8 kB / 1.134 GB, free: 5.629 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004128/1.083, allocations: 405.2 kB / 1.134 GB, free: 5.43 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001051/1.083, allocations: 56.19 kB / 1.134 GB, free: 5.426 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007121/1.084, allocations: 322.1 kB / 1.135 GB, free: 5.348 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001949/1.084, allocations: 216.5 kB / 1.135 GB, free: 5.23 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0003217/1.084, allocations: 443.6 kB / 1.135 GB, free: 4.945 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.001045/1.086, allocations: 1.321 MB / 1.136 GB, free: 4.398 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/1.086, allocations: 0 / 1.136 GB, free: 4.398 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.41e-07/1.086, allocations: 0 / 1.136 GB, free: 4.398 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.162e-05/1.086, allocations: 4 kB / 1.136 GB, free: 4.395 MB / 0.7448 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.001921/1.088, allocations: 1.293 MB / 1.138 GB, free: 3.5 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/1.088, allocations: 10.09 kB / 1.138 GB, free: 3.5 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008369/1.088, allocations: 176.6 kB / 1.138 GB, free: 3.441 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008498/1.089, allocations: 0.6985 MB / 1.139 GB, free: 2.977 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.45e-05/1.089, allocations: 55.56 kB / 1.139 GB, free: 2.949 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.1e-05/1.089, allocations: 78.53 kB / 1.139 GB, free: 2.926 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001206/1.091, allocations: 0.8495 MB / 1.14 GB, free: 2.523 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.905e-05/1.091, allocations: 0.5625 kB / 1.14 GB, free: 2.523 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.818e-05/1.091, allocations: 33.28 kB / 1.14 GB, free: 2.5 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.852e-05/1.091, allocations: 18 kB / 1.14 GB, free: 2.5 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00153/1.092, allocations: 1.055 MB / 1.141 GB, free: 2.262 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003292/1.096, allocations: 2.343 MB / 1.143 GB, free: 0.9336 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001143/1.097, allocations: 0.7898 MB / 1.144 GB, free: 0.5742 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004324/1.097, allocations: 273.8 kB / 1.144 GB, free: 488 kB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.521e-05/1.097, allocations: 32 kB / 1.144 GB, free: 476 kB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006577/1.098, allocations: 430.5 kB / 1.144 GB, free: 280 kB / 0.7448 GB Notification: Performance of pre-optimization done (n=72): time 2.274e-06/1.098, allocations: 0 / 1.144 GB, free: 280 kB / 0.7448 GB Notification: Performance of matching and sorting (n=72): time 0.002724/1.101, allocations: 1.074 MB / 1.145 GB, free: 15.82 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001178/1.101, allocations: 193.9 kB / 1.146 GB, free: 15.59 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006999/1.102, allocations: 0.5629 MB / 1.146 GB, free: 15.34 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 5.689e-05/1.102, allocations: 40.92 kB / 1.146 GB, free: 15.3 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003058/1.102, allocations: 358.6 kB / 1.147 GB, free: 15.02 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002048/1.102, allocations: 242 kB / 1.147 GB, free: 14.83 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002572/1.102, allocations: 156.6 kB / 1.147 GB, free: 14.75 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001837/1.103, allocations: 376 kB / 1.147 GB, free: 14.41 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004516/1.103, allocations: 235.4 kB / 1.148 GB, free: 14.34 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005504/1.104, allocations: 322 kB / 1.148 GB, free: 14.2 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009576/1.105, allocations: 0.5489 MB / 1.148 GB, free: 13.95 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/1.105, allocations: 0 / 1.148 GB, free: 13.95 MB / 0.7605 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001733/1.106, allocations: 0.7732 MB / 1.149 GB, free: 13.64 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/1.106, allocations: 3.312 kB / 1.149 GB, free: 13.64 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.966e-06/1.106, allocations: 3.781 kB / 1.149 GB, free: 13.64 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005805/1.107, allocations: 82.12 kB / 1.149 GB, free: 13.62 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005634/1.108, allocations: 146.1 kB / 1.149 GB, free: 13.61 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00202/1.11, allocations: 1.516 MB / 1.151 GB, free: 12.18 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005765/1.11, allocations: 76.2 kB / 1.151 GB, free: 12.14 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-05/1.11, allocations: 37.84 kB / 1.151 GB, free: 12.13 MB / 0.7605 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 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003648/1.111, allocations: 262.9 kB / 1.151 GB, free: 11.93 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001273/1.111, allocations: 71.25 kB / 1.151 GB, free: 11.89 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002182/1.113, allocations: 1.005 MB / 1.152 GB, free: 11.5 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.795e-06/1.113, allocations: 9.438 kB / 1.152 GB, free: 11.5 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/1.113, allocations: 1 kB / 1.152 GB, free: 11.5 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.768e-06/1.113, allocations: 3.469 kB / 1.152 GB, free: 11.5 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002961/1.116, allocations: 1.852 MB / 1.154 GB, free: 10.59 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.608e-06/1.116, allocations: 0.5625 kB / 1.154 GB, free: 10.59 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000526/1.117, allocations: 149.7 kB / 1.154 GB, free: 10.58 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004886/1.117, allocations: 80.94 kB / 1.154 GB, free: 10.56 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.211e-05/1.117, allocations: 21.83 kB / 1.154 GB, free: 10.55 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001766/1.119, allocations: 1.552 MB / 1.156 GB, free: 9.098 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/1.119, allocations: 4.062 kB / 1.156 GB, free: 9.094 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00264/1.122, allocations: 1.906 MB / 1.158 GB, free: 7.895 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003489/1.122, allocations: 253.5 kB / 1.158 GB, free: 7.707 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.469e-05/1.122, allocations: 19.25 kB / 1.158 GB, free: 7.691 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005313/1.123, allocations: 61.75 kB / 1.158 GB, free: 7.676 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001439/1.123, allocations: 64.34 kB / 1.158 GB, free: 7.66 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.936e-05/1.123, allocations: 29.59 kB / 1.158 GB, free: 7.656 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0004929/1.123, allocations: 420.2 kB / 1.158 GB, free: 7.465 MB / 0.7605 GB Notification: Performance of sort global known variables: time 3e-07/1.123, allocations: 0 / 1.158 GB, free: 7.465 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0008767/1.124, allocations: 271.2 kB / 1.159 GB, free: 7.391 MB / 0.7605 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001359/1.125, allocations: 0.5682 MB / 1.159 GB, free: 7.137 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001724/1.127, allocations: 0.7551 MB / 1.16 GB, free: 6.824 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 8.175e-06/1.127, allocations: 2.969 kB / 1.16 GB, free: 6.824 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0008715/1.128, allocations: 491.9 kB / 1.161 GB, free: 6.594 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001173/1.129, allocations: 252.5 kB / 1.161 GB, free: 6.523 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004499/1.134, allocations: 2.471 MB / 1.163 GB, free: 5.023 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006285/1.134, allocations: 1.03 MB / 1.164 GB, free: 4.281 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0009087/1.135, allocations: 249 kB / 1.164 GB, free: 4.238 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002534/1.136, allocations: 101.7 kB / 1.165 GB, free: 4.215 MB / 0.7605 GB Notification: Performance of SimCode: time 1.513e-06/1.136, allocations: 0 / 1.165 GB, free: 4.215 MB / 0.7605 GB Notification: Performance of Templates: time 0.02384/1.16, allocations: 13.27 MB / 1.177 GB, free: 3.141 MB / 0.7605 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.makefile (rm -f Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & ./Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1)