Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.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.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.758/1.758, allocations: 287.5 MB / 302.6 MB, free: 8.246 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.001066/0.001066, allocations: 182.2 kB / 371.2 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.383/1.383, allocations: 205.4 MB / 0.6298 GB, free: 10.55 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.0009982/0.0009982, allocations: 95 kB / 0.7432 GB, free: 6.535 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003702/0.0003703, allocations: 11.41 kB / 0.8661 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1961/0.1965, allocations: 115.3 MB / 0.9787 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.003863/0.2004, allocations: 3.592 MB / 0.9822 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.5623/0.7627, allocations: 136.6 MB / 1.116 GB, free: 1.664 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004945/0.7633, allocations: 14.78 kB / 1.116 GB, free: 1.66 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0004678/0.7637, allocations: 124.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.001119/0.7649, allocations: 371.7 kB / 1.116 GB, free: 1.5 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001754/0.7666, allocations: 0.5919 MB / 1.117 GB, free: 1.441 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001181/0.7678, allocations: 1.055 MB / 1.118 GB, free: 1.262 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008233/0.7687, allocations: 0.5707 MB / 1.118 GB, free: 1.137 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005103/0.7692, allocations: 304.9 kB / 1.119 GB, free: 1.055 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004419/0.7696, allocations: 327.4 kB / 1.119 GB, free: 0.9648 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 8.776e-05/0.7697, allocations: 22.03 kB / 1.119 GB, free: 0.9648 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007789/0.7705, allocations: 268.7 kB / 1.119 GB, free: 0.9492 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002365/0.7707, allocations: 170.9 kB / 1.119 GB, free: 0.9062 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002098/0.771, allocations: 175.2 kB / 1.119 GB, free: 16.84 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001439/0.7724, allocations: 1.027 MB / 1.12 GB, free: 16.76 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.7724, allocations: 1.031 kB / 1.12 GB, free: 16.76 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.084e-06/0.7724, allocations: 0 / 1.12 GB, free: 16.76 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.628e-05/0.7725, allocations: 0 / 1.12 GB, free: 16.76 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: 202 * Number of variables: 202 Notification: Performance of Generate backend data structure: time 0.001911/0.7744, allocations: 1.116 MB / 1.122 GB, free: 16.05 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.7744, allocations: 11.22 kB / 1.122 GB, free: 16.05 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008192/0.7752, allocations: 191.3 kB / 1.122 GB, free: 15.98 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009791/0.7762, allocations: 0.7043 MB / 1.122 GB, free: 15.66 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.926e-05/0.7763, allocations: 59.41 kB / 1.122 GB, free: 15.66 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.233e-05/0.7764, allocations: 74.06 kB / 1.123 GB, free: 15.66 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001444/0.7779, allocations: 0.8704 MB / 1.123 GB, free: 15.5 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.108e-05/0.7779, allocations: 2.562 kB / 1.123 GB, free: 15.5 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.475e-05/0.778, allocations: 32.94 kB / 1.123 GB, free: 15.5 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.648e-05/0.778, allocations: 22.88 kB / 1.123 GB, free: 15.5 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001567/0.7796, allocations: 1.085 MB / 1.124 GB, free: 15.49 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003402/0.783, allocations: 2.427 MB / 1.127 GB, free: 14.66 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001196/0.7842, allocations: 0.7325 MB / 1.128 GB, free: 14.62 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004897/0.7847, allocations: 292.1 kB / 1.128 GB, free: 14.61 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.045e-05/0.7848, allocations: 30.47 kB / 1.128 GB, free: 14.61 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007418/0.7855, allocations: 445.9 kB / 1.128 GB, free: 14.53 MB / 0.698 GB Notification: Performance of pre-optimization done (n=76): time 2.514e-06/0.7855, allocations: 1.859 kB / 1.128 GB, free: 14.53 MB / 0.698 GB Notification: Performance of matching and sorting (n=76): time 0.002765/0.7883, allocations: 1.126 MB / 1.129 GB, free: 14.33 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.643e-05/0.7884, allocations: 188.5 kB / 1.13 GB, free: 14.11 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006613/0.7891, allocations: 0.5782 MB / 1.13 GB, free: 13.98 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.79e-05/0.7892, allocations: 41.42 kB / 1.13 GB, free: 13.95 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002509/0.7894, allocations: 371.7 kB / 1.131 GB, free: 13.76 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000179/0.7896, allocations: 256.5 kB / 1.131 GB, free: 13.6 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.477e-05/0.7897, allocations: 15.44 kB / 1.131 GB, free: 13.6 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.7898, allocations: 375.1 kB / 1.131 GB, free: 13.29 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004917/0.7903, allocations: 256.7 kB / 1.131 GB, free: 13.29 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005295/0.7908, allocations: 339.3 kB / 1.132 GB, free: 13.23 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009777/0.7918, allocations: 0.5899 MB / 1.132 GB, free: 13.18 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.7918, allocations: 0 / 1.132 GB, free: 13.18 MB / 0.698 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001827/0.7937, allocations: 0.8171 MB / 1.133 GB, free: 13.07 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/0.7937, allocations: 10.09 kB / 1.133 GB, free: 13.06 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.7937, allocations: 2.438 kB / 1.133 GB, free: 13.06 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005977/0.7943, allocations: 83.58 kB / 1.133 GB, free: 13.05 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006883/0.795, allocations: 161.5 kB / 1.133 GB, free: 13.04 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002043/0.7971, allocations: 1.53 MB / 1.135 GB, free: 11.73 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006807/0.7978, allocations: 89.27 kB / 1.135 GB, free: 11.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.19e-05/0.7979, allocations: 35.59 kB / 1.135 GB, free: 11.7 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 (89): * Single equations (assignments): 88 * 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.0004664/0.7983, allocations: 258.1 kB / 1.135 GB, free: 11.57 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001255/0.7985, allocations: 82.16 kB / 1.135 GB, free: 11.53 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002331/0.8008, allocations: 1.026 MB / 1.136 GB, free: 11.39 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.02e-05/0.8008, allocations: 11.98 kB / 1.136 GB, free: 11.39 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.8009, allocations: 4 kB / 1.136 GB, free: 11.39 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.337e-06/0.8009, allocations: 4.359 kB / 1.136 GB, free: 11.39 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003176/0.804, allocations: 1.883 MB / 1.138 GB, free: 11.01 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.8041, allocations: 0 / 1.138 GB, free: 11.01 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000618/0.8047, allocations: 148.1 kB / 1.138 GB, free: 11 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005134/0.8052, allocations: 86.61 kB / 1.138 GB, free: 10.99 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.293e-05/0.8053, allocations: 25.81 kB / 1.138 GB, free: 10.98 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001848/0.8071, allocations: 1.55 MB / 1.14 GB, free: 9.66 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.8072, allocations: 0 / 1.14 GB, free: 9.66 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00195/0.8091, allocations: 0.9332 MB / 1.141 GB, free: 9.348 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003565/0.8095, allocations: 271.5 kB / 1.141 GB, free: 9.156 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001065/0.8096, allocations: 16.91 kB / 1.141 GB, free: 9.156 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006092/0.8102, allocations: 69.09 kB / 1.141 GB, free: 9.137 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001295/0.8104, allocations: 57.83 kB / 1.141 GB, free: 9.117 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.791e-05/0.8104, allocations: 35.33 kB / 1.141 GB, free: 9.109 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005635/0.811, allocations: 425.9 kB / 1.142 GB, free: 8.961 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.9e-07/0.811, allocations: 1.062 kB / 1.142 GB, free: 8.961 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0008829/0.8119, allocations: 277.2 kB / 1.142 GB, free: 8.906 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.001212/0.8131, allocations: 0.554 MB / 1.142 GB, free: 8.672 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001608/0.8147, allocations: 0.7977 MB / 1.143 GB, free: 8.43 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.8148, allocations: 0 / 1.143 GB, free: 8.43 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008631/0.8156, allocations: 497.8 kB / 1.144 GB, free: 8.25 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001152/0.8168, allocations: 247.6 kB / 1.144 GB, free: 8.176 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003878/0.8207, allocations: 2.071 MB / 1.146 GB, free: 7.031 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005931/0.8213, allocations: 0.9989 MB / 1.147 GB, free: 6.215 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0008898/0.8222, allocations: 259.9 kB / 1.147 GB, free: 6.082 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002509/0.8224, allocations: 102.4 kB / 1.147 GB, free: 6.059 MB / 0.698 GB Notification: Performance of SimCode: time 2.61e-07/0.8224, allocations: 0 / 1.147 GB, free: 6.059 MB / 0.698 GB Notification: Performance of Templates: time 0.02438/0.8468, allocations: 12.77 MB / 1.16 GB, free: 15.66 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.makefile (rm -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & ./Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1)