Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.SolarGeometry.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.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarGeometry.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.744/1.744, allocations: 292.3 MB / 308.1 MB, free: 4.273 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.001468/0.001468, allocations: 194.2 kB / 376.9 MB, free: 1.832 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.488/1.488, allocations: 205.1 MB / 0.6354 GB, free: 9.809 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.001037/0.001037, allocations: 95.64 kB / 0.748 GB, free: 60.9 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 51.92 kB / 0.8703 GB, free: 13.13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2672/0.2685, allocations: 114.5 MB / 0.9822 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.006654/0.2752, allocations: 4.114 MB / 0.9862 GB, free: 6.277 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.7726/1.048, allocations: 147.9 MB / 1.131 GB, free: 7.367 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008491/1.049, allocations: 17.38 kB / 1.131 GB, free: 7.359 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0007342/1.05, allocations: 136.3 kB / 1.131 GB, free: 7.277 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.001703/1.051, allocations: 361 kB / 1.131 GB, free: 7.082 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001898/1.053, allocations: 0.6589 MB / 1.132 GB, free: 6.727 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.001218/1.054, allocations: 1.089 MB / 1.133 GB, free: 6.203 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007627/1.055, allocations: 0.5795 MB / 1.133 GB, free: 5.902 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004971/1.056, allocations: 360.1 kB / 1.134 GB, free: 5.746 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003896/1.056, allocations: 410.2 kB / 1.134 GB, free: 5.539 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 9.574e-05/1.056, allocations: 54.61 kB / 1.134 GB, free: 5.535 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006152/1.057, allocations: 321.5 kB / 1.134 GB, free: 5.461 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001738/1.057, allocations: 209.8 kB / 1.135 GB, free: 5.348 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0002897/1.057, allocations: 448.2 kB / 1.135 GB, free: 5.059 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.001031/1.058, allocations: 1.341 MB / 1.136 GB, free: 4.5 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/1.058, allocations: 0 / 1.136 GB, free: 4.5 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.242e-06/1.058, allocations: 0 / 1.136 GB, free: 4.5 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.262e-05/1.058, allocations: 0.9375 kB / 1.136 GB, free: 4.5 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: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 0.001984/1.06, allocations: 1.281 MB / 1.138 GB, free: 3.609 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/1.06, allocations: 9.812 kB / 1.138 GB, free: 3.609 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008161/1.061, allocations: 174.5 kB / 1.138 GB, free: 3.551 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009122/1.062, allocations: 0.6928 MB / 1.139 GB, free: 3.094 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.298e-05/1.062, allocations: 58.5 kB / 1.139 GB, free: 3.062 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.983e-05/1.062, allocations: 74.94 kB / 1.139 GB, free: 3.039 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001255/1.064, allocations: 0.8429 MB / 1.139 GB, free: 2.641 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.061e-05/1.064, allocations: 0 / 1.139 GB, free: 2.641 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.962e-05/1.064, allocations: 35.44 kB / 1.14 GB, free: 2.613 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.888e-05/1.064, allocations: 19.75 kB / 1.14 GB, free: 2.613 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001483/1.065, allocations: 1.051 MB / 1.141 GB, free: 2.375 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00348/1.069, allocations: 2.347 MB / 1.143 GB, free: 1.035 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00114/1.07, allocations: 0.7174 MB / 1.144 GB, free: 0.7617 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004116/1.07, allocations: 278.8 kB / 1.144 GB, free: 0.6562 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 6.619e-05/1.07, allocations: 31.98 kB / 1.144 GB, free: 0.6445 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006564/1.071, allocations: 426.6 kB / 1.144 GB, free: 464 kB / 0.7448 GB Notification: Performance of pre-optimization done (n=70): time 2.295e-06/1.071, allocations: 0 / 1.144 GB, free: 464 kB / 0.7448 GB Notification: Performance of matching and sorting (n=70): time 0.002839/1.074, allocations: 1.08 MB / 1.145 GB, free: 15.99 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001115/1.074, allocations: 193.4 kB / 1.145 GB, free: 15.77 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007565/1.075, allocations: 0.5563 MB / 1.146 GB, free: 15.52 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 5.902e-05/1.075, allocations: 41.52 kB / 1.146 GB, free: 15.48 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003342/1.075, allocations: 360.8 kB / 1.146 GB, free: 15.2 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002339/1.075, allocations: 233.8 kB / 1.147 GB, free: 15.01 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002677/1.076, allocations: 154.2 kB / 1.147 GB, free: 14.94 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0002068/1.076, allocations: 378.8 kB / 1.147 GB, free: 14.6 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004668/1.076, allocations: 237.8 kB / 1.147 GB, free: 14.52 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005911/1.077, allocations: 323.8 kB / 1.148 GB, free: 14.37 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001034/1.078, allocations: 0.5544 MB / 1.148 GB, free: 14.11 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/1.078, allocations: 1.031 kB / 1.148 GB, free: 14.11 MB / 0.7605 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001845/1.08, allocations: 0.7681 MB / 1.149 GB, free: 13.8 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.445e-05/1.08, allocations: 6.797 kB / 1.149 GB, free: 13.8 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.869e-06/1.08, allocations: 3.062 kB / 1.149 GB, free: 13.8 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006097/1.081, allocations: 80.95 kB / 1.149 GB, free: 13.79 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005657/1.081, allocations: 144.9 kB / 1.149 GB, free: 13.77 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002181/1.083, allocations: 1.531 MB / 1.151 GB, free: 12.33 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006411/1.084, allocations: 72.17 kB / 1.151 GB, free: 12.3 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.681e-05/1.084, allocations: 34.64 kB / 1.151 GB, free: 12.29 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 (81): * Single equations (assignments): 80 * 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.0004947/1.085, allocations: 263.3 kB / 1.151 GB, free: 12.09 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001369/1.085, allocations: 68.41 kB / 1.151 GB, free: 12.05 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002064/1.087, allocations: 0.9833 MB / 1.152 GB, free: 11.67 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.927e-06/1.087, allocations: 10.41 kB / 1.152 GB, free: 11.67 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/1.087, allocations: 0 / 1.152 GB, free: 11.67 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.225e-06/1.087, allocations: 3.375 kB / 1.152 GB, free: 11.67 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008805/1.088, allocations: 0.8367 MB / 1.153 GB, free: 11.21 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/1.088, allocations: 0 / 1.153 GB, free: 11.21 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004819/1.088, allocations: 139.1 kB / 1.153 GB, free: 11.2 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004781/1.089, allocations: 80.47 kB / 1.153 GB, free: 11.18 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.596e-05/1.089, allocations: 22.2 kB / 1.153 GB, free: 11.16 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001753/1.09, allocations: 1.564 MB / 1.155 GB, free: 9.703 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/1.09, allocations: 0 / 1.155 GB, free: 9.703 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002487/1.093, allocations: 1.83 MB / 1.156 GB, free: 8.566 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003298/1.093, allocations: 253.6 kB / 1.157 GB, free: 8.379 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.908e-05/1.093, allocations: 26.69 kB / 1.157 GB, free: 8.359 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004666/1.094, allocations: 45.78 kB / 1.157 GB, free: 8.352 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001302/1.094, allocations: 61 kB / 1.157 GB, free: 8.34 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.964e-05/1.094, allocations: 28.12 kB / 1.157 GB, free: 8.336 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0004849/1.095, allocations: 424 kB / 1.157 GB, free: 8.141 MB / 0.7605 GB Notification: Performance of sort global known variables: time 3.01e-07/1.095, allocations: 0 / 1.157 GB, free: 8.141 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0008313/1.095, allocations: 266.7 kB / 1.157 GB, free: 8.062 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.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 (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.001167/1.097, allocations: 0.5745 MB / 1.158 GB, free: 7.789 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001484/1.098, allocations: 0.7455 MB / 1.159 GB, free: 7.48 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/1.098, allocations: 4 kB / 1.159 GB, free: 7.477 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0007613/1.099, allocations: 488.2 kB / 1.159 GB, free: 7.246 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001044/1.1, allocations: 250.6 kB / 1.159 GB, free: 7.176 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003786/1.104, allocations: 2.44 MB / 1.162 GB, free: 5.688 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000531/1.104, allocations: 1.014 MB / 1.163 GB, free: 4.965 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0007698/1.105, allocations: 252.2 kB / 1.163 GB, free: 4.914 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002483/1.105, allocations: 98.59 kB / 1.163 GB, free: 4.895 MB / 0.7605 GB Notification: Performance of SimCode: time 5.51e-07/1.105, allocations: 0 / 1.163 GB, free: 4.895 MB / 0.7605 GB Notification: Performance of Templates: time 0.02279/1.128, allocations: 13.25 MB / 1.176 GB, free: 3.809 MB / 0.7605 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile (rm -f Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & ./Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)