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.006714/0.006714, allocations: 101.5 kB / 15.73 MB, free: 5.98 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.001173/0.001173, allocations: 190.5 kB / 16.67 MB, free: 5.918 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.455/1.455, allocations: 205.1 MB / 222.5 MB, free: 4.527 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.482/1.482, allocations: 251.7 MB / 0.5094 GB, free: 3.039 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.001404/0.001404, allocations: 63.91 kB / 0.7257 GB, free: 9.07 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2405/0.2419, allocations: 104.7 MB / 0.828 GB, free: 260 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength): time 0.004883/0.2469, allocations: 3.561 MB / 0.8315 GB, free: 12.67 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.004312/0.2512, allocations: 2.411 MB / 0.8338 GB, free: 10.25 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003778/0.2516, allocations: 15.94 kB / 0.8339 GB, free: 10.23 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001893/0.2518, allocations: 75 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.001531/0.2534, allocations: 401.1 kB / 0.8343 GB, free: 9.766 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005632/0.254, allocations: 335.5 kB / 0.8346 GB, free: 9.438 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.04148/0.2955, allocations: 7.965 MB / 0.8424 GB, free: 3.281 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008393/0.2963, allocations: 373.7 kB / 0.8428 GB, free: 2.906 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.2197/0.5161, allocations: 39.08 MB / 0.8809 GB, free: 11.98 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005523/0.5167, allocations: 350.4 kB / 0.8813 GB, free: 11.63 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0001025/0.5168, allocations: 72 kB / 0.8813 GB, free: 11.56 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001056/0.5169, allocations: 68 kB / 0.8814 GB, free: 11.5 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0001479/0.5171, allocations: 171.4 kB / 0.8816 GB, free: 11.33 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0003484/0.5174, allocations: 350.2 kB / 0.8819 GB, free: 10.98 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0008856/0.5183, allocations: 0.8289 MB / 0.8827 GB, free: 10.15 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 8.636e-06/0.5183, allocations: 7.984 kB / 0.8827 GB, free: 10.14 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.754e-06/0.5183, allocations: 0 / 0.8827 GB, free: 10.14 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.044e-05/0.5184, allocations: 4 kB / 0.8827 GB, free: 10.14 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.002013/0.5204, allocations: 0.9781 MB / 0.8837 GB, free: 9.109 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.5204, allocations: 8.031 kB / 0.8837 GB, free: 9.102 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001246/0.5206, allocations: 76 kB / 0.8838 GB, free: 9.027 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002937/0.5235, allocations: 471 kB / 0.8842 GB, free: 8.527 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003433/0.5239, allocations: 176.7 kB / 0.8844 GB, free: 8.332 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.076e-05/0.5239, allocations: 59.94 kB / 0.8844 GB, free: 8.273 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001333/0.5253, allocations: 0.6458 MB / 0.8851 GB, free: 7.605 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.767e-05/0.5253, allocations: 0 / 0.8851 GB, free: 7.605 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.439e-05/0.5254, allocations: 24 kB / 0.8851 GB, free: 7.582 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.288e-05/0.5254, allocations: 12 kB / 0.8851 GB, free: 7.57 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001592/0.527, allocations: 0.5147 MB / 0.8856 GB, free: 7.055 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002415/0.5294, allocations: 1.694 MB / 0.8872 GB, free: 5.297 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003654/0.5331, allocations: 0.9169 MB / 0.8881 GB, free: 4.344 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008314/0.5339, allocations: 319.3 kB / 0.8884 GB, free: 4.02 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 6.355e-05/0.534, allocations: 27.95 kB / 0.8885 GB, free: 3.992 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.19e-05/0.534, allocations: 46.5 kB / 0.8885 GB, free: 3.938 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=72): time 2.364e-06/0.534, allocations: 0 / 0.8885 GB, free: 3.938 MB / 0.7012 GB Notification: Performance of matching and sorting (n=72): time 0.003424/0.5375, allocations: 0.815 MB / 0.8893 GB, free: 3.117 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001002/0.5376, allocations: 144.4 kB / 0.8895 GB, free: 2.945 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000406/0.538, allocations: 333.7 kB / 0.8898 GB, free: 2.609 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 5.18e-05/0.5381, allocations: 41.64 kB / 0.8898 GB, free: 2.562 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001993/0.5383, allocations: 237 kB / 0.89 GB, free: 2.328 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002401/0.5385, allocations: 240.4 kB / 0.8903 GB, free: 2.09 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002173/0.5387, allocations: 114.3 kB / 0.8904 GB, free: 1.973 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0002413/0.539, allocations: 354.8 kB / 0.8907 GB, free: 1.617 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007613/0.5398, allocations: 201.2 kB / 0.8909 GB, free: 1.422 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007832/0.5406, allocations: 265.7 kB / 0.8912 GB, free: 1.148 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001532/0.5421, allocations: 495.1 kB / 0.8916 GB, free: 0.6523 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-06/0.5421, allocations: 3.938 kB / 0.8916 GB, free: 0.6484 MB / 0.7012 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00171/0.5438, allocations: 0.6024 MB / 0.8922 GB, free: 40 kB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.565e-05/0.5439, allocations: 7.938 kB / 0.8922 GB, free: 32 kB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.5439, allocations: 4 kB / 0.8922 GB, free: 28 kB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.339e-05/0.5439, allocations: 4 kB / 0.8922 GB, free: 24 kB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008198/0.5448, allocations: 143.8 kB / 0.8924 GB, free: 15.88 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.578e-05/0.5448, allocations: 7.938 kB / 0.8924 GB, free: 15.88 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005223/0.5453, allocations: 63.5 kB / 0.8924 GB, free: 15.81 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.844e-05/0.5454, allocations: 31.97 kB / 0.8925 GB, free: 15.78 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.0003375/0.5457, allocations: 185.7 kB / 0.8926 GB, free: 15.59 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000151/0.5459, allocations: 51.34 kB / 0.8927 GB, free: 15.54 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002471/0.5484, allocations: 0.9854 MB / 0.8937 GB, free: 14.55 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.451e-05/0.5484, allocations: 12 kB / 0.8937 GB, free: 14.54 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.278e-06/0.5484, allocations: 0 / 0.8937 GB, free: 14.54 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.981e-05/0.5484, allocations: 11.97 kB / 0.8937 GB, free: 14.53 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00108/0.5495, allocations: 0.7268 MB / 0.8944 GB, free: 13.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.5495, allocations: 0 / 0.8944 GB, free: 13.75 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008936/0.5504, allocations: 211.7 kB / 0.8946 GB, free: 13.54 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.885e-06/0.5504, allocations: 4 kB / 0.8946 GB, free: 13.54 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.872e-05/0.5505, allocations: 27.98 kB / 0.8946 GB, free: 13.51 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.462e-06/0.5505, allocations: 4 kB / 0.8946 GB, free: 13.51 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.5505, allocations: 0 / 0.8946 GB, free: 13.51 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002518/0.553, allocations: 1.138 MB / 0.8957 GB, free: 12.36 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002744/0.5533, allocations: 216 kB / 0.8959 GB, free: 12.12 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.233e-05/0.5534, allocations: 20 kB / 0.896 GB, free: 12.11 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005708/0.554, allocations: 35.97 kB / 0.896 GB, free: 12.07 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/0.5541, allocations: 63.91 kB / 0.8961 GB, free: 12.01 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.375e-05/0.5541, allocations: 39.98 kB / 0.8961 GB, free: 11.97 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002625/0.5544, allocations: 235.2 kB / 0.8963 GB, free: 11.74 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.5544, allocations: 0 / 0.8963 GB, free: 11.74 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0006159/0.555, allocations: 155.5 kB / 0.8965 GB, free: 11.59 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.0001876/0.5552, allocations: 127.1 kB / 0.8966 GB, free: 11.45 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001791/0.557, allocations: 0.6233 MB / 0.8972 GB, free: 10.83 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.5571, allocations: 0 / 0.8972 GB, free: 10.83 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0009376/0.558, allocations: 420.8 kB / 0.8976 GB, free: 10.42 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005805/0.5586, allocations: 56.48 kB / 0.8977 GB, free: 10.37 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002302/0.5609, allocations: 1.211 MB / 0.8988 GB, free: 9.121 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004942/0.5614, allocations: 0.9179 MB / 0.8997 GB, free: 8.172 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0004027/0.5618, allocations: 108.8 kB / 0.8998 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002143/0.562, allocations: 83.38 kB / 0.8999 GB, free: 7.984 MB / 0.7169 GB Notification: Performance of SimCode: time 3e-07/0.562, allocations: 3.938 kB / 0.8999 GB, free: 7.98 MB / 0.7169 GB Notification: Performance of Templates: time 0.00992/0.572, allocations: 5.342 MB / 0.9051 GB, free: 2.656 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)