Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.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.SolarAzimuth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.703/1.703, allocations: 292.3 MB / 308.1 MB, free: 4.258 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.001281/0.001281, allocations: 188.3 kB / 376.9 MB, free: 1.801 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.466/1.466, allocations: 205.1 MB / 0.6354 GB, free: 9.754 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.0009917/0.0009918, allocations: 98.44 kB / 0.748 GB, free: 61.41 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001093/0.001094, allocations: 59.91 kB / 0.8704 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2515/0.2526, allocations: 114.5 MB / 0.9822 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.006726/0.2594, allocations: 4.246 MB / 0.9864 GB, free: 6.121 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.619/0.8784, allocations: 148 MB / 1.131 GB, free: 7.066 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008257/0.8793, allocations: 21.34 kB / 1.131 GB, free: 7.059 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0005599/0.8799, allocations: 128.1 kB / 1.131 GB, free: 6.984 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.001332/0.8812, allocations: 369.2 kB / 1.131 GB, free: 6.781 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.00172/0.883, allocations: 0.7064 MB / 1.132 GB, free: 6.402 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.001013/0.884, allocations: 1.133 MB / 1.133 GB, free: 5.863 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007112/0.8847, allocations: 0.5887 MB / 1.134 GB, free: 5.543 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004493/0.8852, allocations: 399.7 kB / 1.134 GB, free: 5.367 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003832/0.8856, allocations: 428.7 kB / 1.135 GB, free: 5.156 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001023/0.8857, allocations: 52.47 kB / 1.135 GB, free: 5.156 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007676/0.8864, allocations: 354.7 kB / 1.135 GB, free: 5.062 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.000207/0.8867, allocations: 225.5 kB / 1.135 GB, free: 4.941 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0003042/0.887, allocations: 457.7 kB / 1.136 GB, free: 4.648 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.001206/0.8882, allocations: 1.373 MB / 1.137 GB, free: 4.082 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.8882, allocations: 0 / 1.137 GB, free: 4.082 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.62e-07/0.8882, allocations: 0 / 1.137 GB, free: 4.082 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.278e-05/0.8882, allocations: 0 / 1.137 GB, free: 4.082 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.002/0.8902, allocations: 1.354 MB / 1.138 GB, free: 3.156 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/0.8903, allocations: 9.344 kB / 1.138 GB, free: 3.156 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008538/0.8912, allocations: 176.3 kB / 1.138 GB, free: 3.102 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000893/0.8921, allocations: 0.7127 MB / 1.139 GB, free: 2.625 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.178e-05/0.8921, allocations: 65.91 kB / 1.139 GB, free: 2.598 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.901e-05/0.8922, allocations: 82.66 kB / 1.139 GB, free: 2.57 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001279/0.8935, allocations: 0.8737 MB / 1.14 GB, free: 2.164 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.019e-05/0.8936, allocations: 0.625 kB / 1.14 GB, free: 2.164 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.886e-05/0.8936, allocations: 37.28 kB / 1.14 GB, free: 2.137 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.554e-05/0.8937, allocations: 19.28 kB / 1.14 GB, free: 2.137 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001468/0.8951, allocations: 1.081 MB / 1.141 GB, free: 1.898 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003222/0.8984, allocations: 2.406 MB / 1.144 GB, free: 0.5469 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001715/0.9001, allocations: 0.8778 MB / 1.144 GB, free: 168 kB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004719/0.9006, allocations: 296.4 kB / 1.145 GB, free: 56 kB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.642e-05/0.9007, allocations: 36.48 kB / 1.145 GB, free: 40 kB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007777/0.9015, allocations: 451.8 kB / 1.145 GB, free: 15.84 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=76): time 2.325e-06/0.9015, allocations: 0 / 1.145 GB, free: 15.84 MB / 0.7605 GB Notification: Performance of matching and sorting (n=76): time 0.002912/0.9044, allocations: 1.13 MB / 1.146 GB, free: 15.38 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001048/0.9045, allocations: 190.4 kB / 1.146 GB, free: 15.16 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006479/0.9052, allocations: 0.584 MB / 1.147 GB, free: 14.9 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 5.397e-05/0.9052, allocations: 36.92 kB / 1.147 GB, free: 14.86 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002765/0.9055, allocations: 371.2 kB / 1.147 GB, free: 14.57 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002014/0.9057, allocations: 251.6 kB / 1.148 GB, free: 14.38 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002423/0.906, allocations: 162 kB / 1.148 GB, free: 14.3 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001785/0.9062, allocations: 382.6 kB / 1.148 GB, free: 13.96 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004833/0.9066, allocations: 249.7 kB / 1.148 GB, free: 13.88 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006014/0.9073, allocations: 342.5 kB / 1.149 GB, free: 13.73 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001027/0.9083, allocations: 0.5833 MB / 1.149 GB, free: 13.46 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.9083, allocations: 0 / 1.149 GB, free: 13.46 MB / 0.7605 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001852/0.9102, allocations: 0.8147 MB / 1.15 GB, free: 13.14 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.9102, allocations: 7.344 kB / 1.15 GB, free: 13.14 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.9102, allocations: 3.219 kB / 1.15 GB, free: 13.14 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005736/0.9108, allocations: 87.33 kB / 1.15 GB, free: 13.11 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005961/0.9114, allocations: 153.7 kB / 1.15 GB, free: 13.1 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002022/0.9134, allocations: 1.519 MB / 1.152 GB, free: 11.67 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006371/0.9141, allocations: 86.52 kB / 1.152 GB, free: 11.62 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.512e-05/0.9142, allocations: 35.97 kB / 1.152 GB, free: 11.62 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 (87): * Single equations (assignments): 86 * 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.0004127/0.9146, allocations: 257.8 kB / 1.152 GB, free: 11.42 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001414/0.9147, allocations: 76.41 kB / 1.152 GB, free: 11.38 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002281/0.917, allocations: 1.074 MB / 1.153 GB, free: 10.96 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.618e-06/0.917, allocations: 11 kB / 1.153 GB, free: 10.96 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.584e-06/0.917, allocations: 4.594 kB / 1.153 GB, free: 10.95 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.029e-05/0.9171, allocations: 6.719 kB / 1.153 GB, free: 10.95 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003053/0.9201, allocations: 1.931 MB / 1.155 GB, free: 10.04 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.9201, allocations: 4 kB / 1.155 GB, free: 10.03 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005482/0.9207, allocations: 159.8 kB / 1.155 GB, free: 10.02 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004869/0.9212, allocations: 88.08 kB / 1.155 GB, free: 9.992 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.516e-05/0.9213, allocations: 22.59 kB / 1.155 GB, free: 9.98 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002287/0.9236, allocations: 1.546 MB / 1.157 GB, free: 8.531 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.9236, allocations: 3.156 kB / 1.157 GB, free: 8.531 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003599/0.9272, allocations: 1.996 MB / 1.159 GB, free: 7.297 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004567/0.9277, allocations: 261.6 kB / 1.159 GB, free: 7.105 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001088/0.9278, allocations: 21.86 kB / 1.159 GB, free: 7.094 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005584/0.9284, allocations: 63.42 kB / 1.159 GB, free: 7.07 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001621/0.9285, allocations: 68.23 kB / 1.159 GB, free: 7.062 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.251e-05/0.9286, allocations: 36 kB / 1.159 GB, free: 7.055 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0005966/0.9292, allocations: 431.4 kB / 1.16 GB, free: 6.867 MB / 0.7605 GB Notification: Performance of sort global known variables: time 2.5e-07/0.9292, allocations: 0 / 1.16 GB, free: 6.867 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.00113/0.9304, allocations: 290.2 kB / 1.16 GB, free: 6.785 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 (93): * Single equations (assignments): 90 * 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.001556/0.9319, allocations: 0.5782 MB / 1.161 GB, free: 6.512 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.00161/0.9336, allocations: 0.7981 MB / 1.161 GB, free: 6.184 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.9336, allocations: 0 / 1.161 GB, free: 6.184 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0008589/0.9344, allocations: 0.5061 MB / 1.162 GB, free: 5.953 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001155/0.9356, allocations: 249.9 kB / 1.162 GB, free: 5.883 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004071/0.9397, allocations: 2.584 MB / 1.165 GB, free: 4.32 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005491/0.9403, allocations: 1.042 MB / 1.166 GB, free: 3.59 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0007941/0.9411, allocations: 260.9 kB / 1.166 GB, free: 3.531 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002416/0.9413, allocations: 110.8 kB / 1.166 GB, free: 3.508 MB / 0.7605 GB Notification: Performance of SimCode: time 3.9e-07/0.9413, allocations: 0 / 1.166 GB, free: 3.508 MB / 0.7605 GB Notification: Performance of Templates: time 0.02413/0.9655, allocations: 13.84 MB / 1.18 GB, free: 2.371 MB / 0.7605 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.makefile (rm -f Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & ./Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1)