Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.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.SolarAzimuth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.622/1.622, allocations: 287.4 MB / 303.2 MB, free: 8.242 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.000894/0.0008942, allocations: 170.2 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.519/1.519, allocations: 205.4 MB / 0.6305 GB, free: 10.53 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.0008044/0.0008042, allocations: 100.6 kB / 0.7438 GB, free: 6.527 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004069/0.0004069, allocations: 11.09 kB / 0.8667 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2212/0.2217, allocations: 115.3 MB / 0.9793 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.004065/0.2258, allocations: 3.619 MB / 0.9828 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.6731/0.8989, allocations: 136.5 MB / 1.116 GB, free: 1.656 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008742/0.8999, allocations: 14.06 kB / 1.116 GB, free: 1.652 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.000568/0.9005, allocations: 135.5 kB / 1.116 GB, free: 1.586 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.001497/0.902, allocations: 362.4 kB / 1.117 GB, free: 1.488 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002312/0.9043, allocations: 0.6152 MB / 1.117 GB, free: 1.43 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001678/0.906, allocations: 1.067 MB / 1.118 GB, free: 1.25 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009541/0.907, allocations: 0.5854 MB / 1.119 GB, free: 1.113 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006826/0.9076, allocations: 308.5 kB / 1.119 GB, free: 1.035 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005539/0.9082, allocations: 331.5 kB / 1.119 GB, free: 0.9453 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 9.207e-05/0.9083, allocations: 22.75 kB / 1.119 GB, free: 0.9453 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009536/0.9093, allocations: 283.9 kB / 1.12 GB, free: 0.9336 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002401/0.9095, allocations: 168.2 kB / 1.12 GB, free: 0.8945 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002335/0.9098, allocations: 182.5 kB / 1.12 GB, free: 16.83 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002124/0.9119, allocations: 1.052 MB / 1.121 GB, free: 16.74 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 9.658e-06/0.9119, allocations: 1.094 kB / 1.121 GB, free: 16.74 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.683e-06/0.9119, allocations: 0 / 1.121 GB, free: 16.74 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.727e-05/0.912, allocations: 0 / 1.121 GB, free: 16.74 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.002532/0.9145, allocations: 1.135 MB / 1.122 GB, free: 16.02 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.682e-05/0.9146, allocations: 8.703 kB / 1.122 GB, free: 16.02 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008822/0.9154, allocations: 191.5 kB / 1.122 GB, free: 15.96 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00119/0.9167, allocations: 0.7151 MB / 1.123 GB, free: 15.63 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.849e-05/0.9168, allocations: 66.75 kB / 1.123 GB, free: 15.63 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001248/0.9169, allocations: 76.38 kB / 1.123 GB, free: 15.63 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0017/0.9186, allocations: 0.8833 MB / 1.124 GB, free: 15.47 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.212e-05/0.9186, allocations: 3.938 kB / 1.124 GB, free: 15.46 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.721e-05/0.9187, allocations: 38.89 kB / 1.124 GB, free: 15.46 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.413e-05/0.9188, allocations: 19.19 kB / 1.124 GB, free: 15.46 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001669/0.9204, allocations: 1.094 MB / 1.125 GB, free: 15.45 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003789/0.9242, allocations: 2.435 MB / 1.128 GB, free: 14.64 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001938/0.9262, allocations: 0.8748 MB / 1.128 GB, free: 14.5 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000492/0.9267, allocations: 298.3 kB / 1.129 GB, free: 14.48 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.085e-05/0.9268, allocations: 33.39 kB / 1.129 GB, free: 14.48 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007795/0.9276, allocations: 440 kB / 1.129 GB, free: 14.41 MB / 0.698 GB Notification: Performance of pre-optimization done (n=76): time 3.647e-06/0.9276, allocations: 3.938 kB / 1.129 GB, free: 14.41 MB / 0.698 GB Notification: Performance of matching and sorting (n=76): time 0.00294/0.9305, allocations: 1.143 MB / 1.13 GB, free: 14.2 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001141/0.9307, allocations: 188.3 kB / 1.131 GB, free: 13.98 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007435/0.9314, allocations: 0.5747 MB / 1.131 GB, free: 13.86 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.5e-05/0.9315, allocations: 44.23 kB / 1.131 GB, free: 13.82 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002851/0.9318, allocations: 375.7 kB / 1.131 GB, free: 13.64 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001933/0.932, allocations: 251.3 kB / 1.132 GB, free: 13.48 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.696e-05/0.932, allocations: 14.53 kB / 1.132 GB, free: 13.48 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001524/0.9322, allocations: 383.1 kB / 1.132 GB, free: 13.16 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004718/0.9327, allocations: 250.1 kB / 1.132 GB, free: 13.16 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005626/0.9332, allocations: 346.6 kB / 1.133 GB, free: 13.11 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001059/0.9343, allocations: 0.5874 MB / 1.133 GB, free: 13.05 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.9343, allocations: 0 / 1.133 GB, free: 13.05 MB / 0.698 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.00179/0.9361, allocations: 0.8118 MB / 1.134 GB, free: 12.94 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.9362, allocations: 10.88 kB / 1.134 GB, free: 12.94 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.9362, allocations: 0 / 1.134 GB, free: 12.94 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005718/0.9368, allocations: 87.62 kB / 1.134 GB, free: 12.92 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006745/0.9374, allocations: 159.2 kB / 1.134 GB, free: 12.91 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002044/0.9395, allocations: 1.516 MB / 1.136 GB, free: 11.61 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007638/0.9403, allocations: 91.89 kB / 1.136 GB, free: 11.58 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.901e-05/0.9404, allocations: 38.47 kB / 1.136 GB, free: 11.58 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 (87): * Single equations (assignments): 86 * 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.0005814/0.941, allocations: 262.2 kB / 1.136 GB, free: 11.45 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001304/0.9411, allocations: 75.72 kB / 1.136 GB, free: 11.41 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002416/0.9435, allocations: 1.069 MB / 1.137 GB, free: 11.27 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.39e-05/0.9435, allocations: 14.44 kB / 1.137 GB, free: 11.27 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.9436, allocations: 0 / 1.137 GB, free: 11.27 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004097/0.944, allocations: 279.6 kB / 1.138 GB, free: 11.11 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001059/0.9441, allocations: 17.47 kB / 1.138 GB, free: 11.11 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005677/0.9447, allocations: 75.67 kB / 1.138 GB, free: 11.11 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001472/0.9448, allocations: 65.59 kB / 1.138 GB, free: 11.1 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002153/0.947, allocations: 0.948 MB / 1.139 GB, free: 10.94 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002406/0.9494, allocations: 1.359 MB / 1.14 GB, free: 10.66 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006631/0.9501, allocations: 346.8 kB / 1.14 GB, free: 10.6 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006768/0.9508, allocations: 429.4 kB / 1.141 GB, free: 10.45 MB / 0.698 GB Notification: Performance of Backend: time 2.434e-06/0.9508, allocations: 7.938 kB / 1.141 GB, free: 10.45 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003433/0.9542, allocations: 1.165 MB / 1.142 GB, free: 10 MB / 0.698 GB Notification: Performance of SimCode: time 0.003598/0.9578, allocations: 2.302 MB / 1.144 GB, free: 8.418 MB / 0.698 GB Notification: Performance of Templates: time 0.02897/0.9868, allocations: 14.07 MB / 1.158 GB, free: 1.348 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.makefile (rm -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & ./Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1)