Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.307/1.307, allocations: 251.5 MB / 267.4 MB, free: 10.91 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009816/0.0009817, allocations: 173.8 kB / 326.5 MB, free: 2.676 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.535/1.535, allocations: 205 MB / 0.5766 GB, free: 20.92 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007419/0.0007418, allocations: 92.17 kB / 0.6804 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003236/0.0003237, allocations: 9.969 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1758/0.1762, allocations: 105.4 MB / 0.8967 GB, free: 68.21 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.003717/0.18, allocations: 3.812 MB / 0.9005 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1425/0.3225, allocations: 147.9 MB / 1.045 GB, free: 11.93 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006829/0.3232, allocations: 15.94 kB / 1.045 GB, free: 11.92 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0005085/0.3237, allocations: 131 kB / 1.045 GB, free: 11.79 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3-maint.7.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 7.0.3-maint.7.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 7.0.3-maint.7.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.001168/0.3249, allocations: 364 kB / 1.045 GB, free: 11.44 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001647/0.3266, allocations: 0.6646 MB / 1.046 GB, free: 10.78 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001084/0.3277, allocations: 1.09 MB / 1.047 GB, free: 9.68 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007635/0.3284, allocations: 0.5667 MB / 1.048 GB, free: 9.102 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004416/0.3289, allocations: 298.5 kB / 1.048 GB, free: 8.809 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000394/0.3293, allocations: 326.1 kB / 1.048 GB, free: 8.488 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 7.219e-05/0.3294, allocations: 20 kB / 1.048 GB, free: 8.469 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006177/0.33, allocations: 299.7 kB / 1.049 GB, free: 8.176 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001684/0.3302, allocations: 167.2 kB / 1.049 GB, free: 8.012 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0003235/0.3305, allocations: 381.4 kB / 1.049 GB, free: 7.637 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001185/0.3317, allocations: 1.277 MB / 1.05 GB, free: 6.355 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.3317, allocations: 0 / 1.05 GB, free: 6.355 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3317, allocations: 0 / 1.05 GB, free: 6.355 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.338e-05/0.3317, allocations: 4 kB / 1.05 GB, free: 6.352 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.001844/0.3336, allocations: 1.093 MB / 1.051 GB, free: 5.207 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.3336, allocations: 23.95 kB / 1.051 GB, free: 5.184 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008193/0.3345, allocations: 175.6 kB / 1.052 GB, free: 5.012 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009179/0.3354, allocations: 0.7071 MB / 1.052 GB, free: 4.266 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.108e-05/0.3355, allocations: 62 kB / 1.052 GB, free: 4.203 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.258e-05/0.3356, allocations: 72 kB / 1.052 GB, free: 4.133 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001301/0.3369, allocations: 0.852 MB / 1.053 GB, free: 3.242 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.836e-05/0.3369, allocations: 0 / 1.053 GB, free: 3.242 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.727e-05/0.337, allocations: 32 kB / 1.053 GB, free: 3.211 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.636e-05/0.337, allocations: 20 kB / 1.053 GB, free: 3.191 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00149/0.3385, allocations: 1.061 MB / 1.054 GB, free: 2.125 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.357/0.6955, allocations: 2.368 MB / 1.057 GB, free: 159.6 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001306/0.6969, allocations: 0.8018 MB / 1.057 GB, free: 159.4 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003896/0.6973, allocations: 277.1 kB / 1.058 GB, free: 159.4 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.512e-05/0.6974, allocations: 34.14 kB / 1.058 GB, free: 159.4 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006099/0.698, allocations: 435.5 kB / 1.058 GB, free: 159.4 MB / 0.698 GB Notification: Performance of pre-optimization done (n=72): time 3.166e-06/0.698, allocations: 0 / 1.058 GB, free: 159.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=72): time 0.002539/0.7005, allocations: 1.083 MB / 1.059 GB, free: 159.2 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.059e-05/0.7006, allocations: 189 kB / 1.059 GB, free: 159 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005425/0.7012, allocations: 0.5638 MB / 1.06 GB, free: 158.9 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.655e-05/0.7012, allocations: 37.33 kB / 1.06 GB, free: 158.8 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002092/0.7014, allocations: 369.9 kB / 1.06 GB, free: 158.7 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.00013/0.7016, allocations: 242.4 kB / 1.061 GB, free: 158.6 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.852e-05/0.7016, allocations: 62.7 kB / 1.061 GB, free: 158.6 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.921e-05/0.7018, allocations: 376.9 kB / 1.061 GB, free: 158.2 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004187/0.7022, allocations: 237.8 kB / 1.061 GB, free: 158.2 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000499/0.7027, allocations: 331.2 kB / 1.061 GB, free: 158.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008755/0.7036, allocations: 0.5584 MB / 1.062 GB, free: 158.1 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.7036, allocations: 0 / 1.062 GB, free: 158.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00156/0.7051, allocations: 0.7778 MB / 1.063 GB, free: 158.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.7052, allocations: 6.078 kB / 1.063 GB, free: 158.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.7052, allocations: 0 / 1.063 GB, free: 158.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005805/0.7058, allocations: 84.39 kB / 1.063 GB, free: 158 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006095/0.7064, allocations: 148.6 kB / 1.063 GB, free: 158 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00173/0.7081, allocations: 1.524 MB / 1.065 GB, free: 156.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005699/0.7087, allocations: 82.45 kB / 1.065 GB, free: 156.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.951e-05/0.7088, allocations: 36.06 kB / 1.065 GB, free: 156.7 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 (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.0003414/0.7092, allocations: 252.4 kB / 1.065 GB, free: 156.6 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001426/0.7093, allocations: 75.16 kB / 1.065 GB, free: 156.6 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002296/0.7116, allocations: 1.016 MB / 1.066 GB, free: 156.5 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.562e-05/0.7116, allocations: 4.922 kB / 1.066 GB, free: 156.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.7116, allocations: 0.7812 kB / 1.066 GB, free: 156.5 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003125/0.712, allocations: 252.4 kB / 1.066 GB, free: 156.3 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001001/0.7121, allocations: 22.08 kB / 1.066 GB, free: 156.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004958/0.7126, allocations: 70.05 kB / 1.066 GB, free: 156.3 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001378/0.7127, allocations: 58.97 kB / 1.066 GB, free: 156.3 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001872/0.7146, allocations: 0.8994 MB / 1.067 GB, free: 156.1 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002266/0.7169, allocations: 1.298 MB / 1.068 GB, free: 155.9 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006891/0.7176, allocations: 326.6 kB / 1.069 GB, free: 155.9 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007745/0.7184, allocations: 418.7 kB / 1.069 GB, free: 155.8 MB / 0.698 GB Notification: Performance of Backend: time 6.61e-07/0.7184, allocations: 0 / 1.069 GB, free: 155.8 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003433/0.7218, allocations: 1.139 MB / 1.07 GB, free: 155.4 MB / 0.698 GB Notification: Performance of SimCode: time 0.00343/0.7253, allocations: 2.292 MB / 1.073 GB, free: 154 MB / 0.698 GB Notification: Performance of Templates: time 0.02415/0.7494, allocations: 13.8 MB / 1.086 GB, free: 148.1 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.makefile (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & ./Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1)