Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.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.Examples.ProjectedShadowLength,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.625/1.625, allocations: 292.3 MB / 308.1 MB, free: 4.234 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.001452/0.001452, allocations: 183.7 kB / 376.9 MB, free: 1.766 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.402/1.402, allocations: 205.1 MB / 0.6354 GB, free: 9.77 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.001185/0.001185, allocations: 100.7 kB / 0.748 GB, free: 61.27 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001149/0.001149, allocations: 55.92 kB / 0.8703 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2549/0.2561, allocations: 114.5 MB / 0.9822 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength): time 0.005587/0.2617, allocations: 3.585 MB / 0.9857 GB, free: 6.781 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.004467/0.2662, allocations: 2.426 MB / 0.9881 GB, free: 4.34 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006305/0.2669, allocations: 15.94 kB / 0.9881 GB, free: 4.324 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0002999/0.2672, allocations: 47.48 kB / 0.9881 GB, free: 4.277 MB / 0.7136 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‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.00157/0.2688, allocations: 338.5 kB / 0.9885 GB, free: 3.945 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006626/0.2695, allocations: 287.7 kB / 0.9887 GB, free: 3.664 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.001108/0.2706, allocations: 0.8238 MB / 0.9895 GB, free: 2.84 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005854/0.2712, allocations: 357.7 kB / 0.9899 GB, free: 2.48 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 1.32/1.591, allocations: 42.26 MB / 1.031 GB, free: 95.82 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005491/1.592, allocations: 332.1 kB / 1.031 GB, free: 95.8 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 7.978e-05/1.592, allocations: 32.47 kB / 1.031 GB, free: 95.8 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001776/1.592, allocations: 58.61 kB / 1.032 GB, free: 95.8 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001173/1.592, allocations: 127 kB / 1.032 GB, free: 95.77 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0003319/1.593, allocations: 316.8 kB / 1.032 GB, free: 95.67 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0007051/1.594, allocations: 0.785 MB / 1.033 GB, free: 95.57 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/1.594, allocations: 0 / 1.033 GB, free: 95.57 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.974e-06/1.594, allocations: 1.062 kB / 1.033 GB, free: 95.57 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.113e-05/1.594, allocations: 0 / 1.033 GB, free: 95.57 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: 152 * Number of variables: 152 Notification: Performance of Generate backend data structure: time 0.001596/1.595, allocations: 0.9427 MB / 1.034 GB, free: 95 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/1.595, allocations: 12.69 kB / 1.034 GB, free: 95 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001204/1.595, allocations: 71.03 kB / 1.034 GB, free: 94.96 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006068/1.596, allocations: 475.9 kB / 1.034 GB, free: 94.7 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.013e-05/1.596, allocations: 43.09 kB / 1.034 GB, free: 94.7 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.901e-05/1.596, allocations: 58.72 kB / 1.034 GB, free: 94.7 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001054/1.597, allocations: 0.5996 MB / 1.035 GB, free: 94.61 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/1.597, allocations: 3.906 kB / 1.035 GB, free: 94.61 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.759e-05/1.597, allocations: 26.28 kB / 1.035 GB, free: 94.61 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.224e-05/1.597, allocations: 13.78 kB / 1.035 GB, free: 94.61 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00105/1.598, allocations: 461.4 kB / 1.035 GB, free: 94.6 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002534/1.601, allocations: 1.702 MB / 1.037 GB, free: 93.98 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003053/1.604, allocations: 0.8486 MB / 1.038 GB, free: 93.88 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005223/1.604, allocations: 286.8 kB / 1.038 GB, free: 93.84 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003606/1.605, allocations: 435.6 kB / 1.039 GB, free: 93.36 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.673e-05/1.605, allocations: 43.62 kB / 1.039 GB, free: 93.32 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=72): time 3.086e-06/1.605, allocations: 0 / 1.039 GB, free: 93.32 MB / 0.7448 GB Notification: Performance of matching and sorting (n=72): time 0.001855/1.607, allocations: 0.7182 MB / 1.039 GB, free: 93.25 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.952e-05/1.607, allocations: 138.4 kB / 1.039 GB, free: 93.09 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003718/1.607, allocations: 337 kB / 1.04 GB, free: 92.98 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.565e-05/1.607, allocations: 36.02 kB / 1.04 GB, free: 92.95 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001331/1.607, allocations: 241.9 kB / 1.04 GB, free: 92.82 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001611/1.608, allocations: 242.1 kB / 1.04 GB, free: 92.66 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001623/1.608, allocations: 119.1 kB / 1.04 GB, free: 92.64 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.687e-05/1.608, allocations: 356.3 kB / 1.041 GB, free: 92.33 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003562/1.608, allocations: 165.4 kB / 1.041 GB, free: 92.32 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003923/1.609, allocations: 229.3 kB / 1.041 GB, free: 92.29 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008288/1.609, allocations: 435 kB / 1.041 GB, free: 92.25 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/1.609, allocations: 0 / 1.041 GB, free: 92.25 MB / 0.7448 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001099/1.611, allocations: 0.5316 MB / 1.042 GB, free: 92.18 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/1.611, allocations: 4.875 kB / 1.042 GB, free: 92.18 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/1.611, allocations: 3.656 kB / 1.042 GB, free: 92.18 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.181e-05/1.611, allocations: 7.375 kB / 1.042 GB, free: 92.18 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007127/1.611, allocations: 139.7 kB / 1.042 GB, free: 92.17 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.264e-05/1.611, allocations: 4.125 kB / 1.042 GB, free: 92.17 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003319/1.612, allocations: 45.33 kB / 1.042 GB, free: 92.15 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.568e-05/1.612, allocations: 25.11 kB / 1.042 GB, free: 92.15 MB / 0.7448 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.0002327/1.612, allocations: 193.1 kB / 1.042 GB, free: 92.03 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001494/1.612, allocations: 52.53 kB / 1.042 GB, free: 92 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002038/1.614, allocations: 0.9303 MB / 1.043 GB, free: 91.91 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.465e-05/1.614, allocations: 11.94 kB / 1.043 GB, free: 91.91 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.493e-06/1.614, allocations: 0 / 1.043 GB, free: 91.91 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.707e-05/1.614, allocations: 7.922 kB / 1.043 GB, free: 91.91 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001046/1.615, allocations: 0.7092 MB / 1.044 GB, free: 91.69 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/1.615, allocations: 5.766 kB / 1.044 GB, free: 91.69 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007434/1.616, allocations: 188.8 kB / 1.044 GB, free: 91.69 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.656e-06/1.616, allocations: 8.969 kB / 1.044 GB, free: 91.68 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.264e-05/1.616, allocations: 26.62 kB / 1.044 GB, free: 91.68 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.136e-05/1.616, allocations: 6.344 kB / 1.044 GB, free: 91.68 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/1.616, allocations: 0 / 1.044 GB, free: 91.68 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002207/1.618, allocations: 1.984 MB / 1.046 GB, free: 90.68 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000271/1.619, allocations: 215.7 kB / 1.046 GB, free: 90.54 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.969e-05/1.619, allocations: 22.48 kB / 1.046 GB, free: 90.54 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003929/1.619, allocations: 21.45 kB / 1.046 GB, free: 90.54 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001266/1.619, allocations: 69.48 kB / 1.047 GB, free: 90.54 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.55e-05/1.619, allocations: 32.53 kB / 1.047 GB, free: 90.54 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0003112/1.62, allocations: 242.5 kB / 1.047 GB, free: 90.45 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.2e-07/1.62, allocations: 0 / 1.047 GB, free: 90.45 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0008041/1.621, allocations: 161.4 kB / 1.047 GB, free: 90.42 MB / 0.7448 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.0002368/1.621, allocations: 132.4 kB / 1.047 GB, free: 90.33 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.00128/1.622, allocations: 0.5418 MB / 1.048 GB, free: 90.32 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/1.622, allocations: 0 / 1.048 GB, free: 90.32 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0007078/1.623, allocations: 389.1 kB / 1.048 GB, free: 90.3 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005863/1.623, allocations: 56.66 kB / 1.048 GB, free: 90.3 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003112/1.626, allocations: 2.013 MB / 1.05 GB, free: 89.26 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000491/1.627, allocations: 0.9355 MB / 1.051 GB, free: 88.55 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0004996/1.628, allocations: 117.9 kB / 1.051 GB, free: 88.52 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002087/1.628, allocations: 85.52 kB / 1.051 GB, free: 88.51 MB / 0.7448 GB Notification: Performance of SimCode: time 8.11e-07/1.628, allocations: 0 / 1.051 GB, free: 88.51 MB / 0.7448 GB Notification: Performance of Templates: time 0.01242/1.64, allocations: 5.162 MB / 1.056 GB, free: 88.13 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.makefile (rm -f Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.sim & ./Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe 2>&1)