Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01044/0.01044, allocations: 98.14 kB / 15.73 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0018/0.0018, allocations: 199.8 kB / 16.68 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.44/1.44, allocations: 205.1 MB / 222.5 MB, free: 4.504 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.502/1.502, allocations: 251.7 MB / 0.5094 GB, free: 3.109 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001742/0.001742, allocations: 63.91 kB / 0.7257 GB, free: 9.086 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2516/0.2533, allocations: 104.7 MB / 0.828 GB, free: 272 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength): time 0.005955/0.2593, allocations: 3.553 MB / 0.8315 GB, free: 12.69 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.004745/0.2641, allocations: 2.419 MB / 0.8338 GB, free: 10.26 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006952/0.2648, allocations: 15.94 kB / 0.8339 GB, free: 10.24 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0002798/0.2651, allocations: 79 kB / 0.8339 GB, free: 10.16 MB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:216:3-259:11:writable] Warning: Pure function 'Modelica.Utilities.Strings.find' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3-maint.7.0.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 7.0.3-maint.7.0.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 7.0.3-maint.7.0.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'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/BoundaryConditions/WeatherData/BaseClasses/getAbsolutePath.mo:2:1-50:20:writable] Warning: Pure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getAbsolutePath' contains a call to impure function 'Modelica.Utilities.Files.exist'. Notification: Performance of NFTyping.typeBindings: time 0.002072/0.2672, allocations: 401.2 kB / 0.8343 GB, free: 9.773 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007891/0.2681, allocations: 323.6 kB / 0.8346 GB, free: 9.457 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.06619/0.3343, allocations: 7.973 MB / 0.8424 GB, free: 3.281 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001192/0.3355, allocations: 373.7 kB / 0.8428 GB, free: 2.906 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.2746/0.6101, allocations: 39.12 MB / 0.881 GB, free: 11.93 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006578/0.6107, allocations: 346.4 kB / 0.8813 GB, free: 11.59 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.000244/0.611, allocations: 72 kB / 0.8814 GB, free: 11.52 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001919/0.6112, allocations: 68 kB / 0.8814 GB, free: 11.46 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0001682/0.6114, allocations: 171.4 kB / 0.8816 GB, free: 11.29 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0005087/0.6119, allocations: 350.2 kB / 0.8819 GB, free: 10.95 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.001782/0.6137, allocations: 0.8289 MB / 0.8827 GB, free: 10.11 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.6137, allocations: 7.984 kB / 0.8827 GB, free: 10.11 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.552e-06/0.6137, allocations: 0 / 0.8827 GB, free: 10.11 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 2.544e-05/0.6137, allocations: 4 kB / 0.8828 GB, free: 10.1 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 152 * Number of variables: 152 Notification: Performance of Generate backend data structure: time 0.002286/0.616, allocations: 0.9741 MB / 0.8837 GB, free: 9.078 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.6161, allocations: 8.031 kB / 0.8837 GB, free: 9.07 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001658/0.6163, allocations: 76 kB / 0.8838 GB, free: 8.996 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003339/0.6196, allocations: 483 kB / 0.8842 GB, free: 8.484 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003238/0.6199, allocations: 168.7 kB / 0.8844 GB, free: 8.297 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.324e-05/0.6201, allocations: 59.94 kB / 0.8845 GB, free: 8.238 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001569/0.6216, allocations: 0.6458 MB / 0.8851 GB, free: 7.57 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.967e-05/0.6217, allocations: 0 / 0.8851 GB, free: 7.57 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.401e-05/0.6217, allocations: 24 kB / 0.8851 GB, free: 7.547 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.565e-05/0.6218, allocations: 16 kB / 0.8851 GB, free: 7.531 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001659/0.6234, allocations: 0.5147 MB / 0.8856 GB, free: 7.016 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003026/0.6265, allocations: 1.686 MB / 0.8873 GB, free: 5.266 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003673/0.6301, allocations: 0.9208 MB / 0.8882 GB, free: 4.309 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008795/0.6311, allocations: 323.3 kB / 0.8885 GB, free: 3.98 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 7.08e-05/0.6311, allocations: 19.97 kB / 0.8885 GB, free: 3.961 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.507e-05/0.6312, allocations: 46.5 kB / 0.8886 GB, free: 3.906 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=72): time 2.745e-06/0.6312, allocations: 0 / 0.8886 GB, free: 3.906 MB / 0.7012 GB Notification: Performance of matching and sorting (n=72): time 0.00275/0.6339, allocations: 0.8148 MB / 0.8893 GB, free: 3.086 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.655e-05/0.634, allocations: 144.4 kB / 0.8895 GB, free: 2.914 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004471/0.6345, allocations: 337.7 kB / 0.8898 GB, free: 2.574 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 4.557e-05/0.6345, allocations: 37.7 kB / 0.8898 GB, free: 2.531 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001557/0.6347, allocations: 237 kB / 0.8901 GB, free: 2.297 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002015/0.6349, allocations: 244.4 kB / 0.8903 GB, free: 2.055 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001773/0.6351, allocations: 114.2 kB / 0.8904 GB, free: 1.938 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.000164/0.6353, allocations: 358.7 kB / 0.8908 GB, free: 1.578 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007077/0.636, allocations: 205.2 kB / 0.8909 GB, free: 1.379 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007604/0.6368, allocations: 261.8 kB / 0.8912 GB, free: 1.109 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001506/0.6383, allocations: 491.2 kB / 0.8917 GB, free: 0.6172 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.503e-06/0.6383, allocations: 3.938 kB / 0.8917 GB, free: 0.6133 MB / 0.7012 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001716/0.64, allocations: 0.6063 MB / 0.8923 GB, free: 0 / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.6401, allocations: 4.109 kB / 0.8923 GB, free: 15.99 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.6401, allocations: 3.938 kB / 0.8923 GB, free: 15.99 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.449e-05/0.6401, allocations: 4 kB / 0.8923 GB, free: 15.98 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008178/0.6409, allocations: 143.8 kB / 0.8924 GB, free: 15.84 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.769e-05/0.641, allocations: 8 kB / 0.8924 GB, free: 15.84 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005175/0.6415, allocations: 63.44 kB / 0.8925 GB, free: 15.77 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.48e-05/0.6415, allocations: 27.97 kB / 0.8925 GB, free: 15.75 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002607/0.6418, allocations: 189.7 kB / 0.8927 GB, free: 15.55 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001492/0.642, allocations: 51.34 kB / 0.8927 GB, free: 15.5 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002565/0.6445, allocations: 0.9854 MB / 0.8937 GB, free: 14.51 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-05/0.6446, allocations: 12 kB / 0.8937 GB, free: 14.5 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.019e-05/0.6446, allocations: 0 / 0.8937 GB, free: 14.5 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.715e-05/0.6446, allocations: 15.8 kB / 0.8937 GB, free: 14.49 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00108/0.6457, allocations: 0.7229 MB / 0.8944 GB, free: 13.71 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/0.6457, allocations: 0 / 0.8944 GB, free: 13.71 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009422/0.6467, allocations: 211.7 kB / 0.8946 GB, free: 13.51 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.541e-05/0.6467, allocations: 4 kB / 0.8946 GB, free: 13.5 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.233e-05/0.6468, allocations: 23.98 kB / 0.8947 GB, free: 13.48 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.943e-06/0.6468, allocations: 4 kB / 0.8947 GB, free: 13.48 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.6468, allocations: 4 kB / 0.8947 GB, free: 13.47 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002347/0.6491, allocations: 1.138 MB / 0.8958 GB, free: 12.32 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002726/0.6494, allocations: 216 kB / 0.896 GB, free: 12.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.123e-05/0.6495, allocations: 20 kB / 0.896 GB, free: 12.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005775/0.6501, allocations: 39.97 kB / 0.896 GB, free: 12.03 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/0.6502, allocations: 63.91 kB / 0.8961 GB, free: 11.97 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-05/0.6503, allocations: 35.98 kB / 0.8961 GB, free: 11.93 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002497/0.6505, allocations: 235.2 kB / 0.8964 GB, free: 11.7 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6505, allocations: 0 / 0.8964 GB, free: 11.7 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0006028/0.6511, allocations: 155.5 kB / 0.8965 GB, free: 11.55 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (112): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001685/0.6513, allocations: 135 kB / 0.8966 GB, free: 11.41 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00194/0.6533, allocations: 0.6194 MB / 0.8972 GB, free: 10.79 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.6533, allocations: 0 / 0.8972 GB, free: 10.79 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0009695/0.6542, allocations: 420.8 kB / 0.8976 GB, free: 10.38 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006404/0.6549, allocations: 57.3 kB / 0.8977 GB, free: 10.33 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002616/0.6575, allocations: 1.207 MB / 0.8989 GB, free: 9.086 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005694/0.6581, allocations: 0.9217 MB / 0.8998 GB, free: 8.133 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0004018/0.6585, allocations: 112.8 kB / 0.8999 GB, free: 8.023 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002255/0.6588, allocations: 83.38 kB / 0.9 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of SimCode: time 2.595e-06/0.6588, allocations: 0 / 0.9 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of Templates: time 0.01201/0.6708, allocations: 5.342 MB / 0.9052 GB, free: 2.617 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.makefile (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.sim & ./Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe 2>&1)