Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.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.SolarAzimuth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.368/1.368, allocations: 251.5 MB / 267.4 MB, free: 11.03 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.0009503/0.0009504, allocations: 179.1 kB / 326.5 MB, free: 2.664 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.431/1.431, allocations: 205 MB / 0.5766 GB, free: 20.99 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.0007279/0.0007285, allocations: 83.02 kB / 0.6804 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003579/0.0003584, allocations: 8.938 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1721/0.1725, allocations: 105.4 MB / 0.8968 GB, free: 68.15 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.004162/0.1767, allocations: 3.913 MB / 0.9006 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.142/0.3188, allocations: 147.9 MB / 1.045 GB, free: 11.73 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007989/0.3197, allocations: 15.94 kB / 1.045 GB, free: 11.71 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0006621/0.3203, allocations: 134.9 kB / 1.045 GB, free: 11.58 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.00151/0.3219, allocations: 360.8 kB / 1.046 GB, free: 11.23 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.00191/0.3238, allocations: 0.6906 MB / 1.046 GB, free: 10.54 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001545/0.3253, allocations: 1.137 MB / 1.047 GB, free: 9.398 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009301/0.3263, allocations: 0.5859 MB / 1.048 GB, free: 8.789 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005486/0.3268, allocations: 306.5 kB / 1.048 GB, free: 8.488 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005679/0.3274, allocations: 351.3 kB / 1.049 GB, free: 8.145 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001575/0.3276, allocations: 28 kB / 1.049 GB, free: 8.117 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008058/0.3284, allocations: 283.7 kB / 1.049 GB, free: 7.84 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002162/0.3286, allocations: 179.1 kB / 1.049 GB, free: 7.664 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0004309/0.3291, allocations: 401.3 kB / 1.049 GB, free: 7.27 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001478/0.3306, allocations: 1.308 MB / 1.051 GB, free: 5.957 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.3306, allocations: 0 / 1.051 GB, free: 5.957 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.382e-06/0.3306, allocations: 0 / 1.051 GB, free: 5.957 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.581e-05/0.3306, allocations: 0 / 1.051 GB, free: 5.957 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.002539/0.3332, allocations: 1.135 MB / 1.052 GB, free: 4.773 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.055e-05/0.3332, allocations: 12.02 kB / 1.052 GB, free: 4.762 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00107/0.3343, allocations: 195.4 kB / 1.052 GB, free: 4.57 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001256/0.3356, allocations: 0.7033 MB / 1.053 GB, free: 3.824 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001659/0.3358, allocations: 95.69 kB / 1.053 GB, free: 3.727 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000126/0.3359, allocations: 76 kB / 1.053 GB, free: 3.652 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001708/0.3376, allocations: 0.8949 MB / 1.054 GB, free: 2.715 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.181e-05/0.3376, allocations: 0 / 1.054 GB, free: 2.715 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.265e-05/0.3377, allocations: 35.98 kB / 1.054 GB, free: 2.68 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.706e-05/0.3378, allocations: 20 kB / 1.054 GB, free: 2.66 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001832/0.3396, allocations: 1.108 MB / 1.055 GB, free: 1.551 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3674/0.707, allocations: 2.439 MB / 1.057 GB, free: 159.1 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001864/0.709, allocations: 0.8921 MB / 1.058 GB, free: 158.9 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005245/0.7095, allocations: 301.4 kB / 1.058 GB, free: 158.9 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.346e-05/0.7096, allocations: 34.19 kB / 1.058 GB, free: 158.9 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008393/0.7104, allocations: 453.8 kB / 1.059 GB, free: 158.8 MB / 0.698 GB Notification: Performance of pre-optimization done (n=76): time 3.907e-06/0.7104, allocations: 3.844 kB / 1.059 GB, free: 158.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=76): time 0.003356/0.7138, allocations: 1.148 MB / 1.06 GB, free: 158.7 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.622e-05/0.7139, allocations: 192.4 kB / 1.06 GB, free: 158.5 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007389/0.7146, allocations: 0.58 MB / 1.061 GB, free: 158.4 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.8e-05/0.7147, allocations: 43.95 kB / 1.061 GB, free: 158.3 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003149/0.715, allocations: 370 kB / 1.061 GB, free: 158.2 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001965/0.7152, allocations: 252.8 kB / 1.061 GB, free: 158 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001044/0.7153, allocations: 73.41 kB / 1.061 GB, free: 158 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.7155, allocations: 384.1 kB / 1.062 GB, free: 157.7 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005635/0.7161, allocations: 252.3 kB / 1.062 GB, free: 157.7 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006297/0.7167, allocations: 354.6 kB / 1.062 GB, free: 157.7 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001097/0.7178, allocations: 0.5987 MB / 1.063 GB, free: 157.6 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.7178, allocations: 2.438 kB / 1.063 GB, free: 157.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002024/0.7199, allocations: 0.823 MB / 1.064 GB, free: 157.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.256e-05/0.7199, allocations: 6.859 kB / 1.064 GB, free: 157.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.7199, allocations: 8.812 kB / 1.064 GB, free: 157.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000612/0.7205, allocations: 86.59 kB / 1.064 GB, free: 157.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007708/0.7213, allocations: 163.4 kB / 1.064 GB, free: 157.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001937/0.7233, allocations: 1.516 MB / 1.065 GB, free: 156.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007386/0.724, allocations: 90.88 kB / 1.066 GB, free: 156.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.329e-05/0.7241, allocations: 41.89 kB / 1.066 GB, free: 156.2 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 (87): * Single equations (assignments): 86 * 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.0005016/0.7246, allocations: 257.9 kB / 1.066 GB, free: 156.1 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001484/0.7248, allocations: 76.45 kB / 1.066 GB, free: 156 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002766/0.7275, allocations: 1.081 MB / 1.067 GB, free: 155.9 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.798e-05/0.7276, allocations: 8.781 kB / 1.067 GB, free: 155.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.7276, allocations: 0 / 1.067 GB, free: 155.9 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003489/0.7279, allocations: 266.5 kB / 1.067 GB, free: 155.8 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001106/0.7281, allocations: 23.91 kB / 1.067 GB, free: 155.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005834/0.7286, allocations: 73.59 kB / 1.067 GB, free: 155.7 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001589/0.7288, allocations: 65.67 kB / 1.067 GB, free: 155.7 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002222/0.731, allocations: 0.956 MB / 1.068 GB, free: 155.6 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002688/0.7337, allocations: 1.389 MB / 1.07 GB, free: 155.3 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007696/0.7345, allocations: 366.5 kB / 1.07 GB, free: 155.3 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006716/0.7352, allocations: 429.2 kB / 1.07 GB, free: 155.2 MB / 0.698 GB Notification: Performance of Backend: time 7.51e-07/0.7352, allocations: 0 / 1.07 GB, free: 155.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003974/0.7392, allocations: 1.158 MB / 1.072 GB, free: 154.9 MB / 0.698 GB Notification: Performance of SimCode: time 0.003607/0.7428, allocations: 2.363 MB / 1.074 GB, free: 153.3 MB / 0.698 GB Notification: Performance of Templates: time 0.02681/0.7697, allocations: 14.2 MB / 1.088 GB, free: 146.3 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.makefile (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & ./Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1)