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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001434/0.001433, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00164/0.00164, allocations: 191.9 kB / 16.13 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.405/1.405, allocations: 205.1 MB / 222 MB, free: 4.953 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.659/1.659, allocations: 292.2 MB / 0.5484 GB, free: 13.64 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 66.42 kB / 0.6708 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2274/0.2287, allocations: 114.5 MB / 0.7827 GB, free: 14.06 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.005681/0.2345, allocations: 4.115 MB / 0.7867 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.6241/0.8585, allocations: 147.9 MB / 0.9311 GB, free: 5.355 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008247/0.8594, allocations: 17.53 kB / 0.9311 GB, free: 5.355 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0005967/0.8601, allocations: 128.1 kB / 0.9312 GB, free: 5.355 MB / 0.7325 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.001332/0.8614, allocations: 356.2 kB / 0.9315 GB, free: 5.352 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001996/0.8634, allocations: 0.6648 MB / 0.9322 GB, free: 5.344 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001191/0.8646, allocations: 1.068 MB / 0.9332 GB, free: 5.336 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009112/0.8655, allocations: 0.5841 MB / 0.9338 GB, free: 5.23 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000536/0.8661, allocations: 360.5 kB / 0.9342 GB, free: 5.23 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000483/0.8666, allocations: 408.4 kB / 0.9345 GB, free: 5.23 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 9.412e-05/0.8667, allocations: 51.25 kB / 0.9346 GB, free: 5.23 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006951/0.8674, allocations: 327.4 kB / 0.9349 GB, free: 5.223 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002603/0.8677, allocations: 214.2 kB / 0.9351 GB, free: 5.223 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0004611/0.8681, allocations: 446.1 kB / 0.9355 GB, free: 5.219 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001506/0.8696, allocations: 1.332 MB / 0.9368 GB, free: 5.137 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.8697, allocations: 0.7969 kB / 0.9368 GB, free: 5.137 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.194e-06/0.8697, allocations: 0 / 0.9368 GB, free: 5.137 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.396e-05/0.8697, allocations: 2.516 kB / 0.9368 GB, free: 5.137 MB / 0.7325 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.002918/0.8726, allocations: 1.284 MB / 0.9381 GB, free: 20.42 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.991e-05/0.8727, allocations: 10.94 kB / 0.9381 GB, free: 20.42 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001073/0.8738, allocations: 172.5 kB / 0.9383 GB, free: 20.37 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001334/0.8751, allocations: 0.6948 MB / 0.9389 GB, free: 20.07 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.561e-05/0.8752, allocations: 60.47 kB / 0.939 GB, free: 20.07 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001072/0.8753, allocations: 71 kB / 0.9391 GB, free: 20.07 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001751/0.8771, allocations: 0.8437 MB / 0.9399 GB, free: 19.92 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.207e-05/0.8771, allocations: 0 / 0.9399 GB, free: 19.92 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.872e-05/0.8772, allocations: 31.73 kB / 0.9399 GB, free: 19.92 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.85e-05/0.8772, allocations: 22.06 kB / 0.9399 GB, free: 19.91 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001717/0.8789, allocations: 1.052 MB / 0.941 GB, free: 19.91 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003853/0.8828, allocations: 2.362 MB / 0.9433 GB, free: 19.14 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001218/0.884, allocations: 0.7175 MB / 0.944 GB, free: 19.1 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004482/0.8845, allocations: 277.3 kB / 0.9442 GB, free: 19.09 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 7.397e-05/0.8846, allocations: 36.12 kB / 0.9443 GB, free: 19.09 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008192/0.8854, allocations: 422.2 kB / 0.9447 GB, free: 19.01 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=70): time 2.604e-06/0.8854, allocations: 0 / 0.9447 GB, free: 19.01 MB / 0.7481 GB Notification: Performance of matching and sorting (n=70): time 0.003136/0.8885, allocations: 1.076 MB / 0.9457 GB, free: 18.82 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001197/0.8887, allocations: 190 kB / 0.9459 GB, free: 18.6 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008517/0.8895, allocations: 0.5638 MB / 0.9465 GB, free: 18.48 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 6.369e-05/0.8896, allocations: 36.98 kB / 0.9465 GB, free: 18.45 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002676/0.8899, allocations: 369.1 kB / 0.9469 GB, free: 18.27 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001687/0.8901, allocations: 234.8 kB / 0.9471 GB, free: 18.12 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002669/0.8903, allocations: 149.2 kB / 0.9472 GB, free: 18.09 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001724/0.8905, allocations: 375.5 kB / 0.9476 GB, free: 17.78 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004911/0.891, allocations: 239.9 kB / 0.9478 GB, free: 17.78 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005751/0.8916, allocations: 329.9 kB / 0.9481 GB, free: 17.73 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001009/0.8926, allocations: 0.549 MB / 0.9487 GB, free: 17.68 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.8926, allocations: 0.6562 kB / 0.9487 GB, free: 17.68 MB / 0.7481 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001971/0.8946, allocations: 0.7672 MB / 0.9494 GB, free: 17.58 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.751e-05/0.8946, allocations: 6.812 kB / 0.9494 GB, free: 17.58 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.8947, allocations: 4.656 kB / 0.9494 GB, free: 17.58 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006683/0.8953, allocations: 80.17 kB / 0.9495 GB, free: 17.57 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000706/0.8961, allocations: 147.9 kB / 0.9496 GB, free: 17.57 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002203/0.8983, allocations: 1.526 MB / 0.9511 GB, free: 16.28 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008016/0.8991, allocations: 84.09 kB / 0.9512 GB, free: 16.24 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.031e-05/0.8992, allocations: 33.94 kB / 0.9512 GB, free: 16.24 MB / 0.7481 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.0005655/0.8998, allocations: 255.7 kB / 0.9515 GB, free: 16.12 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001962/0.9, allocations: 74.47 kB / 0.9516 GB, free: 16.09 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002499/0.9025, allocations: 0.9873 MB / 0.9525 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.063e-05/0.9025, allocations: 12.5 kB / 0.9525 GB, free: 15.97 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.866e-06/0.9025, allocations: 0 / 0.9525 GB, free: 15.97 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.15e-05/0.9025, allocations: 5.516 kB / 0.9525 GB, free: 15.97 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001079/0.9036, allocations: 0.8369 MB / 0.9534 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.9036, allocations: 0 / 0.9534 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005636/0.9042, allocations: 134.6 kB / 0.9535 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005128/0.9047, allocations: 88.23 kB / 0.9536 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.768e-05/0.9048, allocations: 21.64 kB / 0.9536 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001937/0.9067, allocations: 1.553 MB / 0.9551 GB, free: 14.44 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.9067, allocations: 1.219 kB / 0.9551 GB, free: 14.44 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002029/0.9088, allocations: 0.8352 MB / 0.9559 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003345/0.9091, allocations: 253.4 kB / 0.9562 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001125/0.9092, allocations: 16.47 kB / 0.9562 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005025/0.9098, allocations: 54.09 kB / 0.9562 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001505/0.9099, allocations: 57.8 kB / 0.9563 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.124e-05/0.91, allocations: 30.78 kB / 0.9563 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.000598/0.9106, allocations: 428 kB / 0.9567 GB, free: 14.04 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9106, allocations: 1.094 kB / 0.9567 GB, free: 14.04 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001055/0.9117, allocations: 266.9 kB / 0.957 GB, free: 13.98 MB / 0.7481 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.001491/0.9132, allocations: 0.5522 MB / 0.9575 GB, free: 13.78 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001707/0.9149, allocations: 0.7494 MB / 0.9582 GB, free: 13.65 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.9149, allocations: 5.25 kB / 0.9582 GB, free: 13.64 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.000872/0.9158, allocations: 485.4 kB / 0.9587 GB, free: 13.53 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001167/0.917, allocations: 258.9 kB / 0.959 GB, free: 13.51 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003794/0.9208, allocations: 1.997 MB / 0.9609 GB, free: 12.54 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005895/0.9214, allocations: 0.9891 MB / 0.9619 GB, free: 11.83 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0008424/0.9222, allocations: 252.6 kB / 0.9621 GB, free: 11.76 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002408/0.9225, allocations: 97.09 kB / 0.9622 GB, free: 11.75 MB / 0.7481 GB Notification: Performance of SimCode: time 6.41e-07/0.9225, allocations: 3.938 kB / 0.9622 GB, free: 11.75 MB / 0.7481 GB Notification: Performance of Templates: time 0.02174/0.9442, allocations: 12.93 MB / 0.9748 GB, free: 9.363 MB / 0.7481 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)