Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.691/1.691, allocations: 292.3 MB / 308.1 MB, free: 4.25 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.001214/0.001214, allocations: 188.5 kB / 376.9 MB, free: 1.758 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.518/1.518, allocations: 205.1 MB / 0.6354 GB, free: 9.75 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001065/0.001065, allocations: 101.6 kB / 0.748 GB, free: 61.2 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.00113/0.00113, allocations: 51.92 kB / 0.8704 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2585/0.2597, allocations: 114.5 MB / 0.9822 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.007204/0.267, allocations: 4.161 MB / 0.9863 GB, free: 6.148 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.6584/0.9255, allocations: 147.9 MB / 1.131 GB, free: 7.176 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001152/0.9267, allocations: 17.16 kB / 1.131 GB, free: 7.172 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0007774/0.9274, allocations: 132.4 kB / 1.131 GB, free: 7.094 MB / 0.7448 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4-maint.8.1.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.1.4-maint.8.1.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.1.4-maint.8.1.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.001786/0.9293, allocations: 363 kB / 1.131 GB, free: 6.895 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.00186/0.9312, allocations: 0.6713 MB / 1.132 GB, free: 6.531 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.001104/0.9323, allocations: 1.104 MB / 1.133 GB, free: 6.004 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008843/0.9332, allocations: 0.5728 MB / 1.133 GB, free: 5.707 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005033/0.9337, allocations: 377.3 kB / 1.134 GB, free: 5.543 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004041/0.9341, allocations: 425.1 kB / 1.134 GB, free: 5.328 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001005/0.9342, allocations: 49.66 kB / 1.134 GB, free: 5.328 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006415/0.9349, allocations: 315 kB / 1.135 GB, free: 5.258 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001922/0.9351, allocations: 223.8 kB / 1.135 GB, free: 5.137 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.000308/0.9354, allocations: 448.4 kB / 1.135 GB, free: 4.848 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.001115/0.9365, allocations: 1.325 MB / 1.137 GB, free: 4.301 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.9365, allocations: 0.5625 kB / 1.137 GB, free: 4.301 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.142e-06/0.9365, allocations: 0 / 1.137 GB, free: 4.301 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.094e-05/0.9365, allocations: 0 / 1.137 GB, free: 4.301 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.002214/0.9388, allocations: 1.301 MB / 1.138 GB, free: 3.398 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.975e-05/0.9389, allocations: 14.94 kB / 1.138 GB, free: 3.395 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009089/0.9398, allocations: 173.3 kB / 1.138 GB, free: 3.34 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009508/0.9407, allocations: 0.7021 MB / 1.139 GB, free: 2.875 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.635e-05/0.9408, allocations: 61.5 kB / 1.139 GB, free: 2.844 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.896e-05/0.9409, allocations: 78.19 kB / 1.139 GB, free: 2.816 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001253/0.9422, allocations: 0.8514 MB / 1.14 GB, free: 2.418 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.004e-05/0.9422, allocations: 0 / 1.14 GB, free: 2.418 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.49e-05/0.9423, allocations: 33.03 kB / 1.14 GB, free: 2.395 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.665e-05/0.9423, allocations: 18.78 kB / 1.14 GB, free: 2.395 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001434/0.9437, allocations: 1.058 MB / 1.141 GB, free: 2.156 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003207/0.9469, allocations: 2.354 MB / 1.143 GB, free: 0.8242 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001128/0.9481, allocations: 0.8009 MB / 1.144 GB, free: 472 kB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000414/0.9485, allocations: 282.4 kB / 1.144 GB, free: 364 kB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 8.596e-05/0.9486, allocations: 35.02 kB / 1.144 GB, free: 352 kB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006547/0.9493, allocations: 423.8 kB / 1.145 GB, free: 164 kB / 0.7448 GB Notification: Performance of pre-optimization done (n=73): time 2.685e-06/0.9493, allocations: 1.031 kB / 1.145 GB, free: 164 kB / 0.7448 GB Notification: Performance of matching and sorting (n=73): time 0.002785/0.9521, allocations: 1.085 MB / 1.146 GB, free: 15.7 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.664e-05/0.9522, allocations: 187 kB / 1.146 GB, free: 15.48 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006819/0.9529, allocations: 0.5638 MB / 1.146 GB, free: 15.23 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 5.645e-05/0.9529, allocations: 36.7 kB / 1.146 GB, free: 15.19 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002773/0.9532, allocations: 369.9 kB / 1.147 GB, free: 14.9 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001875/0.9534, allocations: 241.8 kB / 1.147 GB, free: 14.71 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002249/0.9537, allocations: 149.6 kB / 1.147 GB, free: 14.65 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001513/0.9538, allocations: 382.9 kB / 1.147 GB, free: 14.3 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004271/0.9543, allocations: 230.4 kB / 1.148 GB, free: 14.23 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005204/0.9548, allocations: 328.6 kB / 1.148 GB, free: 14.08 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009347/0.9557, allocations: 0.558 MB / 1.148 GB, free: 13.82 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.9557, allocations: 3.406 kB / 1.149 GB, free: 13.82 MB / 0.7605 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001754/0.9575, allocations: 0.7827 MB / 1.149 GB, free: 13.5 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.472e-05/0.9575, allocations: 6.812 kB / 1.149 GB, free: 13.5 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.9576, allocations: 0 / 1.149 GB, free: 13.5 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005825/0.9581, allocations: 81.48 kB / 1.149 GB, free: 13.48 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005673/0.9587, allocations: 145.7 kB / 1.149 GB, free: 13.47 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001945/0.9607, allocations: 1.526 MB / 1.151 GB, free: 12.04 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005873/0.9613, allocations: 78.5 kB / 1.151 GB, free: 12 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.343e-05/0.9614, allocations: 40.39 kB / 1.151 GB, free: 11.98 MB / 0.7605 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 (84): * Single equations (assignments): 83 * 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.0004073/0.9618, allocations: 252 kB / 1.151 GB, free: 11.79 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001375/0.9619, allocations: 77.53 kB / 1.151 GB, free: 11.75 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002172/0.9641, allocations: 1.008 MB / 1.152 GB, free: 11.36 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.015e-05/0.9641, allocations: 13.94 kB / 1.152 GB, free: 11.35 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.9641, allocations: 0 / 1.152 GB, free: 11.35 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.09e-05/0.9641, allocations: 6.844 kB / 1.152 GB, free: 11.35 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003034/0.9672, allocations: 1.864 MB / 1.154 GB, free: 10.44 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.9672, allocations: 1.062 kB / 1.154 GB, free: 10.44 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005118/0.9677, allocations: 145 kB / 1.154 GB, free: 10.43 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005011/0.9682, allocations: 83.58 kB / 1.154 GB, free: 10.41 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.987e-05/0.9683, allocations: 22.12 kB / 1.154 GB, free: 10.4 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001771/0.9701, allocations: 1.541 MB / 1.156 GB, free: 8.957 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.9701, allocations: 4.703 kB / 1.156 GB, free: 8.957 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002776/0.9729, allocations: 1.923 MB / 1.158 GB, free: 7.742 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000369/0.9733, allocations: 256.6 kB / 1.158 GB, free: 7.555 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.514e-05/0.9734, allocations: 19.53 kB / 1.158 GB, free: 7.539 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005229/0.9739, allocations: 54.81 kB / 1.158 GB, free: 7.527 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001455/0.974, allocations: 69.66 kB / 1.158 GB, free: 7.512 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-05/0.9741, allocations: 29.7 kB / 1.158 GB, free: 7.508 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0005439/0.9747, allocations: 418.4 kB / 1.159 GB, free: 7.316 MB / 0.7605 GB Notification: Performance of sort global known variables: time 4.01e-07/0.9747, allocations: 0 / 1.159 GB, free: 7.316 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0008868/0.9756, allocations: 274.1 kB / 1.159 GB, free: 7.238 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001315/0.9769, allocations: 0.558 MB / 1.159 GB, free: 6.984 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.00151/0.9784, allocations: 0.7637 MB / 1.16 GB, free: 6.664 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.9784, allocations: 0 / 1.16 GB, free: 6.664 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0008129/0.9792, allocations: 490.4 kB / 1.161 GB, free: 6.438 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001252/0.9805, allocations: 256.9 kB / 1.161 GB, free: 6.367 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004399/0.9849, allocations: 2.493 MB / 1.163 GB, free: 4.852 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006734/0.9856, allocations: 1.022 MB / 1.164 GB, free: 4.125 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.000945/0.9866, allocations: 248.6 kB / 1.165 GB, free: 4.078 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002399/0.9868, allocations: 107.1 kB / 1.165 GB, free: 4.051 MB / 0.7605 GB Notification: Performance of SimCode: time 1.082e-06/0.9868, allocations: 0 / 1.165 GB, free: 4.051 MB / 0.7605 GB Notification: Performance of Templates: time 0.02343/1.01, allocations: 13.32 MB / 1.178 GB, free: 2.957 MB / 0.7605 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.makefile (rm -f Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & ./Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1)