Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.629/1.629, allocations: 287.4 MB / 303.2 MB, free: 8.23 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.00102/0.001021, allocations: 185.5 kB / 371.8 MB, free: 10.82 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.456/1.456, allocations: 205.4 MB / 0.6304 GB, free: 10.57 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.0008946/0.0008946, allocations: 93.34 kB / 0.7438 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004443/0.0004443, allocations: 12.14 kB / 0.8667 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2417/0.2421, allocations: 115.3 MB / 0.9793 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.004119/0.2463, allocations: 3.526 MB / 0.9827 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.7199/0.9663, allocations: 136.4 MB / 1.116 GB, free: 1.676 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006595/0.967, allocations: 18.16 kB / 1.116 GB, free: 1.668 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0004885/0.9675, allocations: 125.7 kB / 1.116 GB, free: 1.609 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0/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.0/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.0/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.001228/0.9687, allocations: 351.9 kB / 1.116 GB, free: 1.516 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001929/0.9707, allocations: 0.5905 MB / 1.117 GB, free: 1.461 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001309/0.972, allocations: 1.033 MB / 1.118 GB, free: 1.285 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000876/0.9729, allocations: 0.5645 MB / 1.119 GB, free: 1.18 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000522/0.9734, allocations: 293.2 kB / 1.119 GB, free: 1.102 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004367/0.9738, allocations: 310.9 kB / 1.119 GB, free: 1.016 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 9.563e-05/0.9739, allocations: 21.97 kB / 1.119 GB, free: 1.016 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007413/0.9747, allocations: 268.5 kB / 1.119 GB, free: 0.9961 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002086/0.9749, allocations: 162.7 kB / 1.12 GB, free: 0.9609 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002207/0.9751, allocations: 173.2 kB / 1.12 GB, free: 16.9 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001373/0.9765, allocations: 1.01 MB / 1.121 GB, free: 16.82 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.9765, allocations: 0 / 1.121 GB, free: 16.82 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.983e-06/0.9765, allocations: 0 / 1.121 GB, free: 16.82 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.5e-05/0.9766, allocations: 1.062 kB / 1.121 GB, free: 16.82 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.002073/0.9787, allocations: 1.1 MB / 1.122 GB, free: 16.11 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/0.9787, allocations: 10.81 kB / 1.122 GB, free: 16.11 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008323/0.9795, allocations: 185 kB / 1.122 GB, free: 16.05 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009952/0.9806, allocations: 0.7012 MB / 1.123 GB, free: 15.73 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.26e-05/0.9806, allocations: 58.59 kB / 1.123 GB, free: 15.73 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.249e-05/0.9807, allocations: 73.56 kB / 1.123 GB, free: 15.73 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00145/0.9822, allocations: 0.8541 MB / 1.124 GB, free: 15.57 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.226e-05/0.9822, allocations: 0 / 1.124 GB, free: 15.57 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.917e-05/0.9823, allocations: 36.78 kB / 1.124 GB, free: 15.56 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.815e-05/0.9823, allocations: 18.88 kB / 1.124 GB, free: 15.56 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001595/0.9839, allocations: 1.05 MB / 1.125 GB, free: 15.55 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003751/0.9877, allocations: 2.37 MB / 1.127 GB, free: 14.74 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00132/0.989, allocations: 0.7959 MB / 1.128 GB, free: 14.61 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004971/0.9895, allocations: 275.7 kB / 1.128 GB, free: 14.6 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.586e-05/0.9896, allocations: 28.27 kB / 1.128 GB, free: 14.6 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007763/0.9904, allocations: 430.9 kB / 1.129 GB, free: 14.52 MB / 0.698 GB Notification: Performance of pre-optimization done (n=72): time 2.925e-06/0.9904, allocations: 0 / 1.129 GB, free: 14.52 MB / 0.698 GB Notification: Performance of matching and sorting (n=72): time 0.002816/0.9932, allocations: 1.079 MB / 1.13 GB, free: 14.32 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001266/0.9934, allocations: 200.8 kB / 1.13 GB, free: 14.09 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000779/0.9942, allocations: 0.5566 MB / 1.13 GB, free: 13.97 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.328e-05/0.9943, allocations: 41.2 kB / 1.13 GB, free: 13.94 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003225/0.9946, allocations: 356.8 kB / 1.131 GB, free: 13.77 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002141/0.9948, allocations: 239.9 kB / 1.131 GB, free: 13.61 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.61e-05/0.9948, allocations: 14.22 kB / 1.131 GB, free: 13.61 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000184/0.995, allocations: 379 kB / 1.131 GB, free: 13.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004375/0.9955, allocations: 241.7 kB / 1.132 GB, free: 13.29 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005264/0.996, allocations: 324 kB / 1.132 GB, free: 13.24 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009567/0.997, allocations: 0.5522 MB / 1.132 GB, free: 13.19 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.997, allocations: 0 / 1.132 GB, free: 13.19 MB / 0.698 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001856/0.9989, allocations: 0.7776 MB / 1.133 GB, free: 13.08 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.9989, allocations: 5.406 kB / 1.133 GB, free: 13.08 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.9989, allocations: 0 / 1.133 GB, free: 13.08 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005717/0.9995, allocations: 85.09 kB / 1.133 GB, free: 13.07 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006261/1, allocations: 147.8 kB / 1.133 GB, free: 13.06 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002121/1.002, allocations: 1.52 MB / 1.135 GB, free: 11.75 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007873/1.003, allocations: 94.17 kB / 1.135 GB, free: 11.72 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.539e-05/1.003, allocations: 33.75 kB / 1.135 GB, free: 11.72 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.0005978/1.004, allocations: 260 kB / 1.135 GB, free: 11.59 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001412/1.004, allocations: 71.41 kB / 1.135 GB, free: 11.55 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002349/1.006, allocations: 1.014 MB / 1.136 GB, free: 11.41 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.174e-05/1.006, allocations: 4.969 kB / 1.136 GB, free: 11.41 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/1.006, allocations: 1.312 kB / 1.136 GB, free: 11.41 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003823/1.007, allocations: 267.9 kB / 1.137 GB, free: 11.27 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001139/1.007, allocations: 17.47 kB / 1.137 GB, free: 11.27 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005247/1.007, allocations: 63.78 kB / 1.137 GB, free: 11.26 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00014/1.008, allocations: 62.69 kB / 1.137 GB, free: 11.26 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001872/1.009, allocations: 0.8874 MB / 1.138 GB, free: 11.11 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002077/1.011, allocations: 1.288 MB / 1.139 GB, free: 10.82 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005141/1.012, allocations: 323.9 kB / 1.139 GB, free: 10.81 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006308/1.013, allocations: 417.4 kB / 1.139 GB, free: 10.71 MB / 0.698 GB Notification: Performance of Backend: time 2.825e-06/1.013, allocations: 1.094 kB / 1.139 GB, free: 10.71 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003356/1.016, allocations: 1.123 MB / 1.141 GB, free: 10.37 MB / 0.698 GB Notification: Performance of SimCode: time 0.003646/1.02, allocations: 2.242 MB / 1.143 GB, free: 8.855 MB / 0.698 GB Notification: Performance of Templates: time 0.0296/1.049, allocations: 13.47 MB / 1.156 GB, free: 2.094 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.makefile (rm -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & ./Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1)