Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.717/1.717, allocations: 288.4 MB / 304.3 MB, free: 8.129 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.001767/0.001767, allocations: 176.5 kB / 372.9 MB, free: 10.14 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.357/1.357, allocations: 205.4 MB / 0.6316 GB, free: 9.898 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.0007799/0.0007799, allocations: 94.86 kB / 0.745 GB, free: 5.805 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004122/0.0004123, allocations: 15.72 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2278/0.2282, allocations: 115.3 MB / 0.9807 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.003593/0.2319, allocations: 3.467 MB / 0.9841 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.6579/0.8898, allocations: 136.4 MB / 1.117 GB, free: 2.391 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000861/0.8907, allocations: 13.7 kB / 1.117 GB, free: 2.387 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0006934/0.8914, allocations: 124 kB / 1.117 GB, free: 2.328 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1-maint.8.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 8.0.1-maint.8.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 8.0.1-maint.8.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.001717/0.8932, allocations: 343.5 kB / 1.118 GB, free: 2.242 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002247/0.8954, allocations: 0.5864 MB / 1.118 GB, free: 2.18 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002445/0.8979, allocations: 1.005 MB / 1.119 GB, free: 2.012 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001411/0.8993, allocations: 0.5505 MB / 1.12 GB, free: 1.902 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000988/0.9003, allocations: 281 kB / 1.12 GB, free: 1.828 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009251/0.9012, allocations: 300.4 kB / 1.12 GB, free: 1.742 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0002902/0.9015, allocations: 20.03 kB / 1.12 GB, free: 1.742 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001159/0.9027, allocations: 273.2 kB / 1.121 GB, free: 1.73 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003435/0.9031, allocations: 160.4 kB / 1.121 GB, free: 1.695 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0007449/0.9038, allocations: 379.2 kB / 1.121 GB, free: 17.53 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001508/0.9053, allocations: 0.9924 MB / 1.122 GB, free: 17.45 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.9054, allocations: 3.25 kB / 1.122 GB, free: 17.45 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.516e-06/0.9054, allocations: 2.938 kB / 1.122 GB, free: 17.45 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.318e-05/0.9054, allocations: 1.75 kB / 1.122 GB, free: 17.45 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: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.002331/0.9078, allocations: 1.077 MB / 1.123 GB, free: 16.75 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.9078, allocations: 9.75 kB / 1.123 GB, free: 16.75 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001/0.9088, allocations: 183.4 kB / 1.123 GB, free: 16.69 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001276/0.9101, allocations: 0.6922 MB / 1.124 GB, free: 16.38 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.459e-05/0.9102, allocations: 67 kB / 1.124 GB, free: 16.36 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001206/0.9103, allocations: 71.28 kB / 1.124 GB, free: 16.36 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001659/0.912, allocations: 0.8221 MB / 1.125 GB, free: 16.21 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.301e-05/0.912, allocations: 0 / 1.125 GB, free: 16.21 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.972e-05/0.9121, allocations: 39.92 kB / 1.125 GB, free: 16.21 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.259e-05/0.9121, allocations: 18.09 kB / 1.125 GB, free: 16.21 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001859/0.914, allocations: 1.044 MB / 1.126 GB, free: 16.19 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004118/0.9181, allocations: 2.338 MB / 1.128 GB, free: 15.38 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001353/0.9195, allocations: 0.7704 MB / 1.129 GB, free: 15.24 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004953/0.92, allocations: 270.9 kB / 1.129 GB, free: 15.23 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.5e-05/0.9201, allocations: 38.59 kB / 1.129 GB, free: 15.23 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007205/0.9208, allocations: 422.2 kB / 1.13 GB, free: 15.15 MB / 0.698 GB Notification: Performance of pre-optimization done (n=70): time 3.757e-06/0.9208, allocations: 0 / 1.13 GB, free: 15.15 MB / 0.698 GB Notification: Performance of matching and sorting (n=70): time 0.002996/0.9238, allocations: 1.053 MB / 1.131 GB, free: 14.95 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001219/0.924, allocations: 188.2 kB / 1.131 GB, free: 14.73 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009027/0.9249, allocations: 0.562 MB / 1.132 GB, free: 14.6 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.182e-05/0.925, allocations: 37.89 kB / 1.132 GB, free: 14.57 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002853/0.9253, allocations: 362.2 kB / 1.132 GB, free: 14.39 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001882/0.9255, allocations: 228.4 kB / 1.132 GB, free: 14.25 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.241e-05/0.9255, allocations: 11.66 kB / 1.132 GB, free: 14.25 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001634/0.9257, allocations: 383.5 kB / 1.133 GB, free: 13.93 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004607/0.9261, allocations: 226.5 kB / 1.133 GB, free: 13.93 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005458/0.9267, allocations: 322 kB / 1.133 GB, free: 13.88 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009409/0.9276, allocations: 0.5381 MB / 1.134 GB, free: 13.84 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.9277, allocations: 4 kB / 1.134 GB, free: 13.83 MB / 0.698 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001797/0.9295, allocations: 0.7508 MB / 1.134 GB, free: 13.73 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/0.9295, allocations: 7.625 kB / 1.134 GB, free: 13.73 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/0.9295, allocations: 1.062 kB / 1.134 GB, free: 13.73 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006381/0.9302, allocations: 85.62 kB / 1.134 GB, free: 13.71 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006209/0.9308, allocations: 146 kB / 1.135 GB, free: 13.71 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002144/0.9329, allocations: 1.527 MB / 1.136 GB, free: 12.39 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007405/0.9337, allocations: 88.25 kB / 1.136 GB, free: 12.36 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.649e-05/0.9338, allocations: 32.45 kB / 1.136 GB, free: 12.36 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 (81): * Single equations (assignments): 80 * 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.0005239/0.9343, allocations: 260 kB / 1.136 GB, free: 12.23 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001813/0.9345, allocations: 69.22 kB / 1.137 GB, free: 12.19 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002402/0.9369, allocations: 0.9569 MB / 1.137 GB, free: 11.91 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.352e-05/0.937, allocations: 7.922 kB / 1.137 GB, free: 11.91 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.937, allocations: 0 / 1.137 GB, free: 11.91 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004316/0.9374, allocations: 258.3 kB / 1.138 GB, free: 11.72 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001431/0.9376, allocations: 20.16 kB / 1.138 GB, free: 11.72 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005911/0.9382, allocations: 66.56 kB / 1.138 GB, free: 11.7 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001582/0.9383, allocations: 56.81 kB / 1.138 GB, free: 11.68 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001919/0.9403, allocations: 0.8607 MB / 1.139 GB, free: 11.42 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002048/0.9423, allocations: 1.245 MB / 1.14 GB, free: 11.02 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005466/0.9429, allocations: 311.4 kB / 1.14 GB, free: 10.95 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006039/0.9435, allocations: 398.5 kB / 1.141 GB, free: 10.81 MB / 0.698 GB Notification: Performance of Backend: time 4.01e-07/0.9435, allocations: 0 / 1.141 GB, free: 10.81 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003376/0.9469, allocations: 1.122 MB / 1.142 GB, free: 10.34 MB / 0.698 GB Notification: Performance of SimCode: time 0.003623/0.9505, allocations: 2.184 MB / 1.144 GB, free: 8.832 MB / 0.698 GB Notification: Performance of Templates: time 0.02902/0.9796, allocations: 13.33 MB / 1.157 GB, free: 2.145 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.makefile (rm -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & ./Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)