Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.603/2.603, allocations: 287.5 MB / 302.4 MB, free: 8.355 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.001356/0.001356, allocations: 189.2 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.162/2.162, allocations: 205.4 MB / 0.6297 GB, free: 10.61 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.001006/0.001006, allocations: 84.45 kB / 0.743 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006708/0.000671, allocations: 10.78 kB / 0.8658 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2375/0.2383, allocations: 115.3 MB / 0.9783 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.005658/0.244, allocations: 3.549 MB / 0.9818 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.9064/1.15, allocations: 136.4 MB / 1.115 GB, free: 1.582 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001015/1.152, allocations: 22.34 kB / 1.115 GB, free: 1.57 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0007673/1.152, allocations: 123.6 kB / 1.115 GB, free: 1.516 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.002261/1.155, allocations: 345.7 kB / 1.116 GB, free: 1.426 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003223/1.158, allocations: 0.5989 MB / 1.116 GB, free: 1.367 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002305/1.16, allocations: 1.01 MB / 1.117 GB, free: 1.207 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00113/1.161, allocations: 454.6 kB / 1.118 GB, free: 1.141 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009347/1.162, allocations: 293.8 kB / 1.118 GB, free: 1.066 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006602/1.163, allocations: 316.1 kB / 1.118 GB, free: 0.9766 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001471/1.163, allocations: 24.47 kB / 1.118 GB, free: 0.9727 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001273/1.164, allocations: 264.3 kB / 1.118 GB, free: 0.9609 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002833/1.165, allocations: 163.3 kB / 1.119 GB, free: 0.9258 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002955/1.165, allocations: 177.3 kB / 1.119 GB, free: 0.8594 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.002383/1.167, allocations: 1.013 MB / 1.12 GB, free: 0.7773 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 9.688e-06/1.168, allocations: 0 / 1.12 GB, free: 0.7773 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.597e-06/1.168, allocations: 1.219 kB / 1.12 GB, free: 0.7773 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.164e-05/1.168, allocations: 0 / 1.12 GB, free: 0.7773 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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.00386/1.171, allocations: 1.111 MB / 1.121 GB, free: 16.07 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/1.172, allocations: 15.52 kB / 1.121 GB, free: 16.06 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001693/1.173, allocations: 189.9 kB / 1.121 GB, free: 16 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002037/1.175, allocations: 0.6805 MB / 1.122 GB, free: 15.7 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.205e-05/1.175, allocations: 59.31 kB / 1.122 GB, free: 15.7 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001687/1.176, allocations: 74.19 kB / 1.122 GB, free: 15.7 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002523/1.178, allocations: 0.8501 MB / 1.123 GB, free: 15.55 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.282e-05/1.178, allocations: 0 / 1.123 GB, free: 15.55 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001326/1.178, allocations: 35.44 kB / 1.123 GB, free: 15.55 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.564e-05/1.178, allocations: 23.2 kB / 1.123 GB, free: 15.54 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002794/1.181, allocations: 1.066 MB / 1.124 GB, free: 15.52 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006913/1.188, allocations: 2.383 MB / 1.126 GB, free: 14.71 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002357/1.191, allocations: 0.8034 MB / 1.127 GB, free: 14.58 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008596/1.192, allocations: 279.5 kB / 1.127 GB, free: 14.57 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001636/1.192, allocations: 31.08 kB / 1.127 GB, free: 14.57 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001267/1.193, allocations: 435.4 kB / 1.128 GB, free: 14.48 MB / 0.698 GB Notification: Performance of pre-optimization done (n=73): time 7.724e-06/1.193, allocations: 0 / 1.128 GB, free: 14.48 MB / 0.698 GB Notification: Performance of matching and sorting (n=73): time 0.005031/1.198, allocations: 1.089 MB / 1.129 GB, free: 14.28 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000139/1.198, allocations: 190.3 kB / 1.129 GB, free: 14.06 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001114/1.199, allocations: 0.5612 MB / 1.129 GB, free: 13.94 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002709/1.2, allocations: 39.7 kB / 1.129 GB, free: 13.91 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004309/1.2, allocations: 366.3 kB / 1.13 GB, free: 13.73 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003553/1.201, allocations: 237 kB / 1.13 GB, free: 13.58 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.765e-05/1.201, allocations: 14.03 kB / 1.13 GB, free: 13.58 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002134/1.201, allocations: 380.2 kB / 1.13 GB, free: 13.26 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008291/1.202, allocations: 239.9 kB / 1.131 GB, free: 13.26 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009074/1.203, allocations: 331 kB / 1.131 GB, free: 13.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008549/1.203, allocations: 283.2 kB / 1.131 GB, free: 13.19 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/1.204, allocations: 0 / 1.131 GB, free: 13.19 MB / 0.698 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.003052/1.207, allocations: 0.7849 MB / 1.132 GB, free: 13.08 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.159e-05/1.207, allocations: 5.156 kB / 1.132 GB, free: 13.08 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/1.207, allocations: 2.5 kB / 1.132 GB, free: 13.08 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009573/1.208, allocations: 82.67 kB / 1.132 GB, free: 13.07 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001404/1.209, allocations: 152.9 kB / 1.132 GB, free: 13.06 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003234/1.212, allocations: 1.52 MB / 1.134 GB, free: 11.75 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001414/1.214, allocations: 86.77 kB / 1.134 GB, free: 11.72 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001635/1.214, allocations: 35.03 kB / 1.134 GB, free: 11.72 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 (84): * Single equations (assignments): 83 * 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.0007735/1.215, allocations: 256.7 kB / 1.134 GB, free: 11.59 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002921/1.215, allocations: 79.77 kB / 1.134 GB, free: 11.55 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003975/1.219, allocations: 1.014 MB / 1.135 GB, free: 11.41 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-05/1.219, allocations: 8.25 kB / 1.135 GB, free: 11.41 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/1.219, allocations: 5.562 kB / 1.135 GB, free: 11.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.603e-05/1.219, allocations: 5.016 kB / 1.135 GB, free: 11.4 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005715/1.225, allocations: 1.865 MB / 1.137 GB, free: 11.03 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.334e-05/1.225, allocations: 3.953 kB / 1.137 GB, free: 11.02 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001234/1.226, allocations: 151.9 kB / 1.137 GB, free: 11.01 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008921/1.227, allocations: 81.78 kB / 1.137 GB, free: 11 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001823/1.227, allocations: 24.42 kB / 1.137 GB, free: 11 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003048/1.23, allocations: 1.54 MB / 1.139 GB, free: 9.699 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/1.23, allocations: 3.922 kB / 1.139 GB, free: 9.699 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003552/1.234, allocations: 0.9301 MB / 1.14 GB, free: 9.465 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008847/1.235, allocations: 265.6 kB / 1.14 GB, free: 9.277 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001973/1.235, allocations: 16.81 kB / 1.14 GB, free: 9.277 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001139/1.236, allocations: 69.62 kB / 1.14 GB, free: 9.258 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002228/1.237, allocations: 61 kB / 1.14 GB, free: 9.234 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001256/1.237, allocations: 31.42 kB / 1.14 GB, free: 9.23 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0008952/1.238, allocations: 412.4 kB / 1.14 GB, free: 9.074 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.523e-06/1.238, allocations: 0 / 1.14 GB, free: 9.074 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001574/1.239, allocations: 274.5 kB / 1.141 GB, free: 9.02 MB / 0.698 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 (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 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001918/1.241, allocations: 0.5539 MB / 1.141 GB, free: 8.777 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002936/1.244, allocations: 0.7662 MB / 1.142 GB, free: 8.547 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/1.244, allocations: 1.969 kB / 1.142 GB, free: 8.547 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001624/1.246, allocations: 494.6 kB / 1.142 GB, free: 8.367 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002445/1.248, allocations: 255.7 kB / 1.143 GB, free: 8.289 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007464/1.256, allocations: 2.046 MB / 1.145 GB, free: 7.16 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008742/1.257, allocations: 1 MB / 1.146 GB, free: 6.332 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001612/1.258, allocations: 254.9 kB / 1.146 GB, free: 6.207 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004287/1.259, allocations: 104.2 kB / 1.146 GB, free: 6.18 MB / 0.698 GB Notification: Performance of SimCode: time 1.142e-06/1.259, allocations: 0 / 1.146 GB, free: 6.18 MB / 0.698 GB Notification: Performance of Templates: time 0.04044/1.299, allocations: 12.5 MB / 1.158 GB, free: 15.91 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.makefile (rm -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & ./Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1)