Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.437/2.437, allocations: 251.1 MB / 266.7 MB, free: 11.64 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001424/0.001424, allocations: 185.7 kB / 326.3 MB, free: 2.867 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.447/2.447, allocations: 205.4 MB / 0.5772 GB, free: 20.79 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009602/0.0009602, allocations: 103.1 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004655/0.0004657, allocations: 12.62 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2068/0.2073, allocations: 106.3 MB / 0.8995 GB, free: 65.56 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength): time 0.004234/0.2116, allocations: 3.013 MB / 0.9024 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.004582/0.2163, allocations: 2.275 MB / 0.9047 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004586/0.2168, allocations: 11.94 kB / 0.9047 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001082/0.2169, allocations: 55.48 kB / 0.9047 GB, free: 60.18 MB / 0.6042 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1/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.1/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.1/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.1/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.2184, allocations: 319.2 kB / 0.905 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006607/0.2191, allocations: 235.6 kB / 0.9052 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.02082/0.2399, allocations: 6.778 MB / 0.9119 GB, free: 52.85 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009665/0.241, allocations: 324.7 kB / 0.9122 GB, free: 52.53 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.07408/0.3151, allocations: 33.21 MB / 0.9446 GB, free: 19.29 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005297/0.3157, allocations: 254.7 kB / 0.9449 GB, free: 19.04 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 8.349e-05/0.3158, allocations: 19.94 kB / 0.9449 GB, free: 19.02 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.966e-05/0.3159, allocations: 16 kB / 0.9449 GB, free: 19 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.825e-05/0.316, allocations: 99.5 kB / 0.945 GB, free: 18.9 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001438/0.3161, allocations: 141.3 kB / 0.9451 GB, free: 18.76 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0006709/0.3168, allocations: 0.5766 MB / 0.9457 GB, free: 18.18 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.3168, allocations: 0 / 0.9457 GB, free: 18.18 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.783e-06/0.3168, allocations: 0 / 0.9457 GB, free: 18.18 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.021e-05/0.3169, allocations: 0 / 0.9457 GB, free: 18.18 MB / 0.6042 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.002958/0.3198, allocations: 0.8535 MB / 0.9465 GB, free: 17.27 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.3199, allocations: 8.031 kB / 0.9465 GB, free: 17.27 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001775/0.3201, allocations: 76.09 kB / 0.9466 GB, free: 17.19 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008217/0.3209, allocations: 459.3 kB / 0.947 GB, free: 16.7 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004696/0.3214, allocations: 172.7 kB / 0.9472 GB, free: 16.51 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001226/0.3215, allocations: 63.94 kB / 0.9473 GB, free: 16.45 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002204/0.3238, allocations: 0.638 MB / 0.9479 GB, free: 15.79 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.79e-05/0.3238, allocations: 4 kB / 0.9479 GB, free: 15.79 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.441e-05/0.3239, allocations: 24 kB / 0.9479 GB, free: 15.76 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.732e-05/0.3239, allocations: 19.94 kB / 0.9479 GB, free: 15.74 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002958/0.3269, allocations: 0.515 MB / 0.9484 GB, free: 15.23 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003879/0.3308, allocations: 1.713 MB / 0.9501 GB, free: 13.45 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006833/0.3377, allocations: 0.9247 MB / 0.951 GB, free: 12.49 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001554/0.3393, allocations: 325 kB / 0.9513 GB, free: 12.16 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.91e-05/0.3394, allocations: 27.95 kB / 0.9513 GB, free: 12.13 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/0.3395, allocations: 42.56 kB / 0.9514 GB, free: 12.08 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=72): time 3.657e-06/0.3395, allocations: 3.938 kB / 0.9514 GB, free: 12.08 MB / 0.6042 GB Notification: Performance of matching and sorting (n=72): time 0.00445/0.3439, allocations: 0.8212 MB / 0.9522 GB, free: 11.25 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.375e-05/0.344, allocations: 144.5 kB / 0.9523 GB, free: 11.08 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000422/0.3445, allocations: 329.6 kB / 0.9526 GB, free: 10.75 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.879e-05/0.3445, allocations: 37.7 kB / 0.9527 GB, free: 10.71 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001401/0.3447, allocations: 237 kB / 0.9529 GB, free: 10.47 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002067/0.3449, allocations: 244.4 kB / 0.9531 GB, free: 10.23 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.525e-05/0.345, allocations: 12 kB / 0.9531 GB, free: 10.21 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.831e-05/0.3451, allocations: 350.8 kB / 0.9535 GB, free: 9.863 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001298/0.3464, allocations: 205.2 kB / 0.9537 GB, free: 9.66 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001352/0.3477, allocations: 269.8 kB / 0.9539 GB, free: 9.387 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001389/0.3492, allocations: 227.4 kB / 0.9541 GB, free: 9.168 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/0.3492, allocations: 0 / 0.9541 GB, free: 9.168 MB / 0.6042 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00302/0.3522, allocations: 0.6102 MB / 0.9547 GB, free: 8.555 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.587e-05/0.3523, allocations: 7.938 kB / 0.9548 GB, free: 8.547 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.3523, allocations: 0 / 0.9548 GB, free: 8.547 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.305e-05/0.3523, allocations: 4 kB / 0.9548 GB, free: 8.543 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001565/0.3539, allocations: 155.8 kB / 0.9549 GB, free: 8.391 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.103e-05/0.3539, allocations: 7.938 kB / 0.9549 GB, free: 8.383 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001009/0.355, allocations: 63.5 kB / 0.955 GB, free: 8.32 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.18e-05/0.355, allocations: 27.97 kB / 0.955 GB, free: 8.293 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003482/0.3554, allocations: 193.7 kB / 0.9552 GB, free: 8.094 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001854/0.3556, allocations: 51.34 kB / 0.9552 GB, free: 8.043 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004211/0.3598, allocations: 1 MB / 0.9562 GB, free: 7.043 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.886e-05/0.3599, allocations: 3.984 kB / 0.9562 GB, free: 7.039 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/0.3599, allocations: 0 / 0.9562 GB, free: 7.039 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003703/0.3603, allocations: 220 kB / 0.9564 GB, free: 6.805 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00012/0.3604, allocations: 23.94 kB / 0.9564 GB, free: 6.781 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001073/0.3615, allocations: 35.98 kB / 0.9565 GB, free: 6.746 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001366/0.3616, allocations: 75.78 kB / 0.9566 GB, free: 6.672 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00413/0.3658, allocations: 1.171 MB / 0.9577 GB, free: 5.492 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003359/0.3692, allocations: 1.201 MB / 0.9589 GB, free: 4.277 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001521/0.3707, allocations: 375.9 kB / 0.9592 GB, free: 3.91 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002926/0.3711, allocations: 235.2 kB / 0.9595 GB, free: 3.68 MB / 0.6042 GB Notification: Performance of Backend: time 1.032e-06/0.3711, allocations: 0 / 0.9595 GB, free: 3.68 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002338/0.3734, allocations: 427.6 kB / 0.9599 GB, free: 3.258 MB / 0.6042 GB Notification: Performance of SimCode: time 0.001894/0.3753, allocations: 1.586 MB / 0.9614 GB, free: 1.617 MB / 0.6042 GB Notification: Performance of Templates: time 0.01783/0.3932, allocations: 5.643 MB / 0.9669 GB, free: 12.02 MB / 0.6198 GB make -j1 -f Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.makefile (rm -f Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe ; mkfifo Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe >> ../files/Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.sim & ./Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe 2>&1)