Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.646/1.646, allocations: 287.4 MB / 303.2 MB, free: 8.223 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.001075/0.001075, allocations: 190.5 kB / 371.8 MB, free: 10.81 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.438/1.438, allocations: 205.4 MB / 0.6305 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.0008055/0.0008057, allocations: 90.3 kB / 0.7438 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003846/0.0003846, allocations: 14.55 kB / 0.8667 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2139/0.2143, allocations: 115.3 MB / 0.9793 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.004129/0.2185, allocations: 3.471 MB / 0.9827 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.7/0.9185, allocations: 136.4 MB / 1.116 GB, free: 1.668 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001234/0.9198, allocations: 21.81 kB / 1.116 GB, free: 1.656 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0006528/0.9205, allocations: 121.4 kB / 1.116 GB, free: 1.602 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.002061/0.9226, allocations: 334.7 kB / 1.116 GB, free: 1.52 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0025/0.9251, allocations: 0.5842 MB / 1.117 GB, free: 1.461 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001542/0.9267, allocations: 1.008 MB / 1.118 GB, free: 1.293 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009603/0.9276, allocations: 0.5494 MB / 1.118 GB, free: 1.188 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006019/0.9282, allocations: 284.4 kB / 1.119 GB, free: 1.113 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004679/0.9287, allocations: 301.2 kB / 1.119 GB, free: 1.027 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 8.627e-05/0.9288, allocations: 19.97 kB / 1.119 GB, free: 1.027 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009027/0.9297, allocations: 261.5 kB / 1.119 GB, free: 1.016 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.00023/0.93, allocations: 158.6 kB / 1.119 GB, free: 0.9805 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001902/0.9302, allocations: 169.7 kB / 1.12 GB, free: 0.918 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.001545/0.9317, allocations: 0.9958 MB / 1.121 GB, free: 0.8359 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.9317, allocations: 3.938 kB / 1.121 GB, free: 0.832 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.334e-06/0.9317, allocations: 4 kB / 1.121 GB, free: 0.8281 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.14e-05/0.9318, allocations: 0 / 1.121 GB, free: 0.8281 MB / 0.6823 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.002185/0.934, allocations: 1.084 MB / 1.122 GB, free: 16.13 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.393e-05/0.934, allocations: 8.125 kB / 1.122 GB, free: 16.13 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009486/0.935, allocations: 186.7 kB / 1.122 GB, free: 16.07 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001109/0.9361, allocations: 0.6916 MB / 1.122 GB, free: 15.75 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.633e-05/0.9362, allocations: 60.56 kB / 1.123 GB, free: 15.75 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.565e-05/0.9363, allocations: 71.59 kB / 1.123 GB, free: 15.75 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001548/0.9378, allocations: 0.8244 MB / 1.123 GB, free: 15.59 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.024e-05/0.9379, allocations: 4 kB / 1.123 GB, free: 15.59 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.894e-05/0.9379, allocations: 35.59 kB / 1.123 GB, free: 15.59 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.595e-05/0.938, allocations: 16.62 kB / 1.123 GB, free: 15.59 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001593/0.9396, allocations: 1.039 MB / 1.124 GB, free: 15.58 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003752/0.9433, allocations: 2.337 MB / 1.127 GB, free: 14.77 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0013/0.9446, allocations: 0.7697 MB / 1.128 GB, free: 14.64 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000487/0.9451, allocations: 269.2 kB / 1.128 GB, free: 14.63 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.507e-05/0.9452, allocations: 34.47 kB / 1.128 GB, free: 14.63 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008357/0.9461, allocations: 418.9 kB / 1.128 GB, free: 14.55 MB / 0.698 GB Notification: Performance of pre-optimization done (n=70): time 3.156e-06/0.9461, allocations: 1.406 kB / 1.128 GB, free: 14.55 MB / 0.698 GB Notification: Performance of matching and sorting (n=70): time 0.002801/0.9489, allocations: 1.054 MB / 1.129 GB, free: 14.35 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001128/0.949, allocations: 195.1 kB / 1.129 GB, free: 14.13 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007761/0.9498, allocations: 0.5524 MB / 1.13 GB, free: 14 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.436e-05/0.9499, allocations: 45.05 kB / 1.13 GB, free: 13.97 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002799/0.9502, allocations: 350 kB / 1.13 GB, free: 13.8 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002034/0.9504, allocations: 242.1 kB / 1.131 GB, free: 13.65 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.165e-05/0.9504, allocations: 12.47 kB / 1.131 GB, free: 13.65 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000184/0.9506, allocations: 374.3 kB / 1.131 GB, free: 13.34 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004519/0.9511, allocations: 237 kB / 1.131 GB, free: 13.33 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005249/0.9516, allocations: 319.6 kB / 1.131 GB, free: 13.28 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009326/0.9526, allocations: 0.5351 MB / 1.132 GB, free: 13.23 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.9526, allocations: 0 / 1.132 GB, free: 13.23 MB / 0.698 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001682/0.9543, allocations: 0.7547 MB / 1.133 GB, free: 13.13 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.249e-05/0.9543, allocations: 5.875 kB / 1.133 GB, free: 13.13 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.238e-06/0.9543, allocations: 1.406 kB / 1.133 GB, free: 13.13 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006137/0.9549, allocations: 91.45 kB / 1.133 GB, free: 13.11 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006067/0.9556, allocations: 145.2 kB / 1.133 GB, free: 13.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002167/0.9577, allocations: 1.528 MB / 1.134 GB, free: 11.79 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007314/0.9585, allocations: 84.27 kB / 1.135 GB, free: 11.76 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.95e-05/0.9586, allocations: 31.36 kB / 1.135 GB, free: 11.76 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.000595/0.9592, allocations: 263.9 kB / 1.135 GB, free: 11.62 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001283/0.9593, allocations: 71.31 kB / 1.135 GB, free: 11.59 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002169/0.9615, allocations: 0.9566 MB / 1.136 GB, free: 11.46 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.45e-05/0.9615, allocations: 8.906 kB / 1.136 GB, free: 11.46 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.9615, allocations: 0.9688 kB / 1.136 GB, free: 11.46 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004011/0.9619, allocations: 258.4 kB / 1.136 GB, free: 11.31 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000104/0.962, allocations: 16.94 kB / 1.136 GB, free: 11.31 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005139/0.9626, allocations: 67.16 kB / 1.136 GB, free: 11.31 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001417/0.9627, allocations: 56.16 kB / 1.136 GB, free: 11.31 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001836/0.9646, allocations: 0.8629 MB / 1.137 GB, free: 11.15 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002035/0.9666, allocations: 1.243 MB / 1.138 GB, free: 10.87 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005702/0.9672, allocations: 310.3 kB / 1.139 GB, free: 10.86 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006569/0.9679, allocations: 395.2 kB / 1.139 GB, free: 10.77 MB / 0.698 GB Notification: Performance of Backend: time 9.52e-07/0.9679, allocations: 0 / 1.139 GB, free: 10.77 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003195/0.9711, allocations: 1.108 MB / 1.14 GB, free: 10.43 MB / 0.698 GB Notification: Performance of SimCode: time 0.00332/0.9744, allocations: 2.196 MB / 1.142 GB, free: 9.027 MB / 0.698 GB Notification: Performance of Templates: time 0.02863/1.003, allocations: 13.19 MB / 1.155 GB, free: 2.406 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.makefile (rm -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & ./Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)